Yet another query language
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dirk Mueller 0b006f0722 Replace assertItemsEqual with assertCountEqual 5 months ago
doc Switch to newer openstackdocstheme and reno versions 5 months ago
releasenotes Switch to newer openstackdocstheme and reno versions 5 months ago
yaql Replace assertItemsEqual with assertCountEqual 5 months ago
.coveragerc Change ignore-errors to ignore_errors 5 years ago
.gitignore Use reno for releasenotes 4 years ago
.gitreview OpenDev Migration Patch 1 year ago
.mailmap Toxify project 6 years ago
.testr.conf Toxify project 6 years ago
.zuul.yaml [ussuri][goal] Drop python 2.7 support and testing 1 year ago
CONTRIBUTING.rst Workflow documentation is now in infra-manual 6 years ago
HACKING.rst Update the documention for doc migration 3 years ago
LICENSE Toxify project 6 years ago
MANIFEST.in Drop MANIFEST.in - it's not needed by pbr 4 years ago
README.rst Fix readme Pygments package not found 2 years ago
babel.cfg Toxify project 6 years ago
requirements.txt Get rid of Babel dependency since it is not needed 3 years ago
setup.cfg Cleanup py27 support 7 months ago
setup.py Cleanup py27 support 7 months ago
test-requirements.txt Fix hacking min version to 3.0.1 6 months ago
tox.ini Merge "Update hacking for Python3" 7 months ago

README.rst

YAQL: Yet Another Query Language

YAQL (Yet Another Query Language) is an embeddable and extensible query language, that allows performing complex queries against arbitrary objects. It has a vast and comprehensive standard library of frequently used querying functions and can be extend even further with user-specified functions. YAQL is written in python and is distributed via PyPI.

Quickstart

Install the latest version of yaql:

pip install yaql>=1.0.0

Run yaql REPL:

yaql

Load a json file:

yaql> @load my_file.json

Check it loaded to current context, i.e. `$: yaql> $ Run some queries: yaql> $.customers ... yaql> $.customers.orders ... yaql> $.customers.where($.age > 18) ... yaql> $.customers.groupBy($.sex) ... yaql> $.customers.where($.orders.len() >= 1 or name = "John") Project Resources ----------------- * Official Documentation <http://yaql.readthedocs.org>_ * Project status, bugs, and blueprints are tracked on Launchpad <https://launchpad.net/yaql>`_

License

Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0