Skip to main content

YAQL - Yet Another Query Language

Project description

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

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

yaql-1.0.3.tar.gz (54.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yaql-1.0.3-py2-none-any.whl (73.5 kB view details)

Uploaded Python 2

File details

Details for the file yaql-1.0.3.tar.gz.

File metadata

  • Download URL: yaql-1.0.3.tar.gz
  • Upload date:
  • Size: 54.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yaql-1.0.3.tar.gz
Algorithm Hash digest
SHA256 524724c3ef4ac443a043603fa4d72b2745f1ab8e3aaf907243ee56ec23ae8abf
MD5 6339747274c08ed742f6a2cf2aafa4ed
BLAKE2b-256 5e5e5612a6a9b29a9e73d781ac8b9fff8883653884084c4b656bf64001907770

See more details on using hashes here.

File details

Details for the file yaql-1.0.3-py2-none-any.whl.

File metadata

  • Download URL: yaql-1.0.3-py2-none-any.whl
  • Upload date:
  • Size: 73.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yaql-1.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 b97dbfc6f60fca5aa7ea494cb0f376c876b7b1f2ee38e2c1c6f901411e1eab69
MD5 a2c623a96d7f897aca0dbf41441ca0c3
BLAKE2b-256 94b6fc7739a5e5f1c72a44821321245e7cfabfb1390c4826c0a5e0c950caa2b4

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