Metadata-Version: 2.3
Name: getlicense
Version: 0.1.0
Summary: Easily choose a license for your software and *license it*
Author: ashkanfeyzollahi@gmail.com
Author-email: ashkanfeyzollahi@gmail.com
Requires-Python: >=3.13
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: appdirs (>=1.4.4,<2.0.0)
Requires-Dist: requests (>=2.32.4,<3.0.0)
Project-URL: Repository, https://github.com/ashkanfeyzollahi/getlicense
Description-Content-Type: text/markdown

# GetLicense

<p align="center">📖 Easily choose and get a license for your software</p>

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

Easily choose and get a license for your software

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
  -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 or individual
                        who 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
```

## Installation

- You either install it from `pypi` using `pip`:

```bash
pip install getlicense
```

- Or directly install it from `github` using `pip`:

```bash
pip install git+https://github.com/ashkanfeyzollahi/getlicense.git
```

- Or even build it from source!

