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

Uploaded Source

File details

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

File metadata

  • Download URL: licere-20250102.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-20250102.tar.gz
Algorithm Hash digest
SHA256 616f2c1cf21f1db514c214995eda6e700a1890585b708eb5a0573f4c3328ffc9
MD5 0f95db8b59db5ddabcb5d06b58215dfb
BLAKE2b-256 ffaf344148d05c60cb6a18faabd1abc2bc20c5e4855ca10543124a2dd73ee009

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