Skip to content

Commit 4d1fe95

Browse files
author
viralogic
committed
Initial commit
0 parents  commit 4d1fe95

36 files changed

+2286
-0
lines changed

Diff for: .gitignore

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
5+
# C extensions
6+
*.so
7+
8+
# Distribution / packaging
9+
.Python
10+
env/
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
lib/
17+
lib64/
18+
parts/
19+
sdist/
20+
var/
21+
*.egg-info/
22+
.installed.cfg
23+
*.egg
24+
25+
# PyInstaller
26+
# Usually these files are written by a python script from a template
27+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
28+
*.manifest
29+
*.spec
30+
31+
# Installer logs
32+
pip-log.txt
33+
pip-delete-this-directory.txt
34+
35+
# Unit test / coverage reports
36+
htmlcov/
37+
.tox/
38+
.coverage
39+
.cache
40+
nosetests.xml
41+
coverage.xml
42+
43+
# Translations
44+
*.mo
45+
*.pot
46+
47+
# Django stuff:
48+
*.log
49+
50+
# Sphinx documentation
51+
docs/_build/
52+
53+
# PyBuilder
54+
target/
55+
/.idea

Diff for: .travis.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
language: python
2+
python:
3+
- "2.7"
4+
# - "3.3"
5+
# - "3.4"
6+
# - "3.5"
7+
# - "3.6"
8+
9+
# command to install dependencies
10+
install:
11+
- "pip install -qq py-linq"
12+
- "pip install -qq meta"
13+
- "pip install -qq pytest"
14+
- "pip install -qq pytest-cov"
15+
- "pip install -qq flake8"
16+
- "pip install coveralls --quiet"
17+
- "pip install ."
18+
19+
# command to run tests
20+
script:
21+
- py.test -s --cov=py_querable --cov-report xml:/tmp/cov-py_queryable.xml --junitxml=/tmp/py_queryable.xml
22+
# - flake8 --version
23+
- flake8 --ignore E501 py_queryable tests
24+
25+
after_success:
26+
- coveralls

Diff for: AUTHORS.rst

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
=======
2+
Authors
3+
=======
4+
5+
`Bruce Fenske`_
6+
7+
.. _Bruce Fenske: https://github.com/viralogic

Diff for: CONTRIBUTING.rst

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Contributors
2+
============

Diff for: HISTORY.rst

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
=======
2+
History
3+
=======

Diff for: LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 viralogic
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

Diff for: MANIFEST.in

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include *.rst
2+
recursive-include py_queryable *.py

Diff for: README.rst

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.. image:: https://travis-ci.org/viralogic/py-queryable.svg?branch=master
2+
:target: https://travis-ci.org/viralogic/py-queryable
3+
4+
=============
5+
py-queryable
6+
=============
7+
8+
A py-linq extension module to query databases using LINQ like syntax
9+
10+
LINQ (Language Integrated Query) is a popular querying language available in .NET. This library ports the language so
11+
that developers can interact with databases using the same syntax. This library would be useful for Python developers
12+
with experience using the expressiveness and power of LINQ.

Diff for: py_queryable/__init__.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from .providers import *
2+
from .managers import ConnectionManager
3+
from .entity.model import Model
4+
from .entity.column_types import *
5+

0 commit comments

Comments
 (0)