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 pipelinebundle: Package analysis artifactschanges: Detect changes between Git commitsconvert-deps: Convert dependency format for visualizationdependencies: Extract dependency relationshipsfiletree: Generate a directory structure representationgraph: Generate architecture graphshooks: Manage Git hooks integrationindex: Index a repository for faster searchingquery: Search for files, symbols, or dependenciesquery-deps: Query dependency information for specific filesreport: Generate a report about code architecturerun-all: Run all analysis steps in sequencesummarize: Summarize changes between Git commitsapi: 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
Release history Release notifications | RSS feed
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)
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
codex_arch-1.0.1-py3-none-any.whl
(200.9 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f40f53fd9fa6a3eedbca6e163faad0cd7e438afdfe25476cf87f8da4e5cd16dc
|
|
| MD5 |
995257cfde69f6e7dede3cf75279c10e
|
|
| BLAKE2b-256 |
f05770fed0830764f6302000d1151e696d48db8a750bd352fbbc025ef22c177e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fce75313febc3243c7fcc5cca70fd137957718717cb63978140fdbdc6eb4bc6f
|
|
| MD5 |
d50182f1a233578a916f8a57fc7057d8
|
|
| BLAKE2b-256 |
899721c9bf839911324356f7c889fbdb8952a432d51983a4b17e534c777ef076
|