$npx skillfedfor your agent

deltalite

Streaming partition upsert for Delta tables, replacing delta-rs SQL MERGE

With conditionsPyPI DatabaseReleased Aug 2026176.3K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — deltalite-0.1.6-cp312-abi3-macosx_10_12_x86_64.whl · deltalite-0.1.6-cp312-abi3-macosx_11_0_arm64.whl · deltalite-0.1.6-cp312-abi3-manylinux_2_28_aarch64.whl
v0.1.6 · released 2026-08-10 · Python >=3.12

Yes, if you are merging small batches into large Delta Lake tables and need predictable, bounded memory usage. The package is actively maintained, has no known vulnerabilities, uses permissive MIT licensing, and solves a real problem (delta-rs MERGE memory scaling and deadlock risk). Install friction is medium but manageable with prebuilt wheels. Not suitable if your table uses deletion vectors or column mapping, or if you need SCD2 semantics.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.12 or newer; target Delta table must not use deletion vectors or column mapping features.
  • Medium install friction due to compiled wheels (cp312-abi3 for Python 3.12+), but prebuilt binaries are available for common platforms (manylinux, musllinux, macOS) on x86_64 and aarch64, so no Rust toolchain is required.
  • Package is actively maintained with recent releases.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute deltalite freely provided you include the license notice.

last release 2026-08-10 (4 days) · last repo commit 2026-08-14 · 37,684 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 176,329 downloads/mo, #10,248 on PyPI

Verify before relying

import deltalite

table = deltalite.DeltaLiteTable.open("s3://bucket/my_table")
stats = table.upsert(record_batch, primary_keys=["id"], partition_key="day")
print(f"v{stats.version}: +{stats.rows_inserted} / ~{stats.rows_updated}")
  • Whether the C-stream interface accepts formats beyond those explicitly named in the description.
  • Behavior and performance when source batch contains duplicate primary keys (rejected per docs, but edge cases unclear).
  • Compatibility with all object stores (S3, GCS, Azure, local) and whether storage_options behavior matches delta-rs conventions.
Same gist for agents: .md · .json

What it is and what it does

deltalite is a Python library that performs insert-or-replace operations on Delta Lake tables using a streaming merge engine designed to keep memory usage bounded by the incoming batch size rather than the target table size. It wraps delta-rs for storage and protocol handling (transaction log, checkpoints, Parquet writing, S3 commits) but replaces the merge execution layer with a row-group streaming approach: it builds a hash set from the source batch, streams the target table one Parquet row group at a time, drops rows whose primary key matches the source, and writes survivors plus source rows into new files in a single atomic Delta commit.

The package is built as a compiled extension (cp312-abi3 wheels for Python 3.12+) and requires no Rust toolchain to install. It exposes a simple API: `DeltaLiteTable.open()` to connect to a table, `.upsert()` to perform the merge, and methods to inspect table state, schema, and history. It includes operational knobs (concurrency limits, buffer sizes, pruning strategies) both per-call and process-global via environment variables, and emits metrics via the Rust metrics facade. The primary use case is incremental sync workloads where a small batch is merged into a large, slowly-changing table, avoiding the memory deadlock and OOM risks that delta-rs MERGE can encounter.

Use it for

  • Incremental event ingestion: merge small daily batches into a large partitioned events table without memory scaling to table size.
  • CDC pipeline: apply change-data-capture batches to a slowly-changing dimension table with bounded memory and atomic partition commits.
  • Time-series upsert: replace or insert rows by timestamp and entity ID in a large time-series table partitioned by day or hour.
  • Data warehouse refresh: upsert a small batch of updated records into a large fact table with exact file-level pruning to minimize I/O.
  • Multi-tenant sync: merge tenant-specific batches into a shared partitioned table where each tenant's partition is touched atomically.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are merging small batches into large Delta Lake tables and need predictable, bounded memory usage.

The package is actively maintained, has no known vulnerabilities, uses permissive MIT licensing, and solves a real problem (delta-rs MERGE memory scaling and deadlock risk). Install friction is medium but manageable with prebuilt wheels. Not suitable if your table uses deletion vectors or column mapping, or if you need SCD2 semantics.

Install

deltalite on PyPI

Before you install

Medium install friction due to compiled wheels (cp312-abi3 for Python 3.12+), but prebuilt binaries are available for common platforms (manylinux, musllinux, macOS) on x86_64 and aarch64, so no Rust toolchain is required. Package is actively maintained with recent releases.

Requires Python 3.12 or newer; target Delta table must not use deletion vectors or column mapping features.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute deltalite freely provided you include the license notice.

Quickstart

import deltalite

table = deltalite.DeltaLiteTable.open("s3://bucket/my_table")
stats = table.upsert(record_batch, primary_keys=["id"], partition_key="day")
print(f"v{stats.version}: +{stats.rows_inserted} / ~{stats.rows_updated}")

Verify before relying

  • Whether the C-stream interface accepts formats beyond those explicitly named in the description.
  • Behavior and performance when source batch contains duplicate primary keys (rejected per docs, but edge cases unclear).
  • Compatibility with all object stores (S3, GCS, Azure, local) and whether storage_options behavior matches delta-rs conventions.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.12
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 4 days since the last release
Last repo commit
First released
Downloads176,329 / month, #10,248 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Rust

Evidence: deltalite-0.1.6-cp312-abi3-macosx_10_12_x86_64.whl; deltalite-0.1.6-cp312-abi3-macosx_11_0_arm64.whl; deltalite-0.1.6-cp312-abi3-manylinux_2_28_aarch64.whl; deltalite-0.1.6-cp312-abi3-manylinux_2_28_x86_64.whl; deltalite-0.1.6-cp312-abi3-musllinux_1_2_aarch64.whl; deltalite-0.1.6-cp312-abi3-musllinux_1_2_x86_64.whl

Tags

Capabilities
delta lake upsertstreaming merge delta tablesbounded memory delta mergepartition-level upsertdelta-rs merge alternativeincremental sync delta lakelow-memory table merge
Topics
delta-lakestreaming-mergeincremental-sync

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “delta lake upsert”

  • deltalitePerforms streaming, partition-level upsert operations on Delta Lake…
  • deltalakeDeltalake provides native Python bindings to Delta Lake, enabling you…
  • hops-deltalakeReads and writes Delta Lake tables with native Python bindings backed…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also delta-spark · hops-deltalake · deltalake · delta-sharing · dbl-discoverx · delta-kernel-rust-sharing-wrapper · databricks-zerobus-ingest-sdk · mltable · pangres · apache-flink-libraries