A pythonic query language, with similar goals as LINQ had for C#
Project description
This package provides an implementation of a query language for Python. The query language is based on Python’s generator expression. A query in this language looks like this:
>>> from xotl.ql import these, parent >>> query = these(child ... for parent in this ... if parent.children & parent.age > 32 ... for child in parent.children ... if child.age < 6)
The resultant query is an object that “describes” at the syntactical level the query expression above.
Full documentation kept at Read the doc.
How to contribute
You may contribute as much as you like, and by any means you feel the project may be help. If is code what you may apport; just fork this project make changes and place a pull request.
What does xotl mean?
The word “xotl” is a Nahuatl word that means foundation, base. The xotl package comprises the foundation for building reliable systems: both frameworks, libraries and an object model that allows to build complex systems.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xotl.ql-0.7.0.tar.gz
.
File metadata
- Download URL: xotl.ql-0.7.0.tar.gz
- Upload date:
- Size: 187.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c75f08a0731164927f133265d96faec2511c3fb2091337acc20021b2fc4b084d |
|
MD5 | bb7d1fa32964ea5e4999843909d0758c |
|
BLAKE2b-256 | 7c0d2fa4035d3b006b45c707eedcb293f8b7cc0ee2d21dd8f88a9651e138f0d9 |
File details
Details for the file xotl.ql-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: xotl.ql-0.7.0-py3-none-any.whl
- Upload date:
- Size: 68.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 072b13b15449815d650997b1d23e8aac1b836888680228e8d1e988b25daf297b |
|
MD5 | 57926ab2defee2dc818db2bd51644c0a |
|
BLAKE2b-256 | c2914e0010eebbdf180087dbe912a4912f16cd28ae84fd52ea0ab10390799daa |