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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nrp_cmd-1.0.0.tar.gz | 132.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nrp_cmd-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 296.2 kB
Release files / nrp_cmd-1.0.0.tar.gz
| Download URL | nrp_cmd-1.0.0.tar.gz |
|---|---|
| Size | 132.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
862548dca4eb77aef86ad9e4f0fc20cd7ea6e917897083d0af039afd4173803f
|
|
BLAKE2b-256 checksum How to use checksums |
24b929ed062eac4569473d83bdbcc729f568ae5d1e8daf530f40610a4a7676ca
|
| 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.0-py3-none-any.whl
| Download URL | nrp_cmd-1.0.0-py3-none-any.whl |
|---|---|
| Size | 164.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b459cc062daf7e42b834f24c251b809f6f5599d93a981780b279546f713463e
|
|
BLAKE2b-256 checksum How to use checksums |
46db48756c978271291c2c97b516c8092a593d790142fb6070fd3b335f1596ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|