{ "info": { "author": "Chris Boot", "author_email": "bootc@bootc.net", "bugtrack_url": null, "classifiers": [], "description": "pypuppetdbquery\n===============\n\n.. image:: https://travis-ci.org/bootc/pypuppetdbquery.svg?branch=master\n :target: https://travis-ci.org/bootc/pypuppetdbquery\n :alt: Build Statue\n.. image:: https://codecov.io/gh/bootc/pypuppetdbquery/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/bootc/pypuppetdbquery\n :alt: Code Coverage\n.. image:: https://readthedocs.org/projects/pypuppetdbquery/badge/?version=latest\n :target: http://pypuppetdbquery.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\nA port of `Erik Dal\u00e9n `__'s PuppetDB Query language\nto Python. This module is designed to be paired with\n`pypuppetdb `__ but does not depend on\nit directly.\n\nThis module is a Python implementation of the query language also implemented\nin `puppet-puppetdbquery `__ (in\nRuby) and `node-puppetdbquery\n`__ (in JavaScript/NodeJS).\n\nPlease see the `pypuppetdbquery documentation\n`__ courtesy of `Read the\nDocs `__ and `Sphinx\n`__.\n\nInstallation\n------------\n\nYou can install this package from source or from PyPi.\n\n.. code-block:: bash\n\n $ pip install pypuppetdbquery\n\n.. code-block:: bash\n\n $ git clone https://github.com/bootc/pypuppetdbquery\n $ python setup.py install\n\nIf you wish to hack on it clone the repository but after that run:\n\n.. code-block:: bash\n\n $ pip install -r requirements.txt\n $ pip install -r requirements-dev.txt\n\nThis will install all the runtime requirements of pypuppetdbquery and\nthe dependencies for the test suite and generation of documentation.\n\nUsage Example\n-------------\n\n.. code:: python\n\n import pypuppetdb\n import pypuppetdbquery\n\n pdb = pypuppetdb.connect()\n\n pdb_ast = pypuppetdbquery.parse(\n '(processorcount=4 or processorcount=8) and kernel=Linux')\n\n for node in pdb.nodes(query=pdb_ast):\n print(node)\n\nFor further examples, see the `Examples section\n`__ of the\n`pypuppetdbquery documentation\n`__.\n\nLicense\n-------\n\nThis project is licensed under the Apache License Version 2.0.\n\nCopyright \u00a9 2016 `Chris Boot `__.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bootc/pypuppetdbquery/", "keywords": null, "license": "Apache-2.0", "maintainer": null, "maintainer_email": null, "name": "pypuppetdbquery", "package_url": "https://pypi.org/project/pypuppetdbquery/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pypuppetdbquery/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bootc/pypuppetdbquery/" }, "release_url": "https://pypi.org/project/pypuppetdbquery/0.9.1/", "requires_dist": null, "requires_python": null, "summary": "A port of Erik Dal\u00e9n's PuppetDB Query language to Python", "version": "0.9.1" }, "last_serial": 2191106, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "7e050fc45b09c6ddbbc2cc2d0c483a14", "sha256": "fbd3a56e6c1aa0c355760393e37bfe72b9be5e50156350e9bc49d06f6ac92eae" }, "downloads": -1, "filename": "pypuppetdbquery-0.9.0.tar.gz", "has_sig": false, "md5_digest": "7e050fc45b09c6ddbbc2cc2d0c483a14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14877, "upload_time": "2016-06-24T22:36:44", "url": "https://files.pythonhosted.org/packages/e7/e3/fac18dd2aa77b5bb07b7d5a79f6f54786c2ceb92030c475ca7822ffc3ef5/pypuppetdbquery-0.9.0.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "e81a0436ee042f8b07faf397711a7660", "sha256": "8276e33e297763defb007aed630b1c1b93925a5cf4817a11a2383d9d31527310" }, "downloads": -1, "filename": "pypuppetdbquery-0.9.1.tar.gz", "has_sig": false, "md5_digest": "e81a0436ee042f8b07faf397711a7660", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18126, "upload_time": "2016-06-28T08:10:49", "url": "https://files.pythonhosted.org/packages/c3/96/eb6c1f9ae43fa6cef3ac1e0cf2d2a8ee50870cc625895219d18b39013f88/pypuppetdbquery-0.9.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e81a0436ee042f8b07faf397711a7660", "sha256": "8276e33e297763defb007aed630b1c1b93925a5cf4817a11a2383d9d31527310" }, "downloads": -1, "filename": "pypuppetdbquery-0.9.1.tar.gz", "has_sig": false, "md5_digest": "e81a0436ee042f8b07faf397711a7660", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18126, "upload_time": "2016-06-28T08:10:49", "url": "https://files.pythonhosted.org/packages/c3/96/eb6c1f9ae43fa6cef3ac1e0cf2d2a8ee50870cc625895219d18b39013f88/pypuppetdbquery-0.9.1.tar.gz" } ] }