typy

Build polished PDFs from Python and Markdown

typy combines a typed Python API, reusable Typst templates, and a CLI designed for both developers and AI agents.

Get started Open cookbook

Quick start

typy scaffold report --output data.json
typy render --template report --data data.json --output report.pdf

Explore

Getting started

Install typy and render your first document in minutes.

Read guide

Cookbook

11 runnable examples from invoices to presentations and batch generation.

View recipes

Template reference

Inspect built-in templates and field schemas for each document type.

Browse templates

CLI reference

Command-by-command guidance and options for automation-friendly usage.

Open CLI docs

API reference

Module-level API pages generated from source and type signatures.

Read API

Package format

RFC: .typy container structure, manifest v1 schema, versioning policy, and error model.

Read RFC

LLM resources

Machine-oriented entry points and generated llms.txt context files.

Open LLM page