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.4.tar.gz (102.0 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.4-py3-none-any.whl (161.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nrp_cmd-0.8.4.tar.gz
  • Upload date:
  • Size: 102.0 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.4.tar.gz
Algorithm Hash digest
SHA256 23fdac7d2367c36deee571c1c541d713b8568e479e9b3948230b3706e79a63a4
MD5 f73032f6ce17039afd73fcb003c63370
BLAKE2b-256 3e563d747da7193153a02f553338b66e42f70c811689c2e2d1400f4d4ba4bf91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nrp_cmd-0.8.4-py3-none-any.whl
  • Upload date:
  • Size: 161.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6dfb7a84cfb34197fa322a8dd9816c9c99a4c44d5ab67da42703ba4cad503836
MD5 56e44db067b241b9687cb1f188b134d4
BLAKE2b-256 2d5d23f24e48029e2e018c559e314c054154fa987315033a0de8739db8ab5314

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