Skip to main content

licensegh is a command line tool that generates a license file for a project from the github open source lincese templates

Project description

licensegh

Python GitHub MIT License GitHub Actions Codecov Python Versions Version Dependencies Platform

licensegh is a command line tool that generates a LICENSE file for a project from the github license templates repository.

Screenshots

Installation

Install with pip:

pipx install licensegh

Upgrade with pip:

pipx upgrade licensegh

Usage

Alias lgh

Help:

licensegh -h

Version:

licensegh --version

List all licenses:

licensegh -l

Search licenses:

licensegh -s <license id>

Print a license:

licensegh -p <license id>

Reset github template repository:

licensegh --reset

Save a license:

licensegh <license id>

Development

Installing poetry:

pipx install poetry

Installing development dependencies:

poetry install

Running unit tests:

poetry run python -m scripts.tests

Applying code styles:

poetry run python -m scripts.styles

Running code analysis:

poetry run python -m scripts.analyze

Running code coverage:

poetry run python -m scripts.coverage

Running cli using poetry:

poetry run licensegh

Release a new version

Check https://python-poetry.org/docs/cli/#version

poetry run python -m scripts.bump --help
poetry run python -m scripts.bump <major|minor|patch>

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

licensegh-1.1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

licensegh-1.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file licensegh-1.1.1.tar.gz.

File metadata

  • Download URL: licensegh-1.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for licensegh-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b7d725c64c263910bfababe4a14501b78c76cad08627d8b36da762a93f67ca8d
MD5 ce644c45af92a09180c01825fea16192
BLAKE2b-256 ed6a710bd7db05127e0bda9b5b3f037971e52ed943a6606f6350ff37faabd934

See more details on using hashes here.

Provenance

The following attestation bundles were made for licensegh-1.1.1.tar.gz:

Publisher: package.yml on sauljabin/licensegh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file licensegh-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: licensegh-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for licensegh-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 10c24be732f7b31fdb5b0dc7d4996467632681ae19af9cdc6afdce8396c12bda
MD5 62f472db3e6df212faa3ca62b0475939
BLAKE2b-256 4592aad70f5b4379f2722ffdc2b8da7b35c9ace0d3fc2fff846974699e0ff4e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for licensegh-1.1.1-py3-none-any.whl:

Publisher: package.yml on sauljabin/licensegh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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