deproc-core
deproc-core provides the language-agnostic contracts and runtime used by the
deproc source-analysis plugins.
It supplies the shared pipeline for discovering source files, registering
entities, linking package hierarchies, and resolving symbols. Language-specific
parsing and semantics live in separate plugin packages such as
deproc-python and
deproc-java.
Installation
python -m pip install deproc-core
deproc-core supports Python 3.12 and newer.
Core concepts
Contextis the central registry for language plugins, parsers, linkers, resolvers, symbol caches, and entities.AnalysisScopedescribes the permitted analysis universe, including project, source, generated, declaration, and dependency roots, selected languages and extensions, exclusions, and root provenance.EntityRegistrystores entities by ID and maintains a fully qualified name-to-ID index for entities with FQNs.SourceParser,Linker,Resolver, andSymbolCacheare the protocols implemented by language plugins.
Example
from deproc.core.context import Context
from deproc.core.discovery import find_source_files
from deproc.core.scope import AnalysisScope
scope = AnalysisScope(project_roots=["/path/to/project"])
context = Context(scope=scope)
context.set_language("python", [".py", ".pyi"], aliases=["py"])
files = find_source_files(context)
Plugins register their parser, linker, and resolver implementations with the context, and may optionally register a symbol cache.
Related packages
deproc-python— Python parsing, linking, and semantic resolution.deproc-java— Java parsing, linking, and semantic resolution.deproc-utils-tree-sitter— shared tree-sitter utilities.deproc-utils-python-env— Python environment discovery utilities.
Development
Source code and tests are maintained in the deproc repository.
uv sync
uv run pytest deproc-core/tests
deproc-core is released under the Apache-2.0 license.
Metadata
Release files for deproc-core 0.4.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 |
|---|---|---|---|---|
| deproc_core-0.4.0.tar.gz | 21.0 kB | With provenance | Details for deproc_core-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deproc_core-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for deproc_core-0.4.0-py3-none-any.whl |
Total release size: 35.1 kB
Release files / deproc_core-0.4.0.tar.gz
| Download URL | deproc_core-0.4.0.tar.gz |
|---|---|
| Size | 21.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79c980775056d1f3983a0836eba38fd139bde8687cbe599bed130a948515ec01
|
|
BLAKE2b-256 checksum How to use checksums |
f312ba102a009bae22a4dc62918a34595c42d1811ff0602604ce10cf585ea6f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 2, 2026.
Transparency logRelease files / deproc_core-0.4.0-py3-none-any.whl
| Download URL | deproc_core-0.4.0-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1260eab449097663f4be2f795306f51b2ec6ed5df31669ffb9d2ff9b96ce73f
|
|
BLAKE2b-256 checksum How to use checksums |
207ef20b6cdbd68655c309176d9999c317763aec6716ce3709321e1a54f68fd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 2, 2026.
Transparency logSecurity for deproc-core 0.4.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for deproc_core-0.4.0.tar.gz
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 Nov 2, 2026.
Transparency logA 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.