Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xotl.ql-0.6.0.dev20180330.tar.gz (188.0 kB view details)

Uploaded Source

Built Distribution

xotl.ql-0.6.0.dev20180330-py2-none-any.whl (73.3 kB view details)

Uploaded Python 2

File details

Details for the file xotl.ql-0.6.0.dev20180330.tar.gz.

File metadata

File hashes

Hashes for xotl.ql-0.6.0.dev20180330.tar.gz
Algorithm Hash digest
SHA256 16966318eb45645748ca8b5dee186f2b1c6abf9c239ae2a033350e8ade99c2ad
MD5 2cc68ee5f3b5927204017bb2c6e63b8d
BLAKE2b-256 5ad137b4ce0d86ae1eead44c6458ffdb77b17a7cdf821f09629fa4a303fc8c13

See more details on using hashes here.

File details

Details for the file xotl.ql-0.6.0.dev20180330-py2-none-any.whl.

File metadata

File hashes

Hashes for xotl.ql-0.6.0.dev20180330-py2-none-any.whl
Algorithm Hash digest
SHA256 ec0e23ece9f661879cda1429a3bf96dc0e8730383c2c01a9d6d716cbd1eb0a12
MD5 c4576168591690525b306118b2e2ff37
BLAKE2b-256 803461d80e280894f70fb2955bf7c4ca5896970f93bdf3ad1c5f24ae7665ded8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page