A tool to quickly generate software license files with customizable project details
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file getlicense-0.4.1.tar.gz.
File metadata
- Download URL: getlicense-0.4.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bd3e8c2b44fbd010ff75f15052e124dd04f7f53a27d6a5778a1a80bb7e552e8
|
|
| MD5 |
fb9e9890a5824dd83bba047a64a8b786
|
|
| BLAKE2b-256 |
fec88aefa9b84d542f265e47287e70c99ede7831a01bc0e1cb891cab81cb7bf6
|
File details
Details for the file getlicense-0.4.1-py3-none-any.whl.
File metadata
- Download URL: getlicense-0.4.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b9950006aabfa7e09405d8119cb030eb65f33484789d5be210e30a1a3615f7e
|
|
| MD5 |
68131d9c3b5a5dbdd0737e01e1206304
|
|
| BLAKE2b-256 |
db25b29e7984dc3ead0c58940a155c1c9088a71e8df2cab4139464dfd915e91f
|