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.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.10.0.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

repository_cli-0.10.0-py2.py3-none-any.whl (18.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for repository-cli-0.10.0.tar.gz
Algorithm Hash digest
SHA256 bb9c4ced81b5c72d4fdbe8092dc1a65945bf5bd83373c0c8d6e8b2640fb64386
MD5 04103941175bd315002d83de6d5b498d
BLAKE2b-256 69effcbd61efe620cec680f084e95517a51689970a6ae0f8879f0782820d7fb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for repository_cli-0.10.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b30a473b5cbb79d172063d858f796a50fe53449e36a14b127c860ffc963ebc42
MD5 bde2a759367211f08dddcda0c1d456ad
BLAKE2b-256 0d8a833405563e4f345a74eae2a3911d0aa64b8ce41f39a1769a994b534b1c18

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