Python and commandline client for NRP repositories
Project description
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
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
Project details
Release history Release notifications | RSS feed
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.7.1.tar.gz
(100.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.7.1-py3-none-any.whl
(159.9 kB
view details)
File details
Details for the file nrp_cmd-0.7.1.tar.gz.
File metadata
- Download URL: nrp_cmd-0.7.1.tar.gz
- Upload date:
- Size: 100.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa45c18ca711b3478fee5fe226fe5f9f167d78a114a2763926e808ed560771f2
|
|
| MD5 |
b1d75080b929abf2be57eea08b75091d
|
|
| BLAKE2b-256 |
0672aef506ba30709dca602e1c9bc75f9a14674f1c75495dbe39b65f38dac0bc
|
File details
Details for the file nrp_cmd-0.7.1-py3-none-any.whl.
File metadata
- Download URL: nrp_cmd-0.7.1-py3-none-any.whl
- Upload date:
- Size: 159.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eabc65827e851801ed55cef82e21673bcc0bbdbae3a70e97ea63ad79a7c90a1e
|
|
| MD5 |
0e1a15ce693c90ae2354214dc867ca4c
|
|
| BLAKE2b-256 |
fb9f4417c8ac25f5d258b1224e68161bd5ede0c8343d0c1de9f2f2e5ed3e786e
|