Output API docs to Markdown using Griffe.
Project Links
Meta
Author: Timothée Mazzucotelli
Requires Python: >=3.11
Classifiers
Development Status
- 4 - Beta
Intended Audience
- Developers
Programming Language
- Python
- Python :: 3
- Python :: 3 :: Only
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
- Python :: 3.15
Topic
- Documentation
- Software Development
- Utilities
Typing
- Typed
griffe2md
Output API docs to Markdown using Griffe.
Installation
pip install griffe2md
With uv:
uv tool install griffe2md
Usage
Simply call griffe2md with a package name, or the path to a package folder:
griffe2md markdown
griffe2md path/to/my/src/package
Use the -o, --output option to write to a file instead of standard output:
griffe2md markdown -o markdown.md
griffe2md can be configured in either pyproject.toml or a griffe2md.toml file. The latter can be placed in a .config or config directory in the project root.
griffe2md.toml file is structured as a simple key-value dictionary, e.g.:
docstring_style = "sphinx"
If you configure it in pyproject.toml, the configuration should go under the tool.griffe2md key:
[tool.griffe2md]
docstring_style = "sphinx"
See the documentation for reference.
Sponsors
And 4 more private sponsor(s).
1.5.1
Oct 06, 2026
1.5.0
Mar 12, 2026
1.4.0
Mar 06, 2026
1.3.4
Feb 20, 2026
1.3.3
Feb 05, 2026
1.3.2
Nov 20, 2025
1.3.1
Nov 20, 2025
1.3.0
Nov 20, 2025
1.2.6
Nov 10, 2025
1.2.5
Oct 02, 2025
1.2.4
Sep 24, 2025
1.2.3
Sep 09, 2025
1.2.2
Aug 24, 2025
1.2.1
Aug 19, 2025
1.2.0
Aug 19, 2025
1.1.0
Feb 11, 2025
1.0.2
Sep 27, 2024
1.0.1
Aug 15, 2024
1.0.0
Jan 05, 2024
