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

Uploaded Source

Built Distribution

yaql-1.1.2-py2-none-any.whl (112.1 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for yaql-1.1.2.tar.gz
Algorithm Hash digest
SHA256 527a82ed03a08f7af079eed3311b64185c34f9605b945df41f849c2519a8ba60
MD5 c661e3a4b6bc207d65a056e31b320804
BLAKE2b-256 1b55efc6419c78dfbc2c62fd61e7199f7b1aba873203c6d87909a1a3ce947c81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yaql-1.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 7e7ddad30db1b9d4a2364c31a767153bfe1be7aa6d02064fcfe1c3b4105becc6
MD5 7a0d77fa7f29d66ff8b60ad0c66389e6
BLAKE2b-256 4b1c681b421595acf2d541d98baf3bac0a11afa267cc939b829a05d0909193f2

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