Goldziher/prompt-template

Flexible and lightweight library for creating prompt templates

46
/ 100
Emerging

Supports nested braces and complex JSON structures with automatic serialization of Python types (UUID, Decimal, datetime), plus incremental population with default values and deep copying for mutable types. Built as a zero-dependency extension of `string.Template` with strong validation, detailed error messages for missing or invalid keys, and optional custom serialization through subclassing.

23 stars and 9,026 monthly downloads. Available on PyPI.

No Dependents
Maintenance 6 / 25
Adoption 15 / 25
Maturity 18 / 25
Community 7 / 25

How are scores calculated?

Stars

23

Forks

2

Language

Python

License

MIT

Last pushed

Dec 12, 2025

Monthly downloads

9,026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/Goldziher/prompt-template"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.