GetLicense
📖 A tool to quickly generate software license files with customizable project details
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
-
Install Pipx (if you don't have it already)
-
Install
getlicenseusing 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
Metadata
Release files for getlicense 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| getlicense-0.4.1.tar.gz | 3.8 kB | Without provenance | Details for getlicense-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| getlicense-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for getlicense-0.4.1-py3-none-any.whl |
Total release size: 8.6 kB
Release files / getlicense-0.4.1.tar.gz
| Download URL | getlicense-0.4.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bd3e8c2b44fbd010ff75f15052e124dd04f7f53a27d6a5778a1a80bb7e552e8
|
|
BLAKE2b-256 checksum How to use checksums |
fec88aefa9b84d542f265e47287e70c99ede7831a01bc0e1cb891cab81cb7bf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / getlicense-0.4.1-py3-none-any.whl
| Download URL | getlicense-0.4.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b9950006aabfa7e09405d8119cb030eb65f33484789d5be210e30a1a3615f7e
|
|
BLAKE2b-256 checksum How to use checksums |
db25b29e7984dc3ead0c58940a155c1c9088a71e8df2cab4139464dfd915e91f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for getlicense 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.