Skip to main content

IcebergTableManager utility for PyIceberg table operations in the floe data platform

Project description

floe-iceberg

IcebergTableManager utility for PyIceberg table operations in the floe data platform.

Overview

floe-iceberg provides an internal utility class that wraps PyIceberg table operations, offering a consistent API for table creation, schema evolution, writes, and snapshot management.

Note: IcebergTableManager is NOT a plugin - Iceberg is enforced (ADR-0005), not pluggable.

Installation

pip install floe-iceberg

# With Dagster IOManager support
pip install "floe-iceberg[dagster]"

Quick Start

from floe_iceberg import IcebergTableManager, IcebergTableManagerConfig
from floe_iceberg.models import TableConfig, WriteConfig, WriteMode

# Initialize with plugin dependencies
manager = IcebergTableManager(
    catalog_plugin=catalog_plugin,
    storage_plugin=storage_plugin,
    config=IcebergTableManagerConfig(max_commit_retries=3),
)

# Create a table
table = manager.create_table(table_config)

# Write data
snapshot = manager.write_data(table, data, WriteConfig(mode=WriteMode.APPEND))

See quickstart.md for detailed examples.

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

floe_iceberg-0.1.0a1.tar.gz (96.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

floe_iceberg-0.1.0a1-py3-none-any.whl (47.9 kB view details)

Uploaded Python 3

File details

Details for the file floe_iceberg-0.1.0a1.tar.gz.

File metadata

  • Download URL: floe_iceberg-0.1.0a1.tar.gz
  • Upload date:
  • Size: 96.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for floe_iceberg-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 3bea79312c28edaf493eaf73bf7583a25e30eeb3f775817d68542604530c1445
MD5 1c7ea60d6a4e8520fe6439096e33c816
BLAKE2b-256 418867051e378c7dbb204a162048a38d873985a44a065534f3a492135b1808e0

See more details on using hashes here.

File details

Details for the file floe_iceberg-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: floe_iceberg-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 47.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for floe_iceberg-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 b08efc905783676b2e1e315cc5bc6d7e1bc4e1467b0027029fc2094f04d9ab32
MD5 659a751354c1892768697de0101fb7fa
BLAKE2b-256 b46faa843637641ed703aa63e4457bff2164f1d08a251499411ef77d64c0c843

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page