PyIngestKit
PyIngestKit is a focused Python framework for reliable, traceable and replayable ingestion.
Acquire external data, preserve durable RAW evidence, decode and validate it, create immutable dataset versions, then publish or materialize them explicitly.
2.1 stable
2.1.0 is the LOT-30 stable release. It promotes the fully qualified 2.1.0rc1 governance contract unchanged: durable lifecycle ledgers, filesystem/S3 CAS publication, retention/holds, guarded GC, rollback and crash/restart reconciliation remain additive under qualified namespaces.
The exact 2.0 package root, IngestionRuntime.run(...), stable provider Protocols and version-1 portable wire contracts remain frozen. Applications that do not use governance APIs do not need to change their 2.0 imports or runtime composition.
The V1 Job / Pipeline / Step / Runner execution model is not aliased into the 2.x root. Existing V1 workloads should remain pinned to the 1.x line until they are migrated semantically.
Product boundary
PyIngestKit owns HOW TO INGEST. External orchestrators own WHEN TO RUN.
It is not Airflow, Dagster, Prefect, Celery, a distributed scheduler, a Data Platform, a Data Catalog, IAM, or cloud provisioning.
ArtifactStore != DatasetVersionStore
ArtifactStore != publication target
DatasetVersion != provider object version
Replay != new source acquisition
PyIngestKit != orchestrator
Canonical 2.x root API
The 2.0 root is intentionally small:
from pyingestkit import (
ArtifactReference,
DatasetVersion,
DatasetVersionReference,
IngestionDefinition,
IngestionResult,
IngestionRun,
IngestionRunId,
IngestionRuntime,
PublishedDataset,
ResourceReference,
Source,
)
The canonical synchronous execution entry point is IngestionRuntime.run(...).
from pathlib import Path
from pyingestkit import IngestionDefinition, IngestionRuntime, Source
from pyingestkit.adapters.filesystem import FileArtifactStore, FileSourceConnector
from pyingestkit.application.decoders import DecoderRegistry
from pyingestkit.application.sources import SourceRegistry
from pyingestkit.decoders import CsvDecoder
from pyingestkit.stores import FileDatasetVersionStore
root = Path("./.pyingest-v2")
sources = SourceRegistry([FileSourceConnector()])
decoders = DecoderRegistry([CsvDecoder()])
runtime = IngestionRuntime(
sources=sources,
decoders=decoders,
artifacts=FileArtifactStore(root=root / "artifacts"),
versions=FileDatasetVersionStore(root=root / "datasets"),
)
definition = IngestionDefinition(
name="customers",
source=Source.file(path="./customers.csv"),
decoder="csv",
dataset="customers",
)
result = runtime.run(definition)
print(result.status)
Installation
Base installation is provider-neutral:
pip install "pyingestkit==2.1.0"
Install only the providers required by the application:
pip install "pyingestkit[http]==2.1.0"
pip install "pyingestkit[postgres]==2.1.0"
pip install "pyingestkit[s3]==2.1.0"
pip install "pyingestkit[excel]==2.1.0"
pip install "pyingestkit[parquet]==2.1.0"
The base package does not require httpx, SQLAlchemy, psycopg, boto3, OpenPyXL, PyArrow or PyTransformKit.
Core lifecycle
Source
↓
acquisition
↓
durable RAW ArtifactReference
↓
decoder
↓
validation / quality evidence
↓
immutable DatasetVersion
↓
DatasetVersionReference
├── explicit publication
├── explicit target materialization
└── strict replay / verification
Providers and ports
The stable provider boundary is expressed through framework-owned Protocols:
SourceConnector
Decoder
ArtifactStore
DatasetVersionStore
DatasetPublisher
DatasetVersionMaterializerV2
DatasetTargetV2
Provider implementations remain replaceable. The framework does not expose boto3 clients, SQLAlchemy engines, open file handles or DataFrames as durable public contracts.
Replay and reproducibility
V2 replay starts from preserved evidence. It allocates a new IngestionRunId, resolves the historical RAW artifact and verifies the resulting immutable dataset identity.
Replay is fail-closed when required historical evidence is missing or inconsistent. It does not silently reacquire the original source.
PyTransformKit integration
Transformation remains outside the ingestion core and is integrated through portable references under:
pyingestkit.integrations.pytransformkit
The qualified Customer 360 path is:
PyIngestKit DatasetVersionReference
↓
portable ResourceReference
↓
PyTransformKit InputBinding
↓
transformation result resource
↓
PyIngestKit governed DatasetVersion
↓
publication
PyTransformKit remains optional; stable qualification installs the explicitly validated 1.1.0 implementation used by the integration tests.
Migration from 1.x
PyIngestKit 2.0 is a major-version boundary, not an alias release.
V1 root names such as Job, Pipeline, Step, Runner, RunContext, job and step are not part of the 2.0 root contract.
Migration tooling lives under:
import pyingestkit.migration
It converts supported persisted semantics and produces explicit migration decisions without executing V1 plugins or silently loading secrets.
See Migrating PyIngestKit 1.x applications to 2.0.
Qualified matrix
LOT-22 requalifies the unchanged RC contract across:
- Python 3.11, 3.12, 3.13 and 3.14;
- clean wheel and source-distribution installs;
- provider-neutral base installation;
- filesystem acquisition/artifacts/version storage;
- HTTP acquisition;
- PostgreSQL target materialization;
- S3-compatible object storage and cross-host replay;
- canonical serialization and migration fixtures;
- publication reconciliation / outcome-uncertainty paths;
- PyTransformKit integration;
- Customer 360 built-artifact E2E;
- Ruff, formatting, mypy, Bandit and
pip-audit; - sealed V1.0.0 historical evidence on the immutable V1 tag.
Quality and release gates
make check-v2
make quality
make security
make build
make release-check
python scripts/check_v2_stable.py
The terminal CI gate is stable-release-gate, which is release-blocking for 2.1.0 and preserves the independent 2.0 compatibility checks.
Stable compatibility policy
The 2.0 root, stable provider Protocols and version-1 boundary wire contracts are the compatibility baseline for the 2.x line. Breaking changes require a new major version; additive evolution must preserve these frozen contracts.
See:
- 2.1.0 stable release notes
- 2.x provider compatibility matrix
- 2.1 stable qualification
- 2.1 qualification evidence
- Historical 2.0.0 release notes
- V1 → V2 migration guide
- LOT-20 Customer 360 beta gate
- LOT-18 semantic migration
- Security policy
V1 historical line
The immutable V1 stable line remains available through tag v1.0.0. Its CLI, demo jobs and Job/Pipeline/Step execution semantics are historical 1.x contracts and are intentionally separate from the 2.0 public API.
Metadata
Release files for pyingestkit 2.1.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 |
|---|---|---|---|---|
| pyingestkit-2.1.0.tar.gz | 226.7 kB | Without provenance | Details for pyingestkit-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyingestkit-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for pyingestkit-2.1.0-py3-none-any.whl |
Total release size: 554.8 kB
Release files / pyingestkit-2.1.0.tar.gz
| Download URL | pyingestkit-2.1.0.tar.gz |
|---|---|
| Size | 226.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f36e040b6eeb89b5c2d2e9ef6f7dbf7dbbe1c368d4e0985523f8be47455725a
|
|
BLAKE2b-256 checksum How to use checksums |
160aa54caf5080c63b040fadf7d6a67c79e793e9829260e0aea1acfcf1091f08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.12
|
Release files / pyingestkit-2.1.0-py3-none-any.whl
| Download URL | pyingestkit-2.1.0-py3-none-any.whl |
|---|---|
| Size | 328.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1bb94e422fe66266f9a1c49a5504ac308790d39809330c38943f7705aa914dde
|
|
BLAKE2b-256 checksum How to use checksums |
988dcb2ada03c239c5d481a43056365a2174176ca5d43c90ce14980bbf5640b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.12
|
Security for pyingestkit 2.1.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.