Skip to main content
Help us improve Python packaging – donate today!

A tool to quickly fetch a license.

Project Description

https://travis-ci.org/goldsborough/li.svg?branch=master

li is a tool to quickly fetch a license.

When finishing up a project, you had two choices to fetch your license:

  1. 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.
  2. 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.

Authors

Peter Goldsborough & cat :heart:

Release history Release notifications

This version
History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
li-0.1.3-py2.py3-none-any.whl (33.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Mar 4, 2016
li-0.1.3.tar.gz (24.9 kB) Copy SHA256 hash SHA256 Source None Mar 4, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page