<!-- This file is auto-generated. Do not edit manually. -->

# {{ pack_name }}

{{ description }}

## Installation

```bash
pip install {{ package_name }}
```

## Usage

**Discovery (registry):**

```python
from justmytype import FontRegistry

registry = FontRegistry()
font = registry.find_font(family="Inter", weight=400)
if font:
    path = font.path  # path to the font file
    pil_font = font.load(size=24)  # PIL ImageFont (requires Pillow)
```

**Deterministic imports (pack-specific, version-pinned):**

```python
from {{ package_module }} import font_assets

# Family names depend on this pack; e.g. font_assets.inter.regular
asset = font_assets.inter.regular
path = asset.path  # path to the font file
pil_font = asset.load(size=24)  # PIL ImageFont (requires Pillow)
```

## Families

| Font | License | Full text |
|------|---------|-----------|
{% for f in families %}| {{ f.font }} | {{ f.spdx }} | [`fonts/{{ f.path }}`]({{ f.link_path }}) |
{% endfor %}

## Upstream

Source: {{ source_repo }} @ {{ source_ref }}

## Development

- **Fetch:** `pack-tools fetch <pack_dir>` — downloads upstream fonts into cache.
- **Build:** `pack-tools build <pack_dir>` — copies fonts into the pack, generates `pack_manifest.json` and this README.
- **Dist:** `pip install -e .` or build the wheel from the pack directory.

README is generated during build from the same resolved license data as the manifest.
