You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ship inline type information to consumers via a py.typed marker (PEP 561),
so downstream type checkers can see the package's annotations.
New dev optional-dependencies extra (pip install fastapi-chameleon[dev])
bundling pytest, ty, and pyrefly.
A full documentation site built with Great Docs (Quarto), published at https://mkennedy.codes/docs/fastapi-chameleon/, including an auto-generated
API reference from the package docstrings.
Expanded PyPI keywords for better discoverability (templating, rendering,
decorator, ASGI, Starlette, and more).
Changed
Tightened type hints across the public API so the package now passes both ty and pyrefly cleanly: NoReturn on not_found() / generic_error(),
typed decorator wrappers and casts, and annotations on global_init(), clear(), and response().
Removed the inaccurate dict element type on **template_data.
Expanded Sphinx-style docstrings for the public API (template, the internal
render path, clear) and added :ivar: documentation to the exception types.
Rewrote README.md with a runnable quick start, full public-API reference,
friendly-error and view-testing guides, dev-mode/caching notes, a docs badge,
and corrected example-app and contributing instructions.