Skip to main content

Latest Version Build Status

Generate your license. Yet another lice, but implement with Jinja.

Install

$ pip install licen

Usage

A gif is worth than a thousand words.

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.

Download files

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

Source Distribution

licen-0.2.1.tar.gz (56.9 kB view details)

Uploaded Source

File details

Details for the file licen-0.2.1.tar.gz.

File metadata

  • Download URL: licen-0.2.1.tar.gz
  • Upload date:
  • Size: 56.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for licen-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7d3833ba8604508235533c989fa79a3f1fa4b8bd8ef47f1aee89c9813f000815
MD5 2fe8efde349334a67c57e7c79cb4a405
BLAKE2b-256 7a105d0f6bde415fe0a4ba532d61741717898b073737ac7808e4ca7b7b6bde02

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.3

2 files

0.2.2

2 files

This release

0.2.1 This release

1 file

0.2.0

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