Starlette Async Jinja
Description
Asynchronous Jinja2 template integration for Starlette and FastAPI
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
starlette-async-jinja
[](https://github.com/lesleslie/crackerjack) [](https://github.com/lesleslie/oneiric) [](https://github.com/astral-sh/uv) [](https://www.python.org/downloads/)
An asynchronous Jinja2 template integration for Starlette and FastAPI, built on top of the `jinja2-async-environment` package.
Quick Links
Quality & CI
Crackerjack is the standard quality-control and CI/CD gate for this repo. Keep local validation aligned with the same Ruff, typing, security, and test workflow used in CI.
Features
- Fully async template rendering - Load templates and render them asynchronously
- Seamless framework integration - Works with Starlette and FastAPI request/response cycles
- Template fragments - Render specific blocks from templates
- Template partials - Include sub-templates with their own context using
render_block - Fast JSON responses - Enhanced JSON responses using
msgspecfor faster serialization - Context processors - Add global context to all templates
- Performance optimizations - Context processor caching, fragment caching, and memory pooling
- Configurable caching - Fine-tune cache sizes and TTL for optimal performance
Installation
pip install starlette-async-jinja
Template Rendering Pipeline
The following diagram shows how a request flows through the async template rendering system:
flowchart TD
A[HTTP Request] --> B[Starlette/FastAPI Route Handler]
B
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development