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.3.tar.gz (111.5 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.1.3-py2-none-any.whl (112.5 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for yaql-1.1.3.tar.gz
Algorithm Hash digest
SHA256 1134d9e9a8b61c97ac03f80d27fa60439397a6ff7aac3c3180c0a6908c05d209
MD5 a2cd4003bbf9c58b359fe33d5ee3e32a
BLAKE2b-256 7789cfee017cf4f2d6f5e7159bbf13fe4131c7dbf20d675b78c9928ae9aa9df8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for yaql-1.1.3-py2-none-any.whl
Algorithm Hash digest
SHA256 de6748ff75370180cdbe81ea586e4215de25cb13543899445decc7d47d8144af
MD5 ae34b73da2344b99d931327a6703ca00
BLAKE2b-256 c18f862af1c4eb385d9274b71c64e0c21d8a985332ae73f720f0b619175c0b76

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