{ "info": { "author": "Greenbone Networks GmbH", "author_email": "info@greenbone.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "![Greenbone Logo](https://www.greenbone.net/wp-content/uploads/gb_logo_resilience_horizontal.png)\n\n# Greenbone Vulnerability Management Python Library \n\n[![GitHub releases](https://img.shields.io/github/release-pre/greenbone/python-gvm.svg)](https://github.com/greenbone/python-gvm/releases)\n[![PyPI release](https://img.shields.io/pypi/v/gvm.svg)](https://pypi.org/project/python-gvm/)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/greenbone/python-gvm/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/greenbone/python-gvm/?branch=master)\n[![code test coverage](https://codecov.io/gh/greenbone/python-gvm/branch/master/graph/badge.svg)](https://codecov.io/gh/greenbone/python-gvm)\n[![CircleCI](https://circleci.com/gh/greenbone/python-gvm/tree/master.svg?style=svg)](https://circleci.com/gh/greenbone/python-gvm/tree/master)\n\nThe Greenbone Vulnerability Management Python API library (**python-gvm**) is a\ncollection of APIs that help with remote controlling a Greenbone Security\nManager (GSM) appliance and its underlying Greenbone Vulnerability Manager\n(GVM). The library essentially abstracts accessing the communication protocols\nGreenbone Management Protocol (GMP) and Open Scanner Protocol (OSP).\n\n## Table of Contents \n\n- [Documentation](#Documentation)\n- [Installation](#Installation)\n - [Requirements](#Requirements)\n - [Install using pip](#Install-using-pip)\n- [Example](#Example)\n- [Support](#Support)\n- [Maintainer](#Maintainer)\n- [Contributing](#Contributing)\n- [License](#License)\n\n## Documentation\n\nThe documentation for python-gvm can be found at\n[https://python-gvm.readthedocs.io/](https://python-gvm.readthedocs.io/en/latest/).\nPlease always take a look at the documentation for further details. This\n**README** just gives you a short overview.\n\n## Installation\n\n### Requirements\n\nPython 3.5 and later is supported.\n\n### Install using pip\n\nYou can install the latest stable release of python-gvm from the Python Package\nIndex using [pip](https://pip.pypa.io/):\n\n pip install --user python-gvm\n\n## Example\n\n```python3\nfrom gvm.connections import UnixSocketConnection\nfrom gvm.protocols.latest import Gmp\nfrom gvm.transforms import EtreeTransform\nfrom gvm.xml import pretty_print\n\nconnection = UnixSocketConnection()\ntransform = EtreeTransform()\ngmp = Gmp(connection, transform=transform)\n\n# Retrieve GMP version supported by the remote daemon\nversion = gmp.get_version()\n\n# Prints the XML in beautiful form\npretty_print(version)\n\n# Login\ngmp.authenticate('foo', 'bar')\n\n# Retrieve all tasks\ntasks = gmp.get_tasks()\n\n# Get names of tasks\ntask_names = tasks.xpath('task/name/text()')\npretty_print(task_names)\n```\n\n## Support\n\nFor any question on the usage of python-gvm please use the\n[Greenbone Community Portal](https://community.greenbone.net/c/gmp). If you\nfound a problem with the software, please\n[create an issue](https://github.com/greenbone/gvm-tools/issues)\non GitHub.\n\n## Maintainer\n\nThis project is maintained by [Greenbone Networks GmbH](https://www.greenbone.net/).\n\n## Contributing\n\nYour contributions are highly appreciated. Please\n[create a pull request](https://github.com/greenbone/python-gvm/pulls) on GitHub.\nFor bigger changes, please discuss it first in the\n[issues](https://github.com/greenbone/python-gvm/issues).\n\nFor development you should use [pipenv](https://pipenv.readthedocs.io/en/latest/)\nto keep you python packages separated in different environments. First install\npipenv via pip\n\n pip install --user pipenv\n\nAfterwards run\n\n pipenv install --dev\n\nin the checkout directory of python-gvm (the directory containing the Pipfile)\nto install all dependencies including the packages only required for\ndevelopment.\n\nPlease create your git commits from within the Python environment to apply our\n[git hooks](https://github.com/greenbone/autohooks).\n\n $ pipenv install --dev\n $ pipenv shell\n (python-gvm)$ git commit\n\n## License\n\nCopyright (C) 2017-2019 [Greenbone Networks GmbH](https://www.greenbone.net/)\n\nLicensed under the [GNU General Public License v3.0 or later](LICENSE).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/greenbone/python-gvm", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "python-gvm", "package_url": "https://pypi.org/project/python-gvm/", "platform": "", "project_url": "https://pypi.org/project/python-gvm/", "project_urls": { "Homepage": "https://github.com/greenbone/python-gvm" }, "release_url": "https://pypi.org/project/python-gvm/1.0.0/", "requires_dist": [ "paramiko", "lxml", "defusedxml" ], "requires_python": ">=3.5", "summary": "Library to communicate with remote servers over GMP or OSP", "version": "1.0.0" }, "last_serial": 5849323, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "7364def7e5d20a6ea0141e0e2cf14258", "sha256": "5bb4abd8f3b6affb388785f3cfa8860668333b893ab6715f09912b54025fa4a0" }, "downloads": -1, "filename": "python_gvm-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7364def7e5d20a6ea0141e0e2cf14258", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 297996, "upload_time": "2019-09-18T10:58:23", "url": "https://files.pythonhosted.org/packages/07/5c/f813dcbae89b9106cebb719fef8b3d81235c4b1b8a0b263a936947dbee0c/python_gvm-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3ead41c1d999c74edb6220bb923e87e3", "sha256": "c8062e78b91bf71ff57ee91e35ae033eb2b9bc32c29ea67453c67351926ffb89" }, "downloads": -1, "filename": "python-gvm-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3ead41c1d999c74edb6220bb923e87e3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 95325, "upload_time": "2019-09-18T10:58:26", "url": "https://files.pythonhosted.org/packages/1e/49/0d32e673c6cb2e92520605e9f99b253a6bc8a3aa0472b7211aea611e49ce/python-gvm-1.0.0.tar.gz" } ], "1.0.0b1": [ { "comment_text": "", "digests": { "md5": "334e980096c4cb232e1d2a9fc33ae1f4", "sha256": "aacbda01db4cf679a52deecb29d01668944287c2e746ce1be72d205068946187" }, "downloads": -1, "filename": "python_gvm-1.0.0b1-py3-none-any.whl", "has_sig": false, "md5_digest": "334e980096c4cb232e1d2a9fc33ae1f4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 80748, "upload_time": "2018-11-13T07:51:09", "url": "https://files.pythonhosted.org/packages/1c/9a/2704dd663535e64e2e9350999ae3867fb55609c33cb391af3a0d2a2e61c5/python_gvm-1.0.0b1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0e5c83d4abe55e3e70db9a7dc13e4734", "sha256": "699365e6f4f60c58be189ca1c9055812cb28f99b0cad016565aba6091df67991" }, "downloads": -1, "filename": "python-gvm-1.0.0b1.tar.gz", "has_sig": false, "md5_digest": "0e5c83d4abe55e3e70db9a7dc13e4734", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 39890, "upload_time": "2018-11-13T07:51:11", "url": "https://files.pythonhosted.org/packages/6a/ac/c45ececf124471a1a093126b6df49e969baf4e6a9a14d1ec43ec59337b67/python-gvm-1.0.0b1.tar.gz" } ], "1.0.0b2": [ { "comment_text": "", "digests": { "md5": "8f4fda6c202f05c45d18e1eca9392d40", "sha256": "ae461a880a1b859874a151341b7fb28c55ee16b18d6dcab081c1d52297725279" }, "downloads": -1, "filename": "python_gvm-1.0.0b2-py3-none-any.whl", "has_sig": false, "md5_digest": "8f4fda6c202f05c45d18e1eca9392d40", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 156449, "upload_time": "2018-12-04T11:28:51", "url": "https://files.pythonhosted.org/packages/26/3a/6c57b31ccfc1e0eaf4b41d9c8383592d303b3039f285e65ed4f37e84539d/python_gvm-1.0.0b2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d09140e449a7b049b438ff1f6f291acd", "sha256": "25520c8a83df1e83271ff7e01412e28f58e2d9d11e8e2b8ad8dd62f980d673a1" }, "downloads": -1, "filename": "python-gvm-1.0.0b2.tar.gz", "has_sig": false, "md5_digest": "d09140e449a7b049b438ff1f6f291acd", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 53304, "upload_time": "2018-12-04T11:28:54", "url": "https://files.pythonhosted.org/packages/da/cd/7744d06b967d5f0dd78ea02568d9b5807c92c5dcf548cda23dad7966a335/python-gvm-1.0.0b2.tar.gz" } ], "1.0.0b3": [ { "comment_text": "", "digests": { "md5": "2e867630799bc92aede75afbe5a6f0a3", "sha256": "4556c56e0caa94daae58c9a589204f5305877e4d916176d380604b4c2e74c478" }, "downloads": -1, "filename": "python_gvm-1.0.0b3-py3-none-any.whl", "has_sig": false, "md5_digest": "2e867630799bc92aede75afbe5a6f0a3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 297642, "upload_time": "2019-07-30T09:49:33", "url": "https://files.pythonhosted.org/packages/c9/be/b7cd62b012820da9ac4d26614c223c6a5d44f3f8092505d51d8e45919c57/python_gvm-1.0.0b3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "751a63e91589a8a4b1f4197663b73f23", "sha256": "07b339db7a2f61ec4e042e6de2e970aadb097447f80db2a360c52cd4c6eb5c11" }, "downloads": -1, "filename": "python-gvm-1.0.0b3.tar.gz", "has_sig": false, "md5_digest": "751a63e91589a8a4b1f4197663b73f23", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 95215, "upload_time": "2019-07-30T09:49:35", "url": "https://files.pythonhosted.org/packages/82/e3/96dd8026313fde77c715fe636953b3de517929775e75e6a93a5ebd85834f/python-gvm-1.0.0b3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7364def7e5d20a6ea0141e0e2cf14258", "sha256": "5bb4abd8f3b6affb388785f3cfa8860668333b893ab6715f09912b54025fa4a0" }, "downloads": -1, "filename": "python_gvm-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7364def7e5d20a6ea0141e0e2cf14258", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 297996, "upload_time": "2019-09-18T10:58:23", "url": "https://files.pythonhosted.org/packages/07/5c/f813dcbae89b9106cebb719fef8b3d81235c4b1b8a0b263a936947dbee0c/python_gvm-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3ead41c1d999c74edb6220bb923e87e3", "sha256": "c8062e78b91bf71ff57ee91e35ae033eb2b9bc32c29ea67453c67351926ffb89" }, "downloads": -1, "filename": "python-gvm-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3ead41c1d999c74edb6220bb923e87e3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 95325, "upload_time": "2019-09-18T10:58:26", "url": "https://files.pythonhosted.org/packages/1e/49/0d32e673c6cb2e92520605e9f99b253a6bc8a3aa0472b7211aea611e49ce/python-gvm-1.0.0.tar.gz" } ] }