Skip to main content

Shortcuts Management for reuse license utility

Project description

Reuse Shortcut Management

CI Code coverage Docs Latest Release PyPI version Code style: black Imports: isort PEP8 Checked with mypy REUSE status

Shortcuts Management for reuse license utility

Installation

Install this package in a dedicated python environment via

python -m venv venv
source venv/bin/activate
pip install reuse-shortcuts

To use this in a development setup, clone the source code from gitlab, start the development server and make your changes::

git clone https://codebase.helmholtz.cloud/hcdc/reuse-shortcuts
cd reuse-shortcuts
python -m venv venv
source venv/bin/activate
make dev-install

More detailed installation instructions my be found in the docs.

Usage

Installing this package provides you with a reuse-shortcuts CLI executable. When using this command in a repository, it will look for a file named .reuse/shortcuts.yaml in the root of the repository. This file is supposed to have the following format:

<key>:
  copyrights: []
  years: []
  licenses: []

where copyrights, years and licenses are what you would usually add with reuse annotate --year <year> --copyright <copyright> --license <license [further options], and <key> is an identifier you define yourself.

Instead of calling the very verbose reuse annotate [...] [further options] command, you can just run reuse-shortcuts <key> [further options] with the <key> you defined in the shortcuts.yaml file.

More detailed usage instructions may be found in the usage docs.

Technical note

This package has been generated from the template https://codebase.helmholtz.cloud/hcdc/software-templates/python-package-template.git.

See the template repository for instructions on how to update the skeleton for this package.

License information

Copyright © 2025 Helmholtz-Zentrum hereon GmbH

Code files in this repository are licensed under the GPL-3.0-or-later, if not stated otherwise in the file.

Documentation files in this repository are licensed under CC-BY-4.0, if not stated otherwise in the file.

Supplementary and configuration files in this repository are licensed under CC0-1.0, if not stated otherwise in the file.

Please check the header of the individual files for more detailed information.

License management

License management is handled with reuse. If you have any questions on this, please have a look into the contributing guide or contact the maintainers of reuse-shortcuts.

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

reuse_shortcuts-1.0.2.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reuse_shortcuts-1.0.2-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file reuse_shortcuts-1.0.2.tar.gz.

File metadata

  • Download URL: reuse_shortcuts-1.0.2.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for reuse_shortcuts-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d301766a54695fd4071342d93de3685af15da1ebec68e437b10749c611db7b83
MD5 fa88fb8998887cec76d24e108e40df79
BLAKE2b-256 8b15a19372f28bf1127673183ddd01772329e56afd59c88f4676c9d33ac660df

See more details on using hashes here.

File details

Details for the file reuse_shortcuts-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for reuse_shortcuts-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 996589741e4510a9dd2e2a02f8be6b1f53f9d69b397769b5722dc30918047661
MD5 31e81dec434821619494cb3472b9c839
BLAKE2b-256 272323556d356ff9d4b9e97c798827ff8352d4d6a9ce8a5dea36253ea1fe88ee

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