Metadata-Version: 2.0
Name: li
Version: 0.1.0
Summary: A tool to quickly fetch a license.
Home-page: https://github.com/goldsborough/li
Author: Peter Goldsborough
Author-email: peter@goldsborough.me
License: MIT
Keywords: li projects
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: click (==6.3)
Requires-Dist: coverage (==4.0.3)
Requires-Dist: coveralls (==1.1)
Requires-Dist: docopt (==0.6.2)
Requires-Dist: ecstasy (==0.1.3)
Requires-Dist: enum (==0.4.6)
Requires-Dist: enum34 (==1.1.2)
Requires-Dist: py (==1.4.31)
Requires-Dist: pytest (==2.8.7)
Requires-Dist: requests (==2.9.1)
Requires-Dist: wheel (==0.24.0)

**
li
**

.. image:: https://badge.fury.io/py/license.svg
    :target: http://badge.fury.io/py/license

.. image:: https://img.shields.io/github/license/mashape/apistatus.svg
	:target: http://goldsborough.mit-license.org

.. image:: http://img.shields.io/gratipay/goldsborough.svg
	:target: https://gratipay.com/~goldsborough/

.. image:: https://travis-ci.org/goldsborough/license.svg
    :target: https://travis-ci.org/goldsborough/license

\

\

*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:

.. code-block:: bash

    $ li -k mit -a Peter Goldsborough

Estimated time: ~2 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:

.. code-block:: bash

    $ li

Estimated time: ~1 second. Estimated happiness: over 9000. You're welcome.

Installing
==========

*li* can be found on the PyPI:

.. code-block:: bash

    $ pip install li

`License <goldsborough.mit-license.org>`_
=========================================

This project is licensed under the MIT-License.

Authors
=======

Peter Goldsborough & `cat <https://goo.gl/IpUmJn>`_ :heart:


