Skip to main content

A tool to quickly generate software license files with customizable project details

Project description

GetLicense

screenshot

📖 A tool to quickly generate software license files with customizable project details
GitHub last commit GitHub License PyPI - Version

getlicense is a command-line tool that helps you easily choose and generate a license for your software project. It fetches license templates from an online repository, fills in basic project information (like organization name, project name, and copyright year), and saves the result as a LICENSE file. You can also cache templates for offline use and list available options directly from the terminal.

Installation

  1. Install Pipx (if you don't have it already):
pip install pipx
  1. Install getlicense using Pipx:
pipx install getlicense

Usage

usage: getlicense [-h] [--individual INDIVIDUAL] [-L] [-l] [-n] [-c] [--organization ORGANIZATION] [-o OUTPUT] [--project PROJECT] [--year YEAR] [license_name]

A tool to quickly generate software license files with customizable project details

positional arguments:
  license_name          Name of license template to fetch (e.g., mit, gpl3 and etc.)

options:
  -h, --help            show this help message and exit
  --individual INDIVIDUAL
                        The name of the individual who holds the copyright to the software
  -L, --list-cached-templates
                        List cached license templates
  -l, --list-templates  List available license templates
  -n, --no-cache        Don't cache the license template file when downloaded
  -c, --offline         Get the cached license template instead of downloading
  --organization ORGANIZATION
                        The name of the organization that holds the copyright to the software
  -o, --output OUTPUT   Where to write the license template content to
  --project PROJECT     The name of the software project
  --year YEAR           The year of the software's copyright

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

getlicense-0.3.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

getlicense-0.3.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file getlicense-0.3.1.tar.gz.

File metadata

  • Download URL: getlicense-0.3.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for getlicense-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c11febded5a08c8d7763980e9525ee9979b87436401e21966094a13f26981201
MD5 33c0de911976760888c71345ee994199
BLAKE2b-256 b0cae14766866732423447bf6a91d6e81ff4df8ed54a6fdb2ae6370c8c938d2d

See more details on using hashes here.

File details

Details for the file getlicense-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: getlicense-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for getlicense-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aed6111ac0e3b7bc13e19c4c61eb76170b355a7210979a81806019fc9f1e4664
MD5 f9eb481dd96e26739e9ad545ca83edee
BLAKE2b-256 2e1992d90d354f0a28485b1963c5293a5714f1523a60679fac673b36b34c4302

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