understand-quickly (Python SDK)
A thin Python client for the understand-quickly registry of code-knowledge graphs.
pip install understand-quickly
- Sync client (zero runtime deps beyond
httpx):Registry - Async client (using
httpx.AsyncClient):AsyncRegistry - CLI:
python -m understand_quicklyorunderstand-quickly - 60-second in-memory TTL cache by default.
Quick examples
from understand_quickly import Registry
reg = Registry() # default registry: looptech-ai.github.io/understand-quickly
# 1. List all healthy entries.
entries = reg.list(status="ok")
# 2. Filter by format.
ua = reg.list(format="understand-anything@1")
# 3. Resolve an entry id to its graph body.
graph = reg.get_graph("Lum1104/Understand-Anything")
# 4. Map a GitHub URL back to its registry entry.
hit = reg.find_graph_for_repo("https://github.com/owner/repo")
# 5. Cross-graph concept search (uses stats.json + entry metadata).
results = reg.search("auth", scope="all")
Async equivalent
import asyncio
from understand_quickly import AsyncRegistry
async def main() -> None:
async with AsyncRegistry() as reg:
entries = await reg.list(status="ok")
graph = await reg.get_graph(entries[0]["id"])
print(len(graph.get("nodes", [])))
asyncio.run(main())
CLI
understand-quickly list [--status ok] [--format understand-anything@1] [--owner OWNER] [--tag TAG]
understand-quickly get-graph <entry_id>
understand-quickly find <github_url_or_owner/repo>
understand-quickly search <query> [--scope all|entries|concepts]
understand-quickly stats
JSON is emitted by default. Add --pretty for indented JSON (and a compact table for list). Both python -m understand_quickly ... and understand-quickly ... work after install.
Exit codes: 0 success, 1 not-found (get-graph, find), 2 HTTP/parse error, 64 usage error.
Environment variables
| Name | Purpose | Default |
|---|---|---|
UNDERSTAND_QUICKLY_REGISTRY |
Override the registry base URL. | https://looptech-ai.github.io/understand-quickly/ |
The base URL can also be passed explicitly: Registry("https://my-mirror.example/").
Public types
understand_quickly.types exports TypedDict shapes for the documents this SDK fetches:
Entry— one registry entry (matchesregistry.json).Stats,StatsTotals,StatsKind,StatsLanguage,StatsConcept—stats.jsonshape.WellKnown,WellKnownRepo—.well-known/repos.jsonshape.SearchHit— single result fromRegistry.search().Graph— opaque dict, shape depends onentry["format"].
Everything is total=False so you can rely on entry.get("status") returning safely.
Development
cd python-sdk
python -m pip install -e ".[dev]"
pytest -q
python -m build .
Release notes
See the project release notes on GitHub. Python SDK versions are tagged pysdk-vX.Y.Z.
License
Apache 2.0 — Copyright (c) 2026 Alex Macdonald-Smith. Registry data covered by the Understand-Quickly Data License 1.0.
Metadata
Release files for understand-quickly 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| understand_quickly-0.1.1.tar.gz | 18.4 kB | Without provenance | Details for understand_quickly-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| understand_quickly-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for understand_quickly-0.1.1-py3-none-any.whl |
Total release size: 40.1 kB
Release files / understand_quickly-0.1.1.tar.gz
| Download URL | understand_quickly-0.1.1.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45149a569d841f8cdab12c1d2093be380af2ef3fea27faa969dc2bb074ad056e
|
|
BLAKE2b-256 checksum How to use checksums |
0ddbbfb7b757559785972ceaea11574038e90d0735b3000284f7dbc25d9798a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / understand_quickly-0.1.1-py3-none-any.whl
| Download URL | understand_quickly-0.1.1-py3-none-any.whl |
|---|---|
| Size | 21.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d517fb1a310fe3dc19a3eb0cbd61df1286baed4e74f0dcfd54834aa379860bd
|
|
BLAKE2b-256 checksum How to use checksums |
d019aca2cc87094fb1cee68cd1184a9a96bed6104caeace25cb0ddd5dea69fe5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for understand-quickly 0.1.1
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.