li
li is a tool to quickly fetch a license.
When finishing up a project, you had two choices to fetch your license:
Go to some previous projects of yours and get the license you used there. Then check if the year of the license is still valid, else change it. Estimated time: ~30 seconds.
Go online and use a search engine to find the license of your choice, in plain-text. Naturally, you click on the wrong link about 13 times before you find a simple plain-text version of the license, for you to copy. Then replace the <year> and <author> fields with your data. Estimated time: ~1-2 minutes.
I propose the following solution:
$ li -k mit -a "Your Name" > LICENSE
Estimated time: ~5 seconds.
You can also pass a year with -y, but I reckon you’ll be happy with the default value being the current year. The best thing is: your input is cached under $HOME/.license, so next time, all you need to type is:
$ li > LICENSE
Estimated time: ~1 second. Estimated happiness: over 9000. You’re welcome.
Installing
You can grab li off PyPI:
$ pip install li
License
This project is licensed under the MIT-License.
Metadata
Release files for li 0.1.3
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 |
|---|---|---|---|---|
| li-0.1.3.tar.gz | 24.9 kB | Without provenance | Details for li-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| li-0.1.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for li-0.1.3-py2.py3-none-any.whl |
Total release size: 58.9 kB
Release files / li-0.1.3.tar.gz
| Download URL | li-0.1.3.tar.gz |
|---|---|
| Size | 24.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6dc9ff6ea1c3e92d05c143d48166da5765f0cc46185edd199e03f81d80b896f
|
|
BLAKE2b-256 checksum How to use checksums |
d5cf96bc04c2d62a9257ddb0c904485a009b6c2676a5d02e2ea6e2b31304227c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / li-0.1.3-py2.py3-none-any.whl
| Download URL | li-0.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 33.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b4e9d0ba1d3f2022976f403591f0e28be503103703b5d35480638fe09779e05f
|
|
BLAKE2b-256 checksum How to use checksums |
753cde5de4401178803e9eb0694850cda4f04956c72d79987aa3c50fe841c003
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for li 0.1.3
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.