Skip to main content

codexray

Understand a Python codebase in seconds.

codexray answers the questions you actually have when you open a project you've never seen before: What is this? Where does execution start? How do the parts connect? Is there anything broken?

Install

pip install codexray

Usage

codexray                    # default: files, lines, largest files
codexray --entrypoints      # where execution starts
codexray --deps             # internal import graph + external packages
codexray --unused           # files nothing imports (dead code candidates)
codexray --tests            # test files and framework
codexray --onboard          # guided reading order for newcomers
codexray --json             # machine-readable output of everything
codexray --explain          # AI summary (requires GROQ_API_KEY)

Example

$ codexray /path/to/flask/src/flask --entrypoints

Entry points in /path/to/flask/src/flask:

  [__main__]  cli.py
  [main()]    cli.py
  [pkg-main]  __main__.py

Why

Most developers spend 80% of their time reading code, not writing it. codexray makes that reading faster — whether you're joining a new team, returning to an old project, or reviewing code an AI just generated.

AI mode (optional)

The --explain flag sends the largest files to an LLM and returns a plain-English summary. Uses Groq by default. Set your key:

export GROQ_API_KEY="gsk_..."

Optional: override the model with CODEXRAY_MODEL (default: openai/gpt-oss-120b).

License

MIT

Release files for hush-codexray 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hush-codexray 0.1.1
File Size Uploaded
hush_codexray-0.1.1.tar.gz 9.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hush-codexray 0.1.1
File Interpreter ABI Platform
hush_codexray-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 19.3 kB

Release files / hush_codexray-0.1.1.tar.gz

Download URL hush_codexray-0.1.1.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
26db2e2f88c639a24f0e5f64822e110d57858a46f540b0ba208ccaf52c932a32
BLAKE2b-256 checksum
How to use checksums
6b359f1f79c2a3993b7c5aaaf7c28a78de2244cf49d68ddde38885946d8a568e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Release files / hush_codexray-0.1.1-py3-none-any.whl

Download URL hush_codexray-0.1.1-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eaa5e3fe34cf10ab67d4e889bb3625ebd71a0ec6bc9f87990012e9606ecf2a39
BLAKE2b-256 checksum
How to use checksums
5d9d8861f64758279a9699489c866381180ca0e880a1248f2e7f1854b19a5f9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.1.1 This release

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