{ "info": { "author": "Guillaume Renault", "author_email": "me@grenault.org", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# rtpy\n\n[![image](https://img.shields.io/pypi/v/rtpy.svg)](https://pypi.org/project/rtpy/)\n[![image](https://img.shields.io/pypi/pyversions/rtpy.svg)](https://pypi.org/project/rtpy/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n[![Documentation Status](https://readthedocs.org/projects/rtpy/badge/?version=latest)](https://rtpy.readthedocs.io/en/latest/?badge=latest)\n[![image](https://img.shields.io/pypi/l/rtpy.svg)](https://pypi.org/project/rtpy/)\n\nPython wrapper for the **[JFrog Artifactory REST API](https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API)**\n
\n
\n\n## Documentation\n\n**[https://rtpy.rtfd.io](https://rtpy.rtfd.io)**\n\n
\n\n## Installation\n\n```shell\n$ pip install rtpy\n```\n
\n\n## Usage\n\n```python\nimport rtpy\n\n# instantiate a rtpy.Rtpy object\nsettings = {}\nsettings[\"af_url\"] = \"http://...\"\nsettings[\"api_key\"] = \"123QWA...\"\n# settings[\"username\"] = \"my_username\"\n# settings[\"password\"] = \"my_password\"\n\naf = rtpy.Rtpy(settings)\n\n# use a method\nr = af.system_and_configuration.system_health_ping()\nprint(r)\n# OK\n```\n
\n\n## Running the tests\n\n### Requirements :\n\n- Dependencies : see [tool.poetry.dependencies] and [tool.poetry.dev-dependencies] in [pyproject.toml](./pyproject.toml)\n- Artifactory instance (with a valid license) running\n\n**NEVER run the tests on a production instance!**\n\n\n### Launch\n\n- Set the following environment variables:\n - AF_TEST_URL\n - AF_TEST_USERNAME\n - AF_TEST_PASSWORD\n\nThe user must have admin privileges (it's API key will be revoked during the tests)\n- Clone the repository and launch the tests using the command :\n\n```shell\n$ python -m pytest -v\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/Orange-OpenSource/rtpy", "keywords": "artifactory,rest,api,wrapper", "license": "Apache-2.0", "maintainer": "Guillaume Renault", "maintainer_email": "me@grenault.org", "name": "rtpy", "package_url": "https://pypi.org/project/rtpy/", "platform": "", "project_url": "https://pypi.org/project/rtpy/", "project_urls": { "Homepage": "https://github.com/Orange-OpenSource/rtpy" }, "release_url": "https://pypi.org/project/rtpy/1.4.8/", "requires_dist": [ "requests (>=2.18.4,<3.0.0)" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "summary": "Python wrapper for the JFrog Artifactory REST API.", "version": "1.4.8" }, "last_serial": 4802965, "releases": { "1.4.8": [ { "comment_text": "", "digests": { "md5": "ffb360c917940b5bf903c933db4e6865", "sha256": "dad5c6d58e8e23ebc602f5ae77aa71f24d6994e4b9e55db4c80c9c69367df671" }, "downloads": -1, "filename": "rtpy-1.4.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ffb360c917940b5bf903c933db4e6865", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 100724, "upload_time": "2019-02-10T18:33:49", "url": "https://files.pythonhosted.org/packages/01/9e/ee96d1aec3c70ebb2114414fa92cfd08e48b088ba32dfb9b9b439cba87dd/rtpy-1.4.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8b92b39bf97b0c90a930a66b6520ef1", "sha256": "8102be084746916a7b36d8a0e145b6d99e4a261e1c99e308251348ae6b1b41d4" }, "downloads": -1, "filename": "rtpy-1.4.8.tar.gz", "has_sig": false, "md5_digest": "e8b92b39bf97b0c90a930a66b6520ef1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 20275, "upload_time": "2019-02-10T18:33:52", "url": "https://files.pythonhosted.org/packages/f9/10/a9e33b0cfc9942df4794731a9ede8623f1c25e40cb75e1e3665daf1cf1eb/rtpy-1.4.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ffb360c917940b5bf903c933db4e6865", "sha256": "dad5c6d58e8e23ebc602f5ae77aa71f24d6994e4b9e55db4c80c9c69367df671" }, "downloads": -1, "filename": "rtpy-1.4.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ffb360c917940b5bf903c933db4e6865", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 100724, "upload_time": "2019-02-10T18:33:49", "url": "https://files.pythonhosted.org/packages/01/9e/ee96d1aec3c70ebb2114414fa92cfd08e48b088ba32dfb9b9b439cba87dd/rtpy-1.4.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8b92b39bf97b0c90a930a66b6520ef1", "sha256": "8102be084746916a7b36d8a0e145b6d99e4a261e1c99e308251348ae6b1b41d4" }, "downloads": -1, "filename": "rtpy-1.4.8.tar.gz", "has_sig": false, "md5_digest": "e8b92b39bf97b0c90a930a66b6520ef1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 20275, "upload_time": "2019-02-10T18:33:52", "url": "https://files.pythonhosted.org/packages/f9/10/a9e33b0cfc9942df4794731a9ede8623f1c25e40cb75e1e3665daf1cf1eb/rtpy-1.4.8.tar.gz" } ] }