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.6.0.dev20180330.tar.gz
.
File metadata
- Download URL: xotl.ql-0.6.0.dev20180330.tar.gz
- Upload date:
- Size: 188.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16966318eb45645748ca8b5dee186f2b1c6abf9c239ae2a033350e8ade99c2ad |
|
MD5 | 2cc68ee5f3b5927204017bb2c6e63b8d |
|
BLAKE2b-256 | 5ad137b4ce0d86ae1eead44c6458ffdb77b17a7cdf821f09629fa4a303fc8c13 |
File details
Details for the file xotl.ql-0.6.0.dev20180330-py2-none-any.whl
.
File metadata
- Download URL: xotl.ql-0.6.0.dev20180330-py2-none-any.whl
- Upload date:
- Size: 73.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec0e23ece9f661879cda1429a3bf96dc0e8730383c2c01a9d6d716cbd1eb0a12 |
|
MD5 | c4576168591690525b306118b2e2ff37 |
|
BLAKE2b-256 | 803461d80e280894f70fb2955bf7c4ca5896970f93bdf3ad1c5f24ae7665ded8 |