Skip to main content

Copyright License Manager

Project description

PyPI PyPI - Python Version PyPI - Wheel PyPI - Format PyPI - License GitHub Actions - CI GitHub Actions - pre-commit Codecov

A cli tool for easy management of copyright and licenses in source code headers.

Installation

pip install clmgr

Features

Current supported languages

  • C#

  • Java

  • Python

  • TypeScript

Testing

This project uses pytest to run tests, if docstring examples are provided or included these will be included automatically.

Install test dependencies.

pip install -r requirements_dev.txt

Run tests.

pytest

Development

This project uses black to format code and flake8 for linting. To ensure these actions are run pre-commit is used. A git alias is provided which will configure the entire environment.

Configure environment.

git config include.path ../.gitaliases
git setup

Install dev dependencies.

pip install -r requirements_dev.txt

Install for development

pip install -e .

Format Code

python -m black clmgr/**

Release (Manual)

The following action describe the manual release process.

Install dev dependencies.

pip install -r requirements_dev.txt

Clean.

git clean -xfd

Build.

python setup.py sdist bdist_wheel

Verify.

twine check dist/*

Upload.

twine upload dist/*

Release

Releases are published automatically when a tag is pushed to GitHub.

# Set next version number
export RELEASE=x.x.x

# Create tags
git commit --allow-empty -m "build: release ${RELEASE}"
git tag -a ${RELEASE} -m "build: release ${RELEASE}"

# Push - Assume that we are working from a fork
git push upstream --tags

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

clmgr-0.6.0.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

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

clmgr-0.6.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file clmgr-0.6.0.tar.gz.

File metadata

  • Download URL: clmgr-0.6.0.tar.gz
  • Upload date:
  • Size: 38.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for clmgr-0.6.0.tar.gz
Algorithm Hash digest
SHA256 52b19d04b65a4bd542ccb91266046ddb614d2534812667b60d794e63e5feee17
MD5 74efe2941e31557e76fd1fc11e06f109
BLAKE2b-256 e010425448d36ec27edbed342641307aae6ce73f88d4afcbb34735fb8f72aa17

See more details on using hashes here.

File details

Details for the file clmgr-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: clmgr-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for clmgr-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71bd82a945a8f773f2c273565f07927beb0258fdc7090333a58f9a9e360670bd
MD5 c2ca27b12741b657ab0a588ad25af875
BLAKE2b-256 a746a7d4e3f5fd24e8f8fe6776aa0b157be993a25dcf7ff4d8a759ab6aec5ce7

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