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.3.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.3-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reuse_shortcuts-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 8e09bb2e2978ac82f72b22298cb3e838e9a76eaec8734b38f8b86ab450665029
MD5 669ec0dad292612ccef941547d5dd18e
BLAKE2b-256 d54a075bb9d3628e2878776f72bee9743bd75cf19cb321c56594ceedc99d3b35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reuse_shortcuts-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6ab475c793536beb51e8d4257491caf038bcc4be678952d635073fc0b7065f21
MD5 b605ae2d3f5f508c219f2db58d09bdcb
BLAKE2b-256 4872b10f41dc6153460c289720194c26d94b6602fcf99863fa15a24dda399ecb

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