Blastmap
See your codebase the way your compiler does.
Blastmap maps any Python repository into an interactive dependency graph — every file, every import, every connection — in a single command. Built for engineers who need to understand large codebases fast.
Install
pip install blastmap
Usage
Scan the current directory:
blastmap scan
Scan any repo:
blastmap scan /path/to/repo
Custom output file:
blastmap scan /path/to/repo --output my-graph.html
Then open the generated HTML file in your browser.
Features
- Zero config — point it at any Python repo and it works
- Handles both standard and
src/layout repos automatically - Respects
.gitignore— no noise from virtual environments or build artifacts - Interactive graph — zoom, pan, drag nodes
- Click any node to see its parents and children instantly
- Search bar — find any file or module without hunting through the graph
- Nodes sized by dependents — the most critical files are visually largest
- Custom tooltips — filename, path, and dependent count on hover
How It Works
Blastmap uses Python's built-in ast module to parse every .py file in your repo and extract import relationships. It then builds a directed graph with networkx and renders it as a self-contained interactive HTML file using pyvis.
No servers. No accounts. No data leaves your machine.
Examples
| Repo | Files | Edges | Most Critical File |
|---|---|---|---|
| Flask | 84 | 71 | flask/__init__.py (44 dependents) |
| Scrapy | 446 | 1,794 | scrapy/__init__.py (191 dependents) |
| Django | 2,911 | 7,585 | django/test/__init__.py (790 dependents) |
Roadmap
- JavaScript / TypeScript support
- Java and Go support
- Blast-radius command — highlight everything affected by a given file
- VS Code extension
License
MIT
Metadata
Release files for blastmap 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blastmap-0.1.2.tar.gz | 9.3 kB | Without provenance | Details for blastmap-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blastmap-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for blastmap-0.1.2-py3-none-any.whl |
Total release size: 18.0 kB
Release files / blastmap-0.1.2.tar.gz
| Download URL | blastmap-0.1.2.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3783abaf6b779a3d721b575dec8bb956a4963fdf57b5aeb9dc0f735eb85c3bb
|
|
BLAKE2b-256 checksum How to use checksums |
f6d41b19b64e546833d1c5b6459233ed876c3cb75a1d0e9479089877e3203ad1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / blastmap-0.1.2-py3-none-any.whl
| Download URL | blastmap-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ac79410dc5de784ae051441e9f8c778d63c24b64fc535c2ac491ec8f3ebd398
|
|
BLAKE2b-256 checksum How to use checksums |
1430551b043a52b4b2ce571608bca22f8ce946947e59c3fac0213c8977d1bde7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for blastmap 0.1.2
Provenance
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.