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.3.0rc1.tar.gz (10.8 MB view details)

Uploaded Source

File details

Details for the file xotl.ql-0.3.0rc1.tar.gz.

File metadata

  • Download URL: xotl.ql-0.3.0rc1.tar.gz
  • Upload date:
  • Size: 10.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xotl.ql-0.3.0rc1.tar.gz
Algorithm Hash digest
SHA256 daab7277e431d5033c6fedfe23c258b5ae54d79c9e7b31e837bbd11cd27e11df
MD5 51929ff8f185997324338e2aecc7562e
BLAKE2b-256 9a3f4097b33f842030747fcce3f6e0206a587989d2ab924a745918aaf76fa950

See more details on using hashes here.

Supported by

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