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
brew install nitkrar/tap/repoglass # or: uv tool install repoglass
cd ~/your/repo
rpg search "how are retries handled"
pipx install repoglass works too. Each of these 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.pyprints current corpus scores.python -m unittest discover -s testsruns the test suite. It is stdlibunittest; 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.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| repoglass-0.3.1.tar.gz | 114.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| repoglass-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 199.8 kB
Release files / repoglass-0.3.1.tar.gz
| Download URL | repoglass-0.3.1.tar.gz |
|---|---|
| Size | 114.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
428784f3d2d20e418c3376a298de2832d4b0584e8de464548b68d1a9fd079930
|
|
BLAKE2b-256 checksum How to use checksums |
e60e5103f375df344da32ff6f001fdb340f13d99bfb933f2b48d330f00f7ed38
|
| 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 28, 2026.
Transparency logRelease files / repoglass-0.3.1-py3-none-any.whl
| Download URL | repoglass-0.3.1-py3-none-any.whl |
|---|---|
| Size | 85.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f8f2b4f01d3ff59038ed28896a883f07af9c30f3285be7a2e0d8fd378ddc2e7
|
|
BLAKE2b-256 checksum How to use checksums |
52d177e550d192fb54c8845cbbd0afac88fad5c7e2ca03b4908fad4f9516b35a
|
| 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 28, 2026.
Transparency log