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.5.5.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

deltabase-0.5.5-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deltabase-0.5.5.tar.gz
  • Upload date:
  • Size: 17.6 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.5.5.tar.gz
Algorithm Hash digest
SHA256 b5c690d4cb255f0eae8f15f192464b6045e393558d831ee5f1c4bcba0ac7c93f
MD5 2a3d2a6a99dedb2291b64846a330a7e2
BLAKE2b-256 a2a51c17163673daab317de63de78b2c64472bf6e1bb84f0dd37bfc4ab504019

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deltabase-0.5.5-py3-none-any.whl
  • Upload date:
  • Size: 19.0 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.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7ccbc30b8b0f9ad4d6f0c6d8af812632abb2d953ec7321e22249ac6c4ca5a53c
MD5 5a35a4b841b1be1f805fbaed3f23c206
BLAKE2b-256 e74732351c6eaba999ce7ce862d76b19ee4c7af00a74d8b07e1726e39c3e4b39

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