pydox
Local-first Python documentation generator. Extracts docstrings + signatures, outputs clean Markdown.
A lightweight CLI tool that generates API documentation from your Python code. No cloud, no API costs, no setup.
Why pydox?
- ✅ No API costs: Pure static analysis, runs entirely on your machine
- ✅ No cloud: Your code never leaves your computer
- ✅ Fast: Analyzes thousands of files in seconds
- ✅ Simple output: Clean Markdown, ready for MkDocs/Docusaurus
- ✅ Open source: MIT license, code on GitHub
Installation
pipx install pydox
Or with pip:
pip install --user pydox
Usage
# Document current directory
pydox generate
# Document specific file
pydox generate mymodule.py
# Document a directory and save to file
pydox generate ./src --output docs/API.md
# Generate an index file (summary table)
pydox generate ./src --index --output docs/
Output example
For a file like:
def hello_world(name: str) -> str:
"""Greet someone by name.
Args:
name: The name to greet.
Returns:
A greeting string.
"""
return f"Hello, {name}!"
pydox generates:
# `mymodule.py`
## Functions
### `def hello_world(name: str) -> str`
Greet someone by name.
**Args:**
- `name`: The name to greet.
**Returns:**
A greeting string.
Pricing
| Tier | Price | Features |
|---|---|---|
| Free | $0/mes | 1 repo, basic extraction, Markdown output |
| Pro | $3/mes | Unlimited repos, custom templates, MkDocs/Docusaurus integration, CI integration |
| Team | $10/mes | Team analytics, shared templates, priority support |
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydox-0.1.0.tar.gz
(8.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pydox-0.1.0-py3-none-any.whl
(7.3 kB
view details)
File details
Details for the file pydox-0.1.0.tar.gz.
File metadata
- Download URL: pydox-0.1.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b67586af5b2b289692e0ab44199c20b1c1deabe18b3eece9291d73856b25b98f
|
|
| MD5 |
871b4c5c24326c8089c01dc5e85e4f3b
|
|
| BLAKE2b-256 |
b11c8f4b56feb28396ee6fe2f7bf9399b2ecc4678598572b79876842ecdf97bb
|
File details
Details for the file pydox-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pydox-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee9fff7283280903d72f97575bbfba34ae2084544a8deb3f2f58b56882a146a7
|
|
| MD5 |
22ebb0a2fc230ac7ce9f0fcceb494e0b
|
|
| BLAKE2b-256 |
ac463d19c9fe519b2b35640f5cfab945b1028acfd8bbfa03cc34355274b74595
|