Skip to main content

repoglass

Local code and prose search with exact symbol lookup.

repoglass builds a local index for one directory tree. rpg search does ranked retrieval; rpg defs and rpg refs read the stored symbol table for exact navigation.

Quickstart

uv tool install repoglass        # or: pipx install repoglass
cd ~/your/repo
rpg search "how are retries handled"

Either installer puts rpg and repoglass on PATH and keeps them there across upgrades. To work on repoglass itself, pip install -e . inside a virtualenv leaves both commands in that virtualenv's bin/.

The first command that needs an index builds it. If the default model or grammar bundle is not cached yet, that first run may download them; later runs are local.

Next commands

rpg defs Index
rpg refs humanise
rpg symbols --count-by lang
rpg status
repoglass --help
repoglass search --help

Docs

  • docs/design.md records invariants that are not obvious from one source file.
  • docs/decisions-log.md records non-obvious decisions and absences.
  • docs/worklist.md lists current user-visible defects.
  • ./.venv/bin/python benchmarks/run_corpus.py prints current corpus scores.
  • python -m unittest discover -s tests runs the test suite. It is stdlib unittest; there is no test dependency to install.

Licence

MIT, see LICENSE. Third-party material is attributed in src/repoglass/corpus/queries/NOTICE.md.

Release files for repoglass 0.1.0

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

Source distribution (sdist)

Source distribution for repoglass 0.1.0
File Size Uploaded
repoglass-0.1.0.tar.gz 125.6 kB Details

Built distribution (wheel)

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

Total release size: 220.3 kB

Release files / repoglass-0.1.0.tar.gz

Download URL repoglass-0.1.0.tar.gz
Size 125.6 kB
Tags Source
SHA-256 checksum
How to use checksums
178ee09147a3dd0723252713cf259a45a93d390c6690abdc6fc5b9035da59a3b
BLAKE2b-256 checksum
How to use checksums
3df52ef71c4cda16c7829337125709b3d9b1e608fca506d10df77e72e4a22189
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release files / repoglass-0.1.0-py3-none-any.whl

Download URL repoglass-0.1.0-py3-none-any.whl
Size 94.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e83feee0b2485b8063effb24a79116472778b2fe738c689c36d6602587a6a699
BLAKE2b-256 checksum
How to use checksums
1b7de5877d1cc6a4f1ad713df96f0b5db7b625ae681220d96f53b00be8d9cc18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.0 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