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.0.0.tar.gz (102.3 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.0.0-py3-none-any.whl (162.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nrp_cmd-0.0.0.tar.gz
  • Upload date:
  • Size: 102.3 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.0.0.tar.gz
Algorithm Hash digest
SHA256 6d70afea380a6c2c31255ea9ae8324a379ce16901d43f9f9b75989166e5b783a
MD5 f7c42e47f78d9c74d4d5d5b127880ac7
BLAKE2b-256 b50303c9526fa1b7d4178375864d70fa25427e2d4499b0ec423cd219ca1e822c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nrp_cmd-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 162.1 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 630a0eec5dc6f5fbe04ef19621d6e6a6999dc61c1c79f5551dbfda97394c7760
MD5 6ae3085c79b4334206ace9765e5b5d8a
BLAKE2b-256 f8a9ac478073d762c9165d8ccc6fdf32168737149d724f22817b3b0ccdac8d9d

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