Skip to main content

reposhape

reposhape draws a map of a codebase: every file, the folder it sits in, and which files import which. It reads TypeScript, JavaScript, Vue and Python, runs on your machine, and opens the map in your browser.

LangChain's monorepo as a map: folders as circles, files as dots sized by line count

The folders · size view of LangChain, 1,766 source files with tests hidden. Each circle is a folder and each dot is a file, sized by its line count. Colours are clusters worked out from the imports.

The same map with the imports that cross between packages drawn on top

The folders · imports view: the same repo with the imports that cross from one package to another drawn on top.

Install

You need Python 3.14 on macOS or Linux.

uv tool install reposhape

pipx install reposhape works too.

Quick start

cd path/to/your/repo
reposhape up .

This analyses the repo, starts a small local server and opens the map. The server keeps running after you close the terminal. reposhape down stops it.

Command What it does
reposhape up . Analyse the current repo and open its map
reposhape up <url> Clone a repo, analyse it and open its map
reposhape up Open the page on the repo picker
reposhape status Show whether the server is running, and where
reposhape down Stop the server

Privacy

Your code is parsed locally with tree-sitter. No LLM and no outside service is involved. The server only listens on 127.0.0.1 and rejects requests from other websites.

More

Docs, source and issues: https://github.com/nabinpkl/reposhape. MIT licensed.

Metadata

Release files for reposhape 0.1.3

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

Source distribution (sdist)

Source distribution for reposhape 0.1.3
File Size Uploaded
reposhape-0.1.3.tar.gz 835.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for reposhape 0.1.3
File Interpreter ABI Platform
reposhape-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 1.7 MB

Release files / reposhape-0.1.3.tar.gz

Download URL reposhape-0.1.3.tar.gz
Size 835.4 kB
Tags Source
SHA-256 checksum
How to use checksums
14db5f7d4a941e88a493fd6b31a531f6dfba2fd18b75f2b70cbd10985a4d7761
BLAKE2b-256 checksum
How to use checksums
ee852bcec1d41c963a7116c84a41a9b3f2ff40ceb18fc39a7e1e30ef84d9475d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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.

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 Oct 4, 2026.

Transparency log

Release files / reposhape-0.1.3-py3-none-any.whl

Download URL reposhape-0.1.3-py3-none-any.whl
Size 841.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89c2310d4dc16ea11d9c22177a62843a4272ce21a56c223429781a23e51287dc
BLAKE2b-256 checksum
How to use checksums
0908324ccf62de57d414f82f19ff0bde0f1b1ec6ac5876c6124457af3aec2495
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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.

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 Oct 4, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.4

2 release files

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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