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.0.tar.gz (25.7 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.0-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reuse_shortcuts-1.0.0.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for reuse_shortcuts-1.0.0.tar.gz
Algorithm Hash digest
SHA256 124b9405c233557ce7f76cbe0bfee694f89736ba1c08fefaac4c06878e4883cd
MD5 3a54be98a992b051fe9058a9307356f6
BLAKE2b-256 8faf6defdb89448b10ee284a33fe1c22e9bd71ea750db52fb4fc73c476856808

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reuse_shortcuts-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 425427f857d2b9ff67aa60c4b4ab8d18ad9bc12b9bbf4109649cb1b79747b5c8
MD5 3d57c4847313f78fcf655cdaeece4495
BLAKE2b-256 06b1ac2adb37fa0b35f1f8574c09483ec4fabd0711153a8908552c182820c47a

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