Skip to main content

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

  • Context is the central registry for language plugins, parsers, linkers, resolvers, symbol caches, and entities.
  • AnalysisScope describes the permitted analysis universe, including project, source, generated, declaration, and dependency roots, selected languages and extensions, exclusions, and root provenance.
  • EntityRegistry stores entities by ID and maintains a fully qualified name-to-ID index for entities with FQNs.
  • SourceParser, Linker, Resolver, and SymbolCache are 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.

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)

Source distribution for deproc-core 0.4.0
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)

Table of built distributions (wheels) for deproc-core 0.4.0
File Interpreter ABI Platform Actions
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 log

Release 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 log

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

Select from 2 files

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 log

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.

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