A simple license generator, based on choosealicense.com.
Project description
saul
You need a license for your project? 'saul good, man!
Saul is a license generator based on choosealicense.com.
how to install
From PyPI:
$ pip install saul
From source:
$ python setup.py install
how to use
First off, you can list the licenses that are available to you:
$ saul list
Once you've chosen a license, you can generate it by running:
$ saul generate <license>
For example, to generate the MIT license you can run:
$ saul generate mit
By default, this will trigger an interactive mode where you have to provide data if any is needed for the license. For MIT for example, you need the year range and the copyright holders:
$ saul generate mit
Year range? (example: 1999-2020)> 2022
Copyright holder(s)? (example: John Doe (doe@foo.com), Jane Doe (doe2@foo.com))> me
By default, your license will be placed in a LICENSE
file at the current directory.
You can change that by providing the path to an output file via the -o/--output
option. You can also choose to just dump the generated license text in stdout by using
the -n/--no-file
option.
If you know what information is needed by the license, you can also provide it via CLI options. For example, the one-liner to generate the exact same MIT license as the previous example is:
$ saul generate mit -y 2022 -c me
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file saul-0.1.0.tar.gz
.
File metadata
- Download URL: saul-0.1.0.tar.gz
- Upload date:
- Size: 129.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 057d8c9e242808f4161df1f8bbf03ba1459f63ea2950d4b25755442391b57abd |
|
MD5 | 110d70b61c789202f83bd19682a60186 |
|
BLAKE2b-256 | ba9d06f70a3c2a8fcf6d432f72ddee8cb57b4a3d4b378b2dee89d6d09c4377d8 |
File details
Details for the file saul-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: saul-0.1.0-py3-none-any.whl
- Upload date:
- Size: 177.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05fccd61d2edbbe87e6b1af9430cb54ae5d69d3b038a4b525151e0a68fecfa9e |
|
MD5 | 8e4ecb10b9b131b0fb79cbfe2b4ab51d |
|
BLAKE2b-256 | 06c8551a504462ee46964c56d8a440d2b2a94e8dd60b0187ef6986edd6fe20c0 |