yaql


Nameyaql JSON
Version 3.0.0 PyPI version JSON
download
home_pagehttp://yaql.readthedocs.io
SummaryYAQL - Yet Another Query Language
upload_time2024-03-14 17:26:29
maintainer
docs_urlNone
authorOpenStack
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            YAQL: Yet Another Query Language
================================

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
-----------------

* `Official Documentation <http://yaql.readthedocs.org>`_

* Project status, bugs, and blueprints are tracked on
  `Launchpad <https://launchpad.net/yaql>`_


License
-------

Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0




            

Raw data

            {
    "_id": null,
    "home_page": "http://yaql.readthedocs.io",
    "name": "yaql",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "OpenStack",
    "author_email": "openstack-discuss@lists.openstack.org",
    "download_url": "https://files.pythonhosted.org/packages/b5/f7/5c7c582fc5d11078391e227afc04e8463c88bfcdaad205e728a0a2741448/yaql-3.0.0.tar.gz",
    "platform": null,
    "description": "YAQL: Yet Another Query Language\n================================\n\nYAQL (Yet Another Query Language) is an embeddable and extensible query\nlanguage, that allows performing complex queries against arbitrary objects. It\nhas a vast and comprehensive standard library of frequently used querying\nfunctions and can be extend even further with user-specified functions. YAQL is\nwritten in python and is distributed via PyPI.\n\nQuickstart\n----------\nInstall the latest version of yaql:\n\n    pip install yaql>=1.0.0\n\nRun yaql REPL:\n\n    yaql\n\nLoad a json file:\n\n    yaql> @load my_file.json\n\nCheck it loaded to current context, i.e. `$`:\n\n    yaql> $\n\nRun some queries:\n\n    yaql> $.customers\n    ...\n    yaql> $.customers.orders\n    ...\n    yaql> $.customers.where($.age > 18)\n    ...\n    yaql> $.customers.groupBy($.sex)\n    ...\n    yaql> $.customers.where($.orders.len() >= 1 or name = \"John\")\n\nProject Resources\n-----------------\n\n* `Official Documentation <http://yaql.readthedocs.org>`_\n\n* Project status, bugs, and blueprints are tracked on\n  `Launchpad <https://launchpad.net/yaql>`_\n\n\nLicense\n-------\n\nApache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0\n\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "YAQL - Yet Another Query Language",
    "version": "3.0.0",
    "project_urls": {
        "Homepage": "http://yaql.readthedocs.io"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d14c55a6629d077ae297472312c0a4bcfbea42f99bb11be3c64eb38c77857701",
                "md5": "3c7c58dbe96ee8aae4cae938db0b0a3b",
                "sha256": "20f7c16485b31721e2c0ef75e990d613b72a2912d001dcc8e9a85d4934499122"
            },
            "downloads": -1,
            "filename": "yaql-3.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3c7c58dbe96ee8aae4cae938db0b0a3b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 125821,
            "upload_time": "2024-03-14T17:26:27",
            "upload_time_iso_8601": "2024-03-14T17:26:27.662766Z",
            "url": "https://files.pythonhosted.org/packages/d1/4c/55a6629d077ae297472312c0a4bcfbea42f99bb11be3c64eb38c77857701/yaql-3.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b5f75c7c582fc5d11078391e227afc04e8463c88bfcdaad205e728a0a2741448",
                "md5": "d24a4e8ee708fbbd10ae3c4eb790cff2",
                "sha256": "869149491b91d1b9cfd48ad183a808a4774272b73d285444fa374ed25962c233"
            },
            "downloads": -1,
            "filename": "yaql-3.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d24a4e8ee708fbbd10ae3c4eb790cff2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 127021,
            "upload_time": "2024-03-14T17:26:29",
            "upload_time_iso_8601": "2024-03-14T17:26:29.616836Z",
            "url": "https://files.pythonhosted.org/packages/b5/f7/5c7c582fc5d11078391e227afc04e8463c88bfcdaad205e728a0a2741448/yaql-3.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-14 17:26:29",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "yaql"
}
        
Elapsed time: 0.20036s