-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Dianel edited this page Apr 9, 2026
·
1 revision
pip install graphoptimOr with uv:
uv pip install graphoptimTo use the benchmark pipeline (requires API keys):
pip install "graphoptim[benchmark]"git clone https://github.com/agodianel/Graphoptim-Code-Optimizer.git
cd graphoptim
# Using uv (recommended)
uv pip install -e ".[dev,benchmark]"
# Or using pip
pip install -e ".[dev,benchmark]"graphoptim --version
# graphoptim, version 0.1.0
graphoptim config show- Python ≥ 3.9
-
Core dependencies (installed automatically):
-
networkx≥ 3.0 — Graph algorithms -
radon≥ 6.0 — Cyclomatic complexity -
scipy≥ 1.10 — Statistical tests -
pandas≥ 2.0 — Data analysis -
rich≥ 13.0 — CLI output -
click≥ 8.0 — CLI framework
-
For the benchmark pipeline, set these environment variables:
export ANTHROPIC_API_KEY="sk-ant-..." # Claude Opus 4.6
export OPENAI_API_KEY="sk-..." # GPT-5.2
export GOOGLE_API_KEY="AI..." # Gemini 2.5 Pro