annotated-doc is a small Python library that lets you attach documentation strings directly to function parameters, class attributes, return types, and variables using typing.Annotated. It is useful for keeping symbol documentation in code and enabling tools to extract consistent parameter docs for reference-style documentation, including support used by FastAPI reference documentation.
Project status
- The source appears actively maintained, with very recent activity (last upstream push on 2026-07-28) and a new update version 0.0.5 released the same day.
- Update cadence looks intermittent but ongoing, with 0.0.5 on 2026-07-28, 0.0.4 on 2025-11-10 (about 8 months earlier), and smaller updates clustered in Oct-Nov 2025 (0.0.2 to 0.0.4).
AI summary generated
Recent updates
0.0.5
Release 0.0.5 primarily updates tooling and CI. The key user-facing change is dropping support for Python 3.8, and the package now requires Python 3.9 or newer. Most other changes are internal, including dependency management shifts to uv dependency groups and workflow updates that pin actions by commit SHA.
Breaking0.0.4
Version 0.0.4 primarily changes the build and versioning setup, switching to PDM-based dynamic versioning and updating tooling versions. It also bumps some GitHub Actions artifact/upload/download versions and updates test dependencies for Python versions under 3.9.
0.0.3
Release 0.0.3 focuses on documentation updates, including README content improvements, added badges, and a new reference to griffe-typingdoc. It also adds PEP-639 compliant license metadata to the package configuration.
0.0.2
Release 0.0.2 is very small, consisting mainly of an initial implementation and associated repository automation. The remaining items are internal test and CI setup updates, plus configuration tweaks for GitHub workflows and templates.
Features