Skip to content
codeatlas

codeatlas

Pypi • November 29, 2026

Zero-config local codebase architecture & call-graph visualizer with an interactive Svelte UI.

pip install codeatlas-viz==0.7.1

Architecture guardrails for human- and AI-written code. CodeAtlas maps your call graph, tells you (or your coding agent) what a change will break, and fails CI when a PR adds a new circular dependency or crosses a layer boundary. One pip install , zero runtime dependencies, nothing leaves your machine.

👉 Live demo: explore Flask's call graph in your browser

I built CodeAtlas for my own projects and test every release on them. Numbers below are from codeatlas scan on a 2-core ARM cloud VM (November 2026); every "unreferenced" function was checked by hand with grep.

Framework awareness is what makes these numbers useful: discord.py cogs, axum handlers passed to routers, impl Trait for blocks, Svelte onclick={save} , Cloudflare onRequest , getattr(self, "fire") and pytest tests are recognised, so on the same projects version 0.4.1 reported 1,220 / 362 / 222 "dead" functions, almost all false alarms.

Coding agents write a lot of code quickly. They also quietly add import cycles, call the database from the UI layer, and change functions without knowing who calls them. CodeAtlas gives you three things in one small tool:

And it stays out of your way: pure Python standard library, no database, no index directory, no daemon, no API keys, no telemetry. It scans a few hundred files in seconds and works offline or in locked-down CI.

Works the same on Linux, macOS and Windows (Python 3.10+, nothing to compile, no system libraries):

Windows paths ( src\app.py ), CRLF line endings, symlinked project folders and legacy console encodings are covered by the test suite. codeatlas diff , --baseline and impact need git on the PATH; everything else works without it.

Languages: Python (full ast ), JavaScript, TypeScript and Svelte (structural parser, optional Tree-sitter), Go, Rust, Java, C and C++ (structural parser, optional Tree-sitter: pip install "codeatlas-viz[treesitter]" ).

Exclude files from the graph

Set repository-wide ignore patterns in .codeatlas.toml :

Use repeatable --ignore PATTERN flags to add to these patterns for any run of scan , serve , export , impact , check , diff , or mcp :

Patterns match filenames and paths relative to the scan root. The same exclusions apply to rescans in serve and mcp and to Git baselines. For a JSON baseline, export the snapshot with the same ignore patterns.

Built for big codebases too

A 3,000-file repository has tens of thousands of functions; drawing all of them at once helps nobody. So the UI starts where people start:

Folder overview first on large repos, with tests hidden, edges weighted by how many calls cross between folders. ( Django demo )

Focus mode : pick any function and see its callers in columns on the left and callees on the right, two hops deep. Readable at any repo size.

Blast radius that stays readable : the closest 80 callers are drawn, the rest are listed, and a "where it lands" summary shows which folders take the hit.

"Start here" panel with the busiest function, the first circular dependency and the unreferenced list one click away.

Fast: on Django (44,000 symbols, 58,000 call edges) clicks respond in under 0.4 s and the static demo transfers ~1.4 MB.

Use it with your coding agent (MCP)

or install it as a plugin, which also adds a /codeatlas:check skill:

Cursor, Windsurf, Claude Desktop, any MCP client

Architecture rules in CI

Start with codeatlas init : it writes a .codeatlas.toml with today's numbers as the baseline and suggests boundary rules from your folder layout (UI → database, domain → infrastructure, handlers → repositories, shared helpers → app code). Or write rules yourself:

Exports never contain your local absolute paths. The site only includes source code if you pass --embed-source .

Screen recordings (vertical 1080×1920 and 16:9), screenshots, X-ray cards, logo text and a ready video script live in docs/media/ . Use them freely to write or make videos of CodeAtlas.

There are excellent code-graph tools; pick the one that fits your workload. Facts below are from each project's own documentation as of November 2026.

Where CodeAtlas is the better fit: you want layer rules and "no new cycles" enforced in CI across languages, a tiny MCP surface for your agent, and zero setup (works in air-gapped or locked-down environments). Where others win: very large monorepos, compiler-grade precision (Serena), many more languages, semantic , persistent indexes.

CodeAtlas resolves calls statically. Bare calls, self.x() , typed receivers ( svc: Service , x = Service() ), module calls ( utils.load() ) and package re-exports are resolved; calls on untyped receivers only match code in imported modules, and generic names ( get , pop , json ...) are never guessed. Dynamic dispatch ( getattr , dependency injection) can't be seen statically, so "unreferenced" means candidate , not proof. Bug reports with a minimal example are very welcome.

codeatlas serve listens on 127.0.0.1 only, previews nothing but the scanned source files, and refuses requests from other websites (no CORS, Host-header and Sec-Fetch-Site checks). Passing --host 0.0.0.0 exposes your source code to everyone on the network. Git refs from the API, MCP and CLI are validated so they can't be turned into git options.

New language analyzers, resolution improvements and UI ideas are all welcome. Look for good first issue and read CONTRIBUTING.md .

Release files for codeatlas-viz 0.7.1

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

Source distribution (sdist)

Built distribution (wheel)

Total release size: 226.0 kB

Release files / codeatlas_viz-0.7.1.tar.gz

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Release files / codeatlas_viz-0.7.1-py3-none-any.whl

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Security for codeatlas-viz 0.7.1

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Both files in this release have been uploaded with provenance metadata.

Attestation for codeatlas_viz-0.7.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Attestation for codeatlas_viz-0.7.1-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

Nov 29, 2026 2 release files Full provenance

Nov 29, 2026 2 release files Full provenance

Nov 29, 2026 2 release files Full provenance

Nov 29, 2026 2 release files Full provenance

Nov 29, 2026 2 release files Full provenance

Nov 29, 2026 2 release files Full provenance

Nov 29, 2026 2 release files Full provenance

Nov 29, 2026 2 release files Full provenance

Nov 19, 2026 2 release files Full provenance

Nov 18, 2026 2 release files Full provenance

Nov 18, 2026 2 release files Full provenance

Nov 18, 2026 2 release files Full provenance

Nov 18, 2026 2 release files Full provenance

Nov 18, 2026 2 release files Full provenance