Metadata-Version: 2.4
Name: deltalite
Version: 0.1.1
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Summary: Streaming partition upsert for Delta tables, replacing delta-rs SQL MERGE
Author: PostHog
License-Expression: MIT
Requires-Python: >=3.12
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Issues, https://github.com/PostHog/posthog/issues
Project-URL: Repository, https://github.com/PostHog/posthog

# deltalite (Python package)

Thin pyo3 binding over `deltalite-core`, built with maturin and imported as
`deltalite`. See [`../README.md`](../README.md) for what deltalite is, why the
crate is split in two, how the wheel is built and consumed, the operational
knobs, and the pre-rollout conditions.

- `src/lib.rs` — the pyo3 module: `DeltaLiteTable.open(...).upsert(...)`,
  `UpsertStats`, and the `DeltaLiteError` exception hierarchy.
- `tests/` — the differential parity suite (delta-rs MERGE vs deltalite upsert)
  plus probe/operations/types/crash-redelivery/interop/planner tests.
- `harness/` — the two write paths and logical-content comparison the tests use.
- `deltalite_planner.py` — rough knob-tuning helper (concurrent upserts + pod
  memory in, suggested mpp/mpf/byte-budget out).
- `bench/` — test-data generation helpers shared by the tests.

