Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

History Node

0.6.0

History Node

0.6.0.dev20180330

History Node

0.5.0

History Node

0.3.0rc1

This version
History Node

0.2.1dev

History Node

0.1.8

History Node

0.1.7

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
xotl.ql-0.2.1dev.tar.gz (325.0 kB) Copy SHA256 hash SHA256 Source None Apr 8, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page