Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

DocGen CLI

An AI-powered documentation generator that automatically creates comprehensive documentation for any programming language.

Features

  • 🤖 AI-powered documentation generation
  • 🌐 Language-agnostic code analysis
  • 📝 Markdown and docstring generation
  • 🔄 Git integration for tracking code changes
  • ⚡ Asynchronous batch processing
  • 💾 Smart caching system
  • 🔑 API key management
  • 📊 Usage tracking

Installation

bash pip install docgen-cli

Quick Start

  1. Get your API key from our website
  2. Login with your API key:
docgen auth login --key YOUR_API_KEY
  1. Generate documentation for a file or directory:
docgen generate -f path/to/file.py
# or
docgen generate --current-dir
  1. Update documentation for changed files:
docgen update

Usage

Basic Commands

  • docgen generate: Generate documentation for files or directories
  • docgen update: Update docs for changed files (Git-aware)
  • docgen analyze: Analyze code structure and complexity
  • docgen auth: Manage API authentication
  • docgen config: Configure settings
  • docgen clean: Remove generated documentation

Examples

# Generate docs for current directory
docgen generate --current-dir

# Generate docs for a specific file
docgen g -f src/main.py

# Update documentation for changed files
docgen update

# Configure output format
docgen config output_format html

Configuration

Create a .docgen.json file in your project root:

{
    "output_format": "markdown",
    "output_dir": "docs",
    "exclude_patterns": ["**/test/*", "**/*.test.*"],
    "language_settings": {
        "python": {
            "docstring_style": "google"
        }
    }
}

Supported Languages

  • Python
  • JavaScript/TypeScript
  • Java
  • And more...

Contributing

Contributions are welcome! Please read our Contributing Guidelines for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for docgen-cli 1.0.9

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

Source distribution (sdist)

Source distribution for docgen-cli 1.0.9
File Size Uploaded Provenance
docgen-cli-1.0.9.tar.gz 91.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for docgen-cli 1.0.9
File Interpreter ABI Platform
docgen_cli-1.0.9-cp39-cp39-macosx_10_9_universal2.whl CPython 3.9 CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) Details

Total release size: 259.1 kB

Release files / docgen-cli-1.0.9.tar.gz

Download URL docgen-cli-1.0.9.tar.gz
Size 91.0 kB
Tags Source
SHA-256 checksum
How to use checksums
be5498fd2294a8665112b055ad48c4afa2cf091d62fe3db72e2fe37c7cca3bff
BLAKE2b-256 checksum
How to use checksums
49bcf38354c4e35691a4ddd67020da8355639eee4ae328e2597d0d7b8ca10801
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.6

Release files / docgen_cli-1.0.9-cp39-cp39-macosx_10_9_universal2.whl

Download URL docgen_cli-1.0.9-cp39-cp39-macosx_10_9_universal2.whl
Size 168.1 kB
Tags CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
0d2f007b78ee5dc01b4b55ed6506326aa8144b933b934d1edcab0a85580ee5e5
BLAKE2b-256 checksum
How to use checksums
6316e38fedbab648a1b295664e1746d3bbf78f79faef4a1effa13928afbae4c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.6

Security for docgen-cli 1.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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