Metadata-Version: 2.2
Name: licere
Version: 20250101
Summary: Generate licenses from templates.
Author: Nate Skulic, MetaCompany
Project-URL: Homepage, http://meta.company/go/licere
Project-URL: Documentation, http://meta.company/go/licere
Project-URL: Repository, http://sr.ht/~metacompany/licere
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: toml
Requires-Dist: jinja2

# 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:

  ```shell
  pip install licere
  ```

2. 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
