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

GitHub GitHub branch checks state Codecov PyPI - Python Version PyPI Libraries.io dependency status for latest release

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

Installation

Intall with pip:

pip install licensegh

Upgrade with pip:

pip install --upgrade licensegh

Usage

Help licensegh -h:

Usage: licensegh [OPTIONS] <license id>

Options:
  -p, --print   Print the license file
  -s, --search  Search license, shows a list
  -l, --list    List all found licenses
  --version     Show the version and exit.
  -h, --help    Show this message and exit.

List licensegh -l:

Search licensegh -s:

Print licensegh -p:

Save:

licensegh mit

Development

Install development tools:

  • make sure you have python3.7, python3.8, python3.9 aliases installed
  • install poetry

Installing development dependencies:

poetry install

Running unit tests:

poetry run python -m scripts.tests

Running multi version tests (3.7, 3.8, 3.9):

poetry run python -m scripts.multi-version-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.tests-coverage

Running cli using poetry:

poetry run licensegh

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-0.1.1.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

licensegh-0.1.1-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page