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.0.tar.gz
(153.9 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.0-py3-none-any.whl
(200.6 kB
view details)
File details
Details for the file codex_arch-1.0.0.tar.gz.
File metadata
- Download URL: codex_arch-1.0.0.tar.gz
- Upload date:
- Size: 153.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21954c1f7c36c69e9307c506eb7f2dae5f5fe9521959be617839f6347bca6143
|
|
| MD5 |
5f19989feb2f841d711dc77b4c304d2b
|
|
| BLAKE2b-256 |
7bc8feaa4eb5f0d724509b29403d7b683f9a36ea2e2775a14aecca683804482d
|
File details
Details for the file codex_arch-1.0.0-py3-none-any.whl.
File metadata
- Download URL: codex_arch-1.0.0-py3-none-any.whl
- Upload date:
- Size: 200.6 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 |
9eca65e746d518b37024f4837589e2f82fb68957c125dbb2dc8266f541b8e256
|
|
| MD5 |
6aeb88ddc67591ab9a4882c5e02f4888
|
|
| BLAKE2b-256 |
35aaa21c1b45a56c3faafe224cf846fa38c21c131b41e9a645d3cf4b8320492b
|