Yet another query language
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Stephen Finucane 18138d9f09 Update CI to use unversioned jobs template
As part of the migration of this project to the independent release
model, we failed to notice that the job template was still tied to a
specific release. We've now introduced a new unversioned job template,
'openstack-python3-jobs' [1], which was can and should use. Do this.

[1] https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/833286/

Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/833286/
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I6bed7c11b5060718ed20aef61bce8d248885a1ae
1 year ago
doc [community goal] Update contributor documentation 2 years ago
releasenotes Switch to newer openstackdocstheme and reno versions 3 years ago
yaql Switch to collections.abc.* 2 years ago
.coveragerc Change ignore-errors to ignore_errors 8 years ago
.gitignore Migrate from testr to stestr 2 years ago
.gitreview OpenDev Migration Patch 4 years ago
.mailmap Toxify project 9 years ago
.stestr.conf Migrate from testr to stestr 2 years ago
.zuul.yaml Update CI to use unversioned jobs template 1 year ago
CONTRIBUTING.rst [community goal] Update contributor documentation 2 years ago
HACKING.rst Update the documention for doc migration 6 years ago
LICENSE Toxify project 9 years ago
MANIFEST.in Drop MANIFEST.in - it's not needed by pbr 7 years ago
README.rst Fix readme Pygments package not found 5 years ago
babel.cfg Toxify project 9 years ago
requirements.txt Remove six 2 years ago
setup.cfg setup.cfg: Replace dashes by underscores 1 year ago
setup.py Cleanup py27 support 3 years ago
test-requirements.txt Migrate from testr to stestr 2 years ago
tox.ini Migrate from testr to stestr 2 years 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

License

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