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.1.0.tar.gz (67.8 kB view details)

Uploaded Source

Built Distribution

yaql-1.1.0-py2-none-any.whl (87.7 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for yaql-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9853fc8930e53dccf83ab7bb12ba10a7a593ab51a56bc19e3bfa7249b081568a
MD5 d99a0d1a26881bd90a8ea499e54aeb3e
BLAKE2b-256 02a42b12d3e56dfdbe0b2a6449f3a4987fa30b06432c11fd7a83044c29c48bde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yaql-1.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 15674ba6d161e9239109bc8a244ddb377497ac91d0b4b8e5989c2f6f5eb1b1dd
MD5 e06744213d67bf237d012bb833dcc7cb
BLAKE2b-256 a2cd982545037d011f1a98addaf7d358706400896a4a62d379e2abfd1322f9c8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page