Skip to main content

No project description provided

Project description

banner

documentation (wip)

DeltaBase is a lightweight, comprehensive solution for managing Delta Tables in both local and cloud environments. Built on the high-performance frameworks polars and deltalake, DeltaBase streamlines data operations with features like upsert, delete, commit, and version control. Designed for data engineers, analysts, and developers, it ensures data consistency, efficient versioning, and seamless integration into your workflows.

Setup

To install deltabase, run the following command:

pip install deltabase

Usage

from deltabase import delta

# connect to a delta source
db:delta = delta.connect(path="mydelta")

# upsert records into a table 
db.upsert(table="mytable", primary_key="id", data=[
    {"id": 1, "name": "alice"}
])

# commit table to delta source
db.commit(table="mytable")

# read records from sql context
result = db.sql("select * from mytable")
print(result) # output: [{"id": 1, "name": "alice"}]

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

deltabase-0.7.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

deltabase-0.7.0-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file deltabase-0.7.0.tar.gz.

File metadata

  • Download URL: deltabase-0.7.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.2 Darwin/23.4.0

File hashes

Hashes for deltabase-0.7.0.tar.gz
Algorithm Hash digest
SHA256 8f32d3386ca28119d4b30f2a1b4ae22647dd3ff7109c2a9de17b06214349ef61
MD5 dd5c8e25b4f394804dbcc197aafaafe0
BLAKE2b-256 218942a66cf60d43c38c703bcfaa887a89f484a72d8404e571ab08f7e82cda8e

See more details on using hashes here.

File details

Details for the file deltabase-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: deltabase-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.2 Darwin/23.4.0

File hashes

Hashes for deltabase-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c5fabc76e9098421ea1ef6e258c714b8fc9270c41a3f7043ec9b5a831e9d3c6
MD5 77f940e3166ac2f372ae8391e7dfa53c
BLAKE2b-256 61a1bc6cdac997a40023f49b390a31afa0f5d709def965dca4ebfc5b9e52aeab

See more details on using hashes here.

Supported by

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