Skip to main content

PyPI version PyPI downloads Tests License Issues GitHub stars

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

Metadata

Release files for pydox 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydox 0.2.0
File Size Uploaded
pydox-0.2.0.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pydox 0.2.0
File Interpreter ABI Platform
pydox-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.6 kB

Release files / pydox-0.2.0.tar.gz

Download URL pydox-0.2.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e622a184eb3e7fe2cce9abf05e15a84e953f18cc23b104665569e17adb5756d0
BLAKE2b-256 checksum
How to use checksums
54c59911ae134ffb798686d49a95c0fc19d03581b548fe2e61944de4a1a07c08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / pydox-0.2.0-py3-none-any.whl

Download URL pydox-0.2.0-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77c6dd50706ce8299c1f5385f7246b543e661347f9fe504bf38c7f89d1f2a369
BLAKE2b-256 checksum
How to use checksums
8b1f80dc583e1cd9e64c8456b0550a2d16052cc519ddf8909aa13cd3f755979d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page