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.3.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 | |
|---|---|---|---|
| deproc_core-0.3.0.tar.gz | 18.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deproc_core-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.9 kB
Release files / deproc_core-0.3.0.tar.gz
| Download URL | deproc_core-0.3.0.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42b096fdc392e4d54904827afd747b1d3dcca3d1c9f247289c155ca3a40ca0d9
|
|
BLAKE2b-256 checksum How to use checksums |
818254e45eaace1dc2aefdd14c44bd4862ba6546ccd347fc8d9dd39ce389f9ea
|
| 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 30, 2026.
Transparency logRelease files / deproc_core-0.3.0-py3-none-any.whl
| Download URL | deproc_core-0.3.0-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e8b16f4834764e041e1dcc492604bdef5b19cc39a15d1741a1f93db3b89482e
|
|
BLAKE2b-256 checksum How to use checksums |
ad193011a19079c8d172a3a5db8f5567d4dde2202c4523200b95bc2f4fdd3889
|
| 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 30, 2026.
Transparency log