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
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
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
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
File details
Details for the file nrp_cmd-0.8.7.tar.gz.
File metadata
- Download URL: nrp_cmd-0.8.7.tar.gz
- Upload date:
- Size: 408.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19f0bc4d2f1d1723c5e6f19a0d30d8ac639a4d91f940da83e7872db1dac5f622
|
|
| MD5 |
ca981b9e0dd0b1dde392c4ae2b50f0ff
|
|
| BLAKE2b-256 |
873b01abf8d5983f199ff99be586cca5ac4b2f8082deeff7f0cbd78c073c5c2f
|
File details
Details for the file nrp_cmd-0.8.7-py3-none-any.whl.
File metadata
- Download URL: nrp_cmd-0.8.7-py3-none-any.whl
- Upload date:
- Size: 162.0 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 |
7e04b6e375a8ae67b4e56e8fc4fef337c011218800fa7451e46cdf2edf888cfb
|
|
| MD5 |
09da7ed2f24d6775c7536e18b09ebb6e
|
|
| BLAKE2b-256 |
4d65721e6761ce4f91ea4b00874ddda93a1ffb36439ed0c07d9a3230bd67266b
|