Skip to content
A query language for Python that uses comprehensions as its fundamental syntax
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
tests
xotl
.gitignore
.gitlab-ci.yml
.travis.yml
BUGS.rst
CONTRIBUTORS
LICENSE
MANIFEST.in
README.rst
setup.cfg
setup.py
tox.ini

README.rst

The pythonic query language

This package provides a library for implementing query languages for Python. The syntax is based on Python's generator expression. A query in this language looks like this:

>>> from xotl.ql.core import this, get_query_object

>>> query = get_query_object(
...    child
...    for parent in this
...    if parent.children and 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 helped. If is code what you may apport; just fork this project make changes and place a pull request.

Repository and tags

All development is first integrated in the develop branch develop-status. The master branch master-status holds the last stable version. Topic branches are suggested and merged to the develop.

When a develop cycle ends we tag the develop branch with a simple 'x.y.z' version for the release of the cycle. The tag in the master has prefix 'v'.

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.

You can’t perform that action at this time.