Skip to main content

"CLI utilities for TU Graz Repository."

Project description

https://github.com/tu-graz-library/repository-cli/workflows/CI/badge.svg https://img.shields.io/github/tag/tu-graz-library/repository-cli.svg https://img.shields.io/pypi/dm/repository-cli.svg https://img.shields.io/github/license/tu-graz-library/repository-cli.svg https://readthedocs.org/projects/repository-cli/badge/?version=latest

CLI utilities for TU Graz Repository

Further documentation is available on https://repository-cli.readthedocs.io/

Changes

Version v0.12.2 (release 2024-07-19)

  • setup: move to support python3.12 only

  • cli: add two commands

  • fix: not catched exception

Version v0.12.1 (release 2024-02-19)

  • fix: example command for update-remote-pid

  • records: add set embargo until

  • setup: add python3.11 support

  • black: fix formating v24.1.1

Version v0.12.0 (release 2024-01-25)

  • pids: add command update-remote-pid

  • options: make the data_model option required

  • fix: copy paste error

Version v0.11.1 (release 2023-11-10)

  • cli: tmp fix, this should be revisited

  • setup: increase rdm version

Version v0.11.0 (release 2023-11-03)

  • add command for adding persistent identifiers

Version v0.10.0 (release 2023-09-12)

  • add way to generate commands that update JSON

  • refactor: delete-draft

  • test: improve run-tests.sh

  • setup: use pytest-black-ng instead of pytest-black

  • fix: logic error

  • fix: can’t return draft without existing record

  • fix: cli delete-draft

Version v0.9.0 (release 2023-07-31)

  • records: add data_model parameter

  • typing: use new optional syntax

  • service: add lom service

  • global: update ruff

Version v0.8.1 (release 2023-06-07)

  • refactor: move json validation into JSON

  • refactor: get_record_or_draft

Version v0.8.0 (release 2023-06-01)

  • records: make arguments ready for drafts too

  • records: add argument delete-file

Version v0.7.0 (release 2023-05-30)

  • test: fix and pin due flask-babelex

  • records: separate replace-file from add-file

  • fix: black color on black background, bad

  • types: otherwise it is not working with 3.9

  • global: migrate to ruff

Version v0.6.0 (release 2023-05-01)

  • cli: add command publish

  • cli: add record_id parameter to modify-access

Version v0.5.0 (release 2023-03-08)

  • setup: remove python 3.11

  • records: add command modify-access

  • records: change add-file command to common pattern

Version v0.4.0 (release 2023-02-09)

  • setup: add pylint and bandit

  • feature: add parameter add-metadata-to-records

  • refactor: add decorator without brackets

  • refactor: remove two character long forms

  • change: empty output not shown for list

  • change: command list output_file required=False

  • refactor:

  • refactor: make count datamodel independent

  • refactor: removed directory cli

Version v0.3.1 (release 2023-02-01)

  • setup: move jq and tabulate to install require

Version v0.3.0 (release 2023-01-31)

  • improve: add explicit raised RuntimeError

  • record: add parameters to list_records

  • users: change to table output

  • refactor: add Color class

  • refactor

  • fix: tests

Version v0.2.0 (release 2023-01-20)

  • add files enabled check

  • add data_model param and marc21 service

  • add add_file command

  • setup: update to newer infrastructure

  • add .git-blame-ignore-revs

  • migrate to use black as opinionated auto formater

  • migrate setup.py to setup.cfg

  • feature: add delete-draft command

  • dep: bump invenio_app_rdm (#27)

  • tests: add test cases for cli commands (#25)

  • cli: adds command for pids

  • Rename records command (#23)

  • bugfix: build readthedocs doc: setup documentation for click commands closes #14

  • global: cleanup

  • global: refactor comments/strings.

  • cli: show number of rdmrecords.

Version 0.1.0 (released TBD)

  • Initial public release.

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

repository-cli-0.12.2.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

repository_cli-0.12.2-py2.py3-none-any.whl (20.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file repository-cli-0.12.2.tar.gz.

File metadata

  • Download URL: repository-cli-0.12.2.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for repository-cli-0.12.2.tar.gz
Algorithm Hash digest
SHA256 097032b95c17c1f5d162465eb9332ba5c9a0abbcbf8c3368a33511bd4be4be3d
MD5 6faf27eda21e15fcb93301b62ac7477a
BLAKE2b-256 415a264c227b326e601ff13000e2f77f7ad2f587200ea30810b6ffc87e2160ab

See more details on using hashes here.

File details

Details for the file repository_cli-0.12.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for repository_cli-0.12.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 80e611c837a4ef177df4d57c9e1f2fef303b83c9b5d341fcbc8d6a2876200087
MD5 3264f1ad99efa084fe17a72a1e31649b
BLAKE2b-256 18eaa5a467f80c8e44a13c9f09fa032b88e315b160f0b654da3f31c2d2c20ff8

See more details on using hashes here.

Supported by

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