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

Uploaded Source

Built Distribution

yaql-2.0.1-py3-none-any.whl (126.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yaql-2.0.1.tar.gz
  • Upload date:
  • Size: 127.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for yaql-2.0.1.tar.gz
Algorithm Hash digest
SHA256 797526366aed91765c988c074107d6d9937be832ca0b1687d3512116b58d75c5
MD5 f7c49f884a4ab6aeb9deaee64d0d177c
BLAKE2b-256 027adfbd795346c950f0bcbb20e615875c01458f81e679d2425eb761600154fd

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: yaql-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 126.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for yaql-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b32daaf0617476a2ddb7636545f69fe263ded112e6360a7faa1f4b4b0ced98f4
MD5 3e231897d339bcf3b10f03d3d669612f
BLAKE2b-256 a61d001adc16247b0cafd7687f4ff2f8eb9365c17690d9b179d13404271b0e50

See more details on using hashes here.

Provenance

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