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

Uploaded Source

Built Distribution

yaql-2.0.0-py3-none-any.whl (126.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yaql-2.0.0.tar.gz
  • Upload date:
  • Size: 126.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for yaql-2.0.0.tar.gz
Algorithm Hash digest
SHA256 b000a84b78a9c23b9952bf8c45f6e92e752797df27cea7f54c328a9f025147af
MD5 9771aaa6ef753f07f3e360a0dfab7bf9
BLAKE2b-256 f9002cc9f993b5a6a12c2baccfb110232de9a58f819a1cc2a8288f3dfb845dc4

See more details on using hashes here.

File details

Details for the file yaql-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: yaql-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 126.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for yaql-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3058d052190e542c7e6fe3d16c6912292825b56973712c7ebb733c527db15537
MD5 d0c45848ead77e7d0439eb12b5065942
BLAKE2b-256 aeb8d5c5e7b23276063a20a53e74800ebe86c6a5227c74fe2306325e32028b8e

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