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

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.2.tar.gz (101.6 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.2-py3-none-any.whl (161.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nrp_cmd-0.8.2.tar.gz
Algorithm Hash digest
SHA256 166d2893b6639a284be9e0e95d7634ae9e4521c1016f69cb9dc9bde14d671a6c
MD5 7fba739e86d6eb8c7881d4fdae41b0f5
BLAKE2b-256 fc2dc99489a6e131471049cf5d420b5fbd061662ebea7d8c6b3f6628efa4cd60

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nrp_cmd-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0ece1f1c4a8c0bf7e9d305b9ce4c7e9269506b0c00a3168e440e33011a9cf04a
MD5 04f96cb7d5f03f674d199db65d4b267e
BLAKE2b-256 c614bf3ec465490d0b3fc6a565efb138627b7d68ca0c3f907a8a0b7f4a071ace

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