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 details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for licere-20240201.tar.gz
Algorithm Hash digest
SHA256 b649ecb8955bd770056c65c402ea25676653ca3b3f023ac8de03baff7e6e9b22
MD5 8ebcbc72709ec75fd0ab0034f9650144
BLAKE2b-256 ab929c98bb163363ea31a5324c40d1c5b056aa9680f3b7fdb09c92e7b2693feb

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