Skip to main content

A tool for analyzing and visualizing code architecture

Project description

Codex-Arch

A tool for analyzing and visualizing code architecture.

Installation

# Install from source
git clone https://github.com/egouilliard/codex-arch.git
cd codex-arch
pip install -e .

# Or directly from PyPI
pip install codex-arch

Quick Start

# Run a full analysis
codex-arch run-all path/to/your/code -o output --convert-deps

Available Commands

  • analyze: Run a complete analysis pipeline
  • bundle: Package analysis artifacts
  • changes: Detect changes between Git commits
  • convert-deps: Convert dependency format for visualization
  • dependencies: Extract dependency relationships
  • filetree: Generate a directory structure representation
  • graph: Generate architecture graphs
  • hooks: Manage Git hooks integration
  • index: Index a repository for faster searching
  • query: Search for files, symbols, or dependencies
  • query-deps: Query dependency information for specific files
  • report: Generate a report about code architecture
  • run-all: Run all analysis steps in sequence
  • summarize: Summarize changes between Git commits
  • api: Launch a REST API server

For detailed documentation on all commands, see CLI Usage Guide or run:

codex-arch --help
codex-arch <command> --help

Requirements

  • Python 3.7+
  • GraphViz (for visualization)

Command Examples

Dependency Analysis

# Extract dependencies
codex-arch dependencies my_project -o output

# Generate visualization
codex-arch graph output/python_dependencies.json output/architecture_graph

Enhanced Visualization

codex-arch dependencies my_project -o output
codex-arch convert-deps output/python_dependencies.json output/complete_dependencies.json
codex-arch graph output/complete_dependencies.json output/complete_arch_graph

File Structure Analysis

codex-arch filetree my_project -o structure.json

Complete Analysis

codex-arch run-all my_project -o analysis_results --exclude-dirs venv,node_modules,.git

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codex_arch-1.0.1.tar.gz (154.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codex_arch-1.0.1-py3-none-any.whl (200.9 kB view details)

Uploaded Python 3

File details

Details for the file codex_arch-1.0.1.tar.gz.

File metadata

  • Download URL: codex_arch-1.0.1.tar.gz
  • Upload date:
  • Size: 154.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for codex_arch-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f40f53fd9fa6a3eedbca6e163faad0cd7e438afdfe25476cf87f8da4e5cd16dc
MD5 995257cfde69f6e7dede3cf75279c10e
BLAKE2b-256 f05770fed0830764f6302000d1151e696d48db8a750bd352fbbc025ef22c177e

See more details on using hashes here.

File details

Details for the file codex_arch-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: codex_arch-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 200.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for codex_arch-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fce75313febc3243c7fcc5cca70fd137957718717cb63978140fdbdc6eb4bc6f
MD5 d50182f1a233578a916f8a57fc7057d8
BLAKE2b-256 899721c9bf839911324356f7c889fbdb8952a432d51983a4b17e534c777ef076

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page