Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

A tool to quickly fetch a license.

Project Description
********
license
********

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

\

\

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

$ license -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

$ license

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

Installing
==========

*license* can be found on the PyPI:

.. code-block:: bash
$ pip install license

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

This project is licensed under the MIT-License.

Authors
=======

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

Release History

This version
History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
license-0.1.0-py2.py3-none-any.whl (7.1 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Mar 4, 2016
license-0.1.0.tar.gz (20.9 kB) Copy SHA256 Checksum SHA256 Source Mar 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting