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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: deltabase-0.5.7.tar.gz
  • Upload date:
  • Size: 17.7 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.7.tar.gz
Algorithm Hash digest
SHA256 10a69c39f1c172ed7ae32bb9fa7e76ccddc4dbc6c32f6cd21245fc85d1bec908
MD5 9b582224fc5232d1f3db5ce97c2b5a1f
BLAKE2b-256 81341d13072b3a5404d2297b6bc3404830754ca989a939231891015e5b614120

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deltabase-0.5.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2ee01f0b9e0ffa5aa8c2124795851dfc932a08cfdbbbe3ab4ac42be895b7cc5a
MD5 42a330511b503c5464c8e1bc87314b32
BLAKE2b-256 21e2bf20c0908a8c89b38192c5dda5bd69ef5c5a1e3bcc6a82541629da819972

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