Skip to main content

No project description provided

Project description

delta

delta is a lightweight, fast, simple, and massively scalable database based on polars and deltalake designed to facilitate seamless data operations, offering features like upsert, delete, commit, and version control on your datasets, while leveraging the powerful performance of polars and deltalake.

pip

pip install deltadb

usage

from deltadb import delta

# connect to a delta table
db = delta.connect(path="test.delta")

# Upsert data into the table
db.upsert(
    table="test_table", primary_key="id", 
    data=dict(id=1, name="alice")
)

# Query the data
result = db.sql("select * from test_table")
print(result)  # Output: [dict(id=1, name="alice")]

# Commit the changes
db.commit("test_table")

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

deltadb-0.1.2.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

deltadb-0.1.2-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file deltadb-0.1.2.tar.gz.

File metadata

  • Download URL: deltadb-0.1.2.tar.gz
  • Upload date:
  • Size: 14.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 deltadb-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f7c763a885f1684a2b83c9a5fd68a3eb0ae0738ff5285ac89f0fb0b3c34aaab9
MD5 833cc862c9ee71b0a82d9fe72955ae5d
BLAKE2b-256 c8e9c76e6825a1ce19bb94acd24c07ae918c650084bdced9a29794bcbba70ba5

See more details on using hashes here.

File details

Details for the file deltadb-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: deltadb-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.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 deltadb-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b93f3562c9e152aa57c3e8077b3fee8837ea52e7fee31363952e06de589369ac
MD5 62cbf5095eedb01f5b21c7996fc8f406
BLAKE2b-256 0fd33af691d4a9b7115d026851497298930754083600317141fe8d2036a2ae1e

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