rtpy
Python wrapper for the JFrog Artifactory REST API
Documentation
Installation
$ pip install rtpy
Usage
import rtpy
# instantiate a rtpy.Rtpy object
settings = {}
settings["af_url"] = "http://..."
settings["api_key"] = "123QWA..."
# settings["username"] = "my_username"
# settings["password"] = "my_password"
af = rtpy.Rtpy(settings)
# use a method
r = af.system_and_configuration.system_health_ping()
print(r)
# OK
Running the tests
Requirements :
- Dependencies : see [tool.poetry.dependencies] and [tool.poetry.dev-dependencies] in pyproject.toml
- Artifactory instance (with a valid license) running
NEVER run the tests on a production instance!
Launch
- Set the following environment variables:
- AF_TEST_URL
- AF_TEST_USERNAME
- AF_TEST_PASSWORD
The user must have admin privileges (it's API key will be revoked during the tests)
- Clone the repository and launch the tests using the command :
$ python -m pytest -v
Metadata
Release files for rtpy 1.4.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rtpy-1.4.9.tar.gz | 20.1 kB | Without provenance | Details for rtpy-1.4.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rtpy-1.4.9-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for rtpy-1.4.9-py2.py3-none-any.whl |
Total release size: 45.2 kB
Release files / rtpy-1.4.9.tar.gz
| Download URL | rtpy-1.4.9.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ff0094ad804c963c4ea56e3ead1c1ac7ed210525336c78e6dfc3456e46c1f1b
|
|
BLAKE2b-256 checksum How to use checksums |
77f52fa8d044cea1026f2020c78262b129d133b439ea170793c8fd1ca535a472
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.3 Linux/5.7.6-arch1-1
|
Release files / rtpy-1.4.9-py2.py3-none-any.whl
| Download URL | rtpy-1.4.9-py2.py3-none-any.whl |
|---|---|
| Size | 25.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a5e6f2e527c6d83604fe47c228c8c5b3b2f51deb51ff6a67fcd7b85b35b1d88f
|
|
BLAKE2b-256 checksum How to use checksums |
b1c1e11487bdee842837d36836d92380c928a9904f1c9f0ef35611f0021ab34d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.3 Linux/5.7.6-arch1-1
|
Security for rtpy 1.4.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.