dottxt-ai/prompts

A prompting library

40
/ 100
Emerging

Uses Python decorators to convert function docstrings into Jinja2 templates, enabling dynamic prompt generation through a `@template` decorator that renders parameterized templates. The approach treats prompts as first-class functions, allowing composition of reusable prompt components with variable injection for few-shot examples, instructions, and queries.

192 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 12 / 25

How are scores calculated?

Stars

192

Forks

16

Language

Python

License

Apache-2.0

Last pushed

Jul 01, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/dottxt-ai/prompts"

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