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

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.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.

Metadata

Release files for repoglass 0.3.4

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.3.4
File Size Uploaded
repoglass-0.3.4.tar.gz 121.6 kB Details

Built distribution (wheel)

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

Total release size: 212.8 kB

Release files / repoglass-0.3.4.tar.gz

Download URL repoglass-0.3.4.tar.gz
Size 121.6 kB
Tags Source
SHA-256 checksum
How to use checksums
eac2e1dff4100aff016c9115964c15b97a1e87711fdb586de4b54c67025c84bd
BLAKE2b-256 checksum
How to use checksums
1299145e7b60433f5c936bd9e57f4ae4c06bb4930056798ba35adab56c380368
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 Oct 2, 2026.

Transparency log

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

Download URL repoglass-0.3.4-py3-none-any.whl
Size 91.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
593f8549aaaaa253f5b15a3719822ecd01864658e264dac0623e84027acc7484
BLAKE2b-256 checksum
How to use checksums
d95804cea34c4280613e8050dd72b4e1fe447db7f55f5ea64a505f6ed734c75d
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 Oct 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

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