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-20250101.tar.gz (12.6 kB view details)

Uploaded Source

File details

Details for the file licere-20250101.tar.gz.

File metadata

  • Download URL: licere-20250101.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.21

File hashes

Hashes for licere-20250101.tar.gz
Algorithm Hash digest
SHA256 d9af2b52173e286091c4b36d2f789d8ae15e02e0e8310f8239486a0d4cf83fd2
MD5 b44c418ef9492a8ea16470229fe98750
BLAKE2b-256 ea0abc74278cd4b9e5a803e64f31e9cde41bee33a8c84ba8e42bbc5dae292965

See more details on using hashes here.

Supported by

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