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

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

Installation

pip install licensegh

Usage

Generate a LICENSE file from a github template (mit example):

licensegh mit

Help:

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.

Development

Install development tools:

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

Installing development dependencies:

poetry install

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

poetry run multi-version-tests

Running unit tests:

poetry run tests

Running code analysis:

poetry run analyze

Applying code styles:

poetry run styles

Running cli using python3:

python3 -m licensegh

Running cli using poetry:

poetry run licensegh

Runniging code coverage:

poetry run tests-coverage

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

Uploaded Source

Built Distribution

licensegh-0.1.0-py3-none-any.whl (5.9 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