Skip to main content

iceframex

Unified DataFrame-like API for Apache Iceberg, Delta Lake, and Apache Hudi — with distributed execution and a read-write MCP server.

PyPI version License: Apache-2.0 Python 3.9+

Why iceframex?

iceframex is a fork of IceFrame that bridges three key gaps:

Gap IceFrame iceframex
Table formats Iceberg only Iceberg + Delta Lake + Apache Hudi
Compute Single-node only Ray / Dask distributed execution
MCP server Read-only Read-write (opt-in)
Python floor 3.10 3.9

One UnifiedTable API works across all three lakehouse formats:

from iceframex import UnifiedTable

config = {
    "uri": "http://localhost:8181",
    "type": "rest",
    "warehouse": "s3://my-bucket/warehouse",
}

ice = UnifiedTable(config)                          # Iceberg (default)
ice_delta = UnifiedTable(config, format="delta")    # Delta Lake
ice_hudi  = UnifiedTable(config, format="hudi")     # Apache Hudi

ice.create_table("db.users", schema=arrow_schema)
df = ice.read_table("db.users", limit=100)
ice.append_to_table("db.users", new_rows)

Install

pip install iceframex

Extras

# Cloud storage
pip install iceframex[aws,gcs,azure]

# Multi-format (Delta, Hudi)
pip install iceframex[delta,hudi]

# Distributed execution (Ray, Dask)
pip install iceframex[ray,dask]

# CLI
pip install iceframex[cli]

# LLM agent tooling
pip install iceframex[agent]

# Everything
pip install iceframex[all]

Quick start

Create and write a table

import pyarrow as pa
from iceframex import UnifiedTable

config = {
    "uri": "http://localhost:8181",
    "type": "rest",
    "warehouse": "s3://my-bucket/warehouse",
}
ice = UnifiedTable(config)

schema = pa.schema([
    pa.field("id", pa.int64()),
    pa.field("name", pa.string()),
    pa.field("created_at", pa.timestamp("us")),
])

ice.create_table("db.users", schema)
ice.append_to_table("db.users", {"id": [1, 2], "name": ["Alice", "Bob"]})

Read with Polars

df = ice.read_table("db.users", columns=["id", "name"], limit=50)
print(df)

Distributed execution (Ray)

from iceframex import UnifiedTable
from iceframex.distributed import DistributedEngine

ice = UnifiedTable(config)
engine = DistributedEngine(backend="ray")

df = engine.read_table(ice, "db.events", columns=["id", "ts"], num_partitions=8)
engine.write_table(ice, "db.events_out", df, mode="append")
engine.shutdown()

Read-write MCP server

Start the server (read-write by default):

export ICEBERG_CATALOG_URI=http://localhost:8181
export ICEBERG_CATALOG_TYPE=rest
export ICEBERG_WAREHOUSE=s3://my-bucket/warehouse
iceframex-mcp

Connect any MCP client. Available tools include:

Read: list_tables, describe_table, get_schema, execute_query, get_table_stats, table_exists

Write (requires ICEFRAMEX_MCP_READ_ONLY=0): create_table, append_to_table, overwrite_table, delete_from_table, drop_table

To run read-only (safer for shared agents):

export ICEFRAMEX_MCP_READ_ONLY=1
iceframex-mcp

CLI

iceframex list-tables --config-uri http://localhost:8181 --config-type rest --namespace db
iceframex read-table --config-uri http://localhost:8181 --config-type rest --table db.users
iceframex mcp

Architecture

  • iceframex.core.UnifiedTable — single entry point, format-agnostic CRUD.
  • iceframex.formats — pluggable backends (IcebergBackend, DeltaBackend, HudiBackend) behind BaseTableBackend.
  • iceframex.distributed.DistributedEngine — Ray/Dask-backed parallel reads and writes.
  • iceframex.mcp.server — stdio MCP server with optional read-write mode.

Roadmap

  • True distributed scan pushdown (not just client-side repartition)
  • Delta Lake merge / upsert support
  • Hudi write support via native Hudi (not just Daft)
  • More ingestion sources (Kafka, SQL, HTML, etc.)
  • Async API

Contributing

See CONTRIBUTING in the IceFrame repo — patterns apply here too. Pull requests welcome.

License

Apache-2.0. See LICENSE.

Attribution

iceframex is a fork of IceFrame by Alex Merced, licensed under Apache-2.0. The core table operations, catalog handling, and expression system are derived from IceFrame.

Metadata

Release files for iceframex 0.1.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 iceframex 0.1.0
File Size Uploaded Provenance Actions
iceframex-0.1.0.tar.gz 32.2 kB Without provenance Details for iceframex-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iceframex 0.1.0
File Interpreter ABI Platform Actions
iceframex-0.1.0-py3-none-any.whl Python 3 none any Details for iceframex-0.1.0-py3-none-any.whl

Total release size: 63.2 kB

Release files / iceframex-0.1.0.tar.gz

Download URL iceframex-0.1.0.tar.gz
Size 32.2 kB
Tags Source
SHA-256 checksum
How to use checksums
be3c60235fb52095471866f545246829353f77ce213246f64dd151d895d201c3
BLAKE2b-256 checksum
How to use checksums
cdc06d977c065c9e0d58b64ccf823318e7c2d7785360c60139e3195e8e9b44e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / iceframex-0.1.0-py3-none-any.whl

Download URL iceframex-0.1.0-py3-none-any.whl
Size 31.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07c29472301bcbbe4f02da090f756b3dfda0aef81b4057b76f7c6bb90eb1f49d
BLAKE2b-256 checksum
How to use checksums
2505aa2e7e0dc58b5458260077b08e3042f36492f105a54286af036f92fe185c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No 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