hypergumbo-lang-scip-python
SCIP-backed Python analyzer for hypergumbo, driven by scip-python (pyright).
This optional package is the second opt-in fidelity backend (after
hypergumbo-lang-rust-analyzer) and the first that executes nothing from
the analysed repository: pyright performs static inference only. It runs
beside the ast-based python analyzer, never instead of it — the two
producers' records for one declaration are folded into one node by the
ADR-0057 merge pass, and every disagreement stays visible in the provenance
slot.
What it adds, measured
On hypergumbo-core's own 179 source files (2026-09-19, scip-python 0.6.6):
the syntax arm left 4,133 method-call receivers untyped (obj.method() with
obj of unknown module); scip-python typed 3,973 of them (96.1%) — 3,840
to the stdlib (builtins.str, dict, list, pathlib.Path, re.Pattern, …),
96 in-repo, 37 third-party. That module is what hypergumbo verify-claims's
I/O-boundary and taint verdicts key on. The Rust backend measured zero
receivers typed.
Enabling it
npm install -g @sourcegraph/scip-python@0.6.6 # the producer (node + npm)
pipx install 'hypergumbo[scip-python]' # this wrapper
hypergumbo survey . --backend scip-python # one run
Durably, as a preference in either ADR-0045 config tier (allowed because the backend executes nothing):
# $XDG_CONFIG_HOME/hypergumbo/config.toml or <repo>/.hypergumbo.toml
[backends]
scip_python = true
HYPERGUMBO_SCIP_PYTHON=1 is the environment spelling; --backend tree-sitter
turns every opt-in backend off for one run. Precedence: flag > environment >
project config > user config.
When enabled but the binary or this package is missing, the CLI exits 2 with the install line rather than silently falling through.
What the translation does with scip-python's output
- Global definitions become
Symbols through the shared importer (hypergumbo_core.scip); scip-python declares noDocument.languageand noSymbolInformation.kind, so the importer reads the file extension and the SCIP descriptor grammar instead. - Parameter symbols and the per-module
__init__:declaration are dropped: the syntax arm models neither, and a node nothing can pair with is noise. - References to in-repo definitions become
calls/referencesedges. - References to external callables (stdlib, third-party) become external
call edges carrying the receiver's module —
python:pathlib.Path:0-0:glob:unresolvedwith a structureddst_ref— the same shape the syntax arm mints when it knows the module, so the two arms are comparable at every call site.
Recorded fixture
recorded/sample_project/ is a three-file package and the index.scip
scip-python 0.6.6 emitted for it (metadata.project_root normalised). Every
cross-backend test reads that recording, never anything derived from the
syntax arm's own output (ADR-0057 §12).
Metadata
Release files for hypergumbo-lang-scip-python 9.2.0
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 |
|---|---|---|---|---|
| hypergumbo_lang_scip_python-9.2.0.tar.gz | 24.4 kB | Without provenance | Details for hypergumbo_lang_scip_python-9.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hypergumbo_lang_scip_python-9.2.0-py3-none-any.whl | Python 3 | none | any | Details for hypergumbo_lang_scip_python-9.2.0-py3-none-any.whl |
Total release size: 37.7 kB
Release files / hypergumbo_lang_scip_python-9.2.0.tar.gz
| Download URL | hypergumbo_lang_scip_python-9.2.0.tar.gz |
|---|---|
| Size | 24.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24b54006ef3a9bf363f7f43939d4ea8cb0a1740c7b11484442b6f0f8be211604
|
|
BLAKE2b-256 checksum How to use checksums |
36a7781d338b5428349f9a97587e599f9d75cfb999dec986b5a712a60cda87f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / hypergumbo_lang_scip_python-9.2.0-py3-none-any.whl
| Download URL | hypergumbo_lang_scip_python-9.2.0-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
753b74a1ded225b570514dfbe12536d85a2e914a6e1eea8954e6d54d1418fbbc
|
|
BLAKE2b-256 checksum How to use checksums |
56f23553f2f06c65532e278c5f98d466565608ee11a01a3141b028fa7a34987f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Security for hypergumbo-lang-scip-python 9.2.0
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.