Skip to main content
Licen
=====

|Latest Version| |Build Status|

Generate your license. Yet another
`lice <https://travis-ci.org/lord63/licen.svg>`__, but implement with
Jinja.

Install
-------

::

$ pip install licen

Usage
-----

A gif is worth than a thousand words.

.. figure:: https://github.com/lord63/licen/blob/master/licen_demo.gif
:alt: demo\_gif

demo\_gif
In short, generate a licnese:

::

$ licen mit > LICENSE

Generate a header:

::

$ licen header gpl-2.0-header > main.py

Or get detailed help message from the terminal.

::

$ licen -h
licen, generates license for you via command line

Usage:
licen [header] (-l | --list)
licen [-y YEAR] [-f FULLNAME] [-e EMAIL] LICENSE_NAME
licen header [-y YEAR] [-f FULLNAME] [-e EMAIL] LICENSE_HEADER
licen --var NAME
licen (-h | --help)
licen (-V | --version)

Options:
-l --list List all the support licenses or headers.
-y YEAR Specify the year.
-f FULLNAME Specify the owner's fullname.
-e EMAIL Specify the email.
--var List all the variables in the template.
-h --help Show the help message.
-V --version Show the version info.

License
-------

MIT.

.. |Latest Version| image:: http://img.shields.io/pypi/v/licen.svg
:target: https://pypi.python.org/pypi/licen
.. |Build Status| image:: https://travis-ci.org/lord63/licen.svg
:target: https://travis-ci.org/lord63/licen

Release history Release notifications | RSS feed

0.2.3

2 files

0.2.2

2 files

0.2.1

1 file

This release

0.2.0 This release

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page