Skip to main content

CodeViewX

AI-Powered Code Documentation Generator

中文 | English

PyPI version Python Version License: GPL v3 Downloads

CodeViewX automatically analyzes your codebase and generates professional technical documentation using AI (Anthropic Claude + DeepAgents + LangChain).

✨ Key Features

  • 🤖 AI-Powered Analysis: Automatically understands code structure and business logic
  • 📝 Complete Documentation: Generates 8 standard chapters (overview, quick start, architecture, core mechanisms, data models, API reference, development guide, testing)
  • 🌐 Multi-Language: Supports Chinese, English, Japanese, Korean, French, German, Spanish, Russian
  • 🖥️ Documentation Browser: Built-in web server for elegant documentation display
  • ⚡ Fast Search: Uses DeepAgents' built-in code search tools

📦 Quick Start

Installation

# Install CodeViewX
pip install codeviewx

# Configure API Key and base url
export ANTHROPIC_AUTH_TOKEN='your-api-key-here'
export ANTHROPIC_BASE_URL='https://api.anthropic.com/v1'

Get your API key at Anthropic Console

Basic Usage

# Generate documentation for current directory
codeviewx

# Specify project path and language
codeviewx -w /path/to/project -l English -o docs

# Start documentation browser
codeviewx --serve -o docs

Python API

from codeviewx import generate_docs, start_document_web_server

# Generate documentation
generate_docs(
    working_directory="/path/to/project",
    output_directory="docs",
    doc_language="English"
)

# Start web server
start_document_web_server("docs")

📚 Documentation

For complete documentation, visit the docs/en directory:

🔧 Troubleshooting

Having issues? Check the detailed documentation for help.

Quick Tips:

  • API key error? Ensure ANTHROPIC_AUTH_TOKEN environment variable is set correctly
  • Search not working? Upgrade deepagents and reinstall CodeViewX dependencies
  • More questions? See docs/en for complete documentation

🤝 Contributing

Contributions are welcome! See Contributing Guide for details.

📄 License

GNU General Public License v3.0 - see LICENSE file.

🙏 Acknowledgments

Built with Anthropic Claude, DeepAgents, and LangChain.


⭐ Star this project if you find it helpful!

Metadata

Release files for codeviewx 0.2.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 codeviewx 0.2.9
File Size Uploaded
codeviewx-0.2.9.tar.gz 160.2 kB Details

Built distribution (wheel)

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

Total release size: 203.3 kB

Release files / codeviewx-0.2.9.tar.gz

Download URL codeviewx-0.2.9.tar.gz
Size 160.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cc1fc982440c23ad980cfea11349771853c5105adef416b5edef648eacc4639d
BLAKE2b-256 checksum
How to use checksums
085fd0e3db17acb90904f42db0b042cd5e8acd230dcae64e5850c29bf6c8282e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / codeviewx-0.2.9-py3-none-any.whl

Download URL codeviewx-0.2.9-py3-none-any.whl
Size 43.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75a095229c807a03bf49dd3826145b7902187a72afd3864debe481c8a903b69f
BLAKE2b-256 checksum
How to use checksums
ef1b0f6c15ff2834c208e57c26bad189bf9b58595b16af38555408e38cad8267
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.2.9 This release

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

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