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

Uploaded Source

Built Distribution

deltabase-0.8.2-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deltabase-0.8.2.tar.gz
  • Upload date:
  • Size: 19.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.8.2.tar.gz
Algorithm Hash digest
SHA256 1b800a2810cce07c839d2a49e0a90b507642d9fce1239f6da799caa6148365b3
MD5 e1d4924c37771116f963a472cdcc72f3
BLAKE2b-256 e14e16f35cc35a31295ba2738d0ac1cd25344d1625b509198f623ad1395ed8b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deltabase-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 21.2 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.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7cf59d439fb7f72ba9b0234ffb185017a46053264316a1cdb8b4bdc0917ea42a
MD5 adca5b9f86834f86aa1ecaf2ea89dcca
BLAKE2b-256 2fd54c3381556064f69f95d4664d9e0b61966246b022c58155ea5fd759dcce13

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