Skip to main content

Data lake operations toolkit

Project description

LakeOps

A modern data lake operations toolkit supporting multiple formats (Delta, Iceberg, Parquet) and engines (Spark, Polars).

Features

  • Multi-format support: Delta, Iceberg, Parquet, CSV, JSON
  • Multiple engine backends: Apache Spark, Polars
  • Catalog integration: Hive Metastore, Unity Catalog, REST catalogs
  • Storage operations: read, write, delete, archive
  • Cloud storage support: S3, Azure Blob, GCS

Quick Start

from pyspark.sql import SparkSession
from lakeops import LakeOps
from lakeops.core.engine import SparkEngine

# Set up Spark
spark = SparkSession.builder
    .appName("LakeOps")
    .config("spark.jars.packages", "iceberg-spark-runtime-3.5_2.12:1.6.1")
    .config("spark.sql.extensions", "org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions")
    .config("spark.sql.catalog.spark_catalog", "org.apache.iceberg.spark.SparkSessionCatalog") \
    .config("spark.sql.catalog.local", "org.apache.iceberg.spark.SparkCatalog") \
    .config("spark.sql.catalog.local.type", "hadoop") \
    .config("spark.sql.catalog.local.warehouse", "/app/data") \
    .getOrCreate()

# Initialize LakeOps
engine = SparkEngine(spark)
ops = LakeOps(engine)

# Read data from table name
df = ops.read("local.db.test_table", format="iceberg")

Installation

pip install lakeops

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

lakeops-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file lakeops-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lakeops-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for lakeops-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4070504278a53cc96bfb0c8cce69f80f0d7215a85addb9f191a0f0670dbb982a
MD5 a8518c479257d04cd200a2fc6d8a584f
BLAKE2b-256 93f3c4bc63e54a4d12a17569fb7791f065beb2821eb3efd47e0c00f2726d701d

See more details on using hashes here.

Provenance

The following attestation bundles were made for lakeops-0.1.0-py3-none-any.whl:

Publisher: publish.yml on hoaihuongbk/lakeops

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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