Python and commandline client for NRP repositories
Note: At this time, only the Invenio repositories are supported. The client uses a pluggable architecture to support other repository types.
Installation
uv venv --python=python3.12 nrp-cmd-venv
source nrp-cmd-venv/bin/activate
uv pip install nrp-cmd
Your system needs to have the libmagic library installed, check out the pypi page for installation instructions depending on your platform.
Usage
nrp-cmd create record '{"title": "abc"}' --set r
nrp-cmd upload file @r ~/Downloads/ubuntu-24.04-desktop-amd64.iso
nrp-cmd list records "metadata.title:abc"
nrp-cmd get record @r
nrp-cmd delete record @r
For more details, check out the User guide.
Metadata
Release files for nrp-cmd 1.0.1
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 |
|---|---|---|---|---|
| nrp_cmd-1.0.1.tar.gz | 132.1 kB | Without provenance | Details for nrp_cmd-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nrp_cmd-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for nrp_cmd-1.0.1-py3-none-any.whl |
Total release size: 296.3 kB
Release files / nrp_cmd-1.0.1.tar.gz
| Download URL | nrp_cmd-1.0.1.tar.gz |
|---|---|
| Size | 132.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99f2f24dce8dd2dd47fcb6b96fc073d25654581b8e3656444b9cca028e35234a
|
|
BLAKE2b-256 checksum How to use checksums |
6db8ef6dd1fb2172ae2ca7943ea24f3612d60b17cfec07aa521b74bb6db0a6ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / nrp_cmd-1.0.1-py3-none-any.whl
| Download URL | nrp_cmd-1.0.1-py3-none-any.whl |
|---|---|
| Size | 164.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ec437a4d939e2171cecba4e5ea817e5e0d30fbe266bbb4188cbc1342c464ca7
|
|
BLAKE2b-256 checksum How to use checksums |
aacc57a7575e8b13cfa0586b0aedcac147ebe76cda738b7420376484ea2d557c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for nrp-cmd 1.0.1
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.