Skip to main content

Generate licenses from templates.

Project description

Licere

Generate License files using variables and templates.

  • Because copying and pasting is hard.

    • ... Even huge companies fail to enter the details right (e.g. Year/Copyright Owner).
  • Because some people need licenses.

    • ... The entire attorney industrial complex.
  • Because licensing should be customizable.

    • ... There is no one size fits all.

Features

  • Jinja Templating
  • Template Packages
  • Custom Licenses
  • Render multiple output types (Text/Markdown/HTML)

Quick Start

  1. Install:
pip install licere
  1. Generate a license:
# generate a polyform strict license
licere generate --license polyform-strict

# generate an apache license with a proper copyright
licere generate --license apache copyright_year=2024 copyright_owner="Example Company"

# load data from a file
licere generate --license apache --data=data.toml

# where data.toml is:
# copyright_year = "2024" 
# copyright_owner = "Example Company"

Included Licenses

  • Polyform
  • Apache
  • MIT
  • BSD

Project details


Download files

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

Source Distribution

licere-20240201.tar.gz (12.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page