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

Uploaded Source

Built Distribution

deltabase-0.4.5-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deltabase-0.4.5.tar.gz
  • Upload date:
  • Size: 17.1 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.4.5.tar.gz
Algorithm Hash digest
SHA256 dda679370d736fe9c01efb50952a0708449fc6d476d1cfb74460270256581ed4
MD5 a95cc760261d7a2f5a95bc0abd0aca46
BLAKE2b-256 2b6d6fb7028cd0511335c8c3bc43ca15b2f1a136d1d56ba2718429909a49ac13

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deltabase-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 18.1 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.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a300954e76816d6164fdcf70f7306f2b4affbbd1370402a843e6b0dffde2dd57
MD5 59da0e2cb28c4ee13e58c0d35928af96
BLAKE2b-256 e55f33abd19ba996d86a882392efe536d6aa0cbf1e8a784f79eb83886f540a61

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