Skip to main content

English | 日本語

digestkit-core

CI License: Apache 2.0 Python Ruff

Neutral core library providing Source / Extractor protocols and reusable concrete implementations shared by digestkit (human-facing 1:1 digest pipeline) and rag-ingest (machine-facing 1:N ingestion pipeline).

digestkit-core is deliberately kept free of LLM, vector-store, and notification dependencies so it stays usable across both consumers.

What's inside

Module Provides
digestkit_core.protocols Source, Extractor (runtime_checkable Protocols)
digestkit_core.types Item, Digest, DigestkitError, FailureInfo, ...
digestkit_core.sources.local_directory LocalDirectorySource (filesystem glob)
digestkit_core.sources.notion_database NotionDatabaseSource (Notion DB query + ack callbacks)
digestkit_core.extractors.pdf PDFExtractor (pypdfium2 by default, engine="pypdf" to opt out) + ExtractionError
digestkit_core.extractors.webpage WebPageExtractor (httpx + trafilatura)

Installation

pip install digestkit-core

For uv projects:

[project]
dependencies = ["digestkit-core>=0.2,<0.3"]

End users will typically not depend on digestkit-core directly. Installing digestkit or rag-ingest pulls it in automatically.

From git (unreleased changes)

To track main ahead of a release:

pip install "digestkit-core @ git+https://github.com/koki-nakamura22/inboxkit.git@main#subdirectory=packages/digestkit-core"

Neutrality contract

digestkit-core is forbidden to depend on:

  • LLM clients (litellm, provider SDKs)
  • Vector stores (sqlite-vec, ...)
  • Notification systems (SMTP, Slack SDK)
  • digestkit or rag-ingest themselves (reverse-direction dependency)

This is enforced in CI via .github/workflows/digestkit-core-inspection.yml. The rationale is documented in ADR-0003.

Contributing

See the umbrella CONTRIBUTING.md for development setup, lint / format / typecheck targets, and the pre-commit hook.

Metadata

Release files for digestkit-core 0.2.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 digestkit-core 0.2.0
File Size Uploaded Provenance Actions
digestkit_core-0.2.0.tar.gz 21.1 kB With provenance Details for digestkit_core-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for digestkit-core 0.2.0
File Interpreter ABI Platform Actions
digestkit_core-0.2.0-py3-none-any.whl Python 3 none any Details for digestkit_core-0.2.0-py3-none-any.whl

Total release size: 38.3 kB

Release files / digestkit_core-0.2.0.tar.gz

Download URL digestkit_core-0.2.0.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b9e41c5acfa06cb550ba28663c84d29d8fe789800a04aa1deb743a8d25c135ad
BLAKE2b-256 checksum
How to use checksums
b6df30417cf23f4996d15d2966fb24bb8c505f2860ba7d7fbc1bad10ed7291b6
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 Aug 9, 2026.

Transparency log

Release files / digestkit_core-0.2.0-py3-none-any.whl

Download URL digestkit_core-0.2.0-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ced20e245f58191c66ef4f480817e93c923c23990d7d06684991398d1198efd
BLAKE2b-256 checksum
How to use checksums
c33e820b56b577a9876931c2c2d32f211d6533f6639fae746e8dfe20f8bef909
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 Aug 9, 2026.

Transparency log

Security for digestkit-core 0.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for digestkit_core-0.2.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 Aug 9, 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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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