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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nrp_cmd-0.9.0.tar.gz
(131.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
nrp_cmd-0.9.0-py3-none-any.whl
(163.3 kB
view details)
File details
Details for the file nrp_cmd-0.9.0.tar.gz.
File metadata
- Download URL: nrp_cmd-0.9.0.tar.gz
- Upload date:
- Size: 131.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0a98127e7b138577f394efc290ed5698fc7cd094b2451c574815aa7e16e8e0e
|
|
| MD5 |
e339094b9763c41808d99e7976854ad9
|
|
| BLAKE2b-256 |
7a3069df42872567899c0cc8f224103cd9225bb1b4326d955b676fce6f8b5c9e
|
File details
Details for the file nrp_cmd-0.9.0-py3-none-any.whl.
File metadata
- Download URL: nrp_cmd-0.9.0-py3-none-any.whl
- Upload date:
- Size: 163.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ed890c8557d727badfafb40e2e500d11a6ee843065ad7bbb26f92ab01ec0110
|
|
| MD5 |
99cbfb8dba3cc58c2e29eb380c1869c6
|
|
| BLAKE2b-256 |
b61bdda33ddbe721c2da45a9efae883496f83f119ae6ce78a70fcfa45282c8db
|