Skip to main content

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

For more details, check out the User guide.

Project details


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.8.8.tar.gz (131.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nrp_cmd-0.8.8-py3-none-any.whl (162.9 kB view details)

Uploaded Python 3

File details

Details for the file nrp_cmd-0.8.8.tar.gz.

File metadata

  • Download URL: nrp_cmd-0.8.8.tar.gz
  • Upload date:
  • Size: 131.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nrp_cmd-0.8.8.tar.gz
Algorithm Hash digest
SHA256 5f13d7972fcb9fd9c9bb0f7b4a26cacc65734ac4dcaec10d1a872d0710a4f8b7
MD5 b87f4a572c4073970ee26e89bfd7dff1
BLAKE2b-256 f77ac8c4753749b6822c6e54f5ffba87959048da6a85009dfe01e03a8e458fd3

See more details on using hashes here.

File details

Details for the file nrp_cmd-0.8.8-py3-none-any.whl.

File metadata

  • Download URL: nrp_cmd-0.8.8-py3-none-any.whl
  • Upload date:
  • Size: 162.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nrp_cmd-0.8.8-py3-none-any.whl
Algorithm Hash digest
SHA256 3cb47946c241e5daf6e6cc6fc44ea94fc8861ce5b031837165f4ec3f403eb3f7
MD5 19bcf076987923f2d7a786ea00b88f9d
BLAKE2b-256 a5aabaf9a0e946516807ac57a2ffd97546a91a5aa5a6785a1bfe6aecfb69304f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page