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

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.3.tar.gz (101.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.3-py3-none-any.whl (161.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nrp_cmd-0.8.3.tar.gz
  • Upload date:
  • Size: 101.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.3.tar.gz
Algorithm Hash digest
SHA256 368f8c3c6da70be684209f5c0089219abc55dbbad995431f70f6a0b946151def
MD5 8608ef15cda840ed46ec6b17a70ef6c7
BLAKE2b-256 3df468a40483a026ce19703f9f70eab4c26ee9444e7ea45f2219702d64490a2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nrp_cmd-0.8.3-py3-none-any.whl
  • Upload date:
  • Size: 161.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e1b5b64fbfa4fe49335fe689649e964c9c1b5a88dfef5e0f036e1d89146ae60f
MD5 67a907537892c1313517bf5f442fe1cd
BLAKE2b-256 a4edf870acb97ae9417b0c8d3eda8443b6ad930e4ee3370dec005add0f4ea8ee

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