Python — dbx-py

PyPI

Official Python bindings for DBX high-performance embedded database.

Key Features

  • 🚀 Native Performance: Rust-based PyO3 bindings
  • 💾 5-Tier Storage: WOS → L0 → L1 → L2 → Cold Storage
  • 🔒 MVCC Transactions: Snapshot isolation support
  • 📊 SQL Support: Full DDL + DML support
  • 🔐 Encryption: AES-GCM-SIV, ChaCha20-Poly1305
  • 🐍 Pythonic API: Context Manager, Type Hints

Quick Start

pip install dbx-py
from dbx_py import Database

db = Database.open_in_memory()

# KV operations
db.insert("users", b"user:1", b"Alice")
value = db.get("users", b"user:1")
print(value.decode())  # Alice

# SQL operations
db.execute_sql("CREATE TABLE users (id INTEGER, name TEXT)")
db.execute_sql("INSERT INTO users VALUES (1, 'Alice')")
result = db.execute_sql("SELECT * FROM users")
print(result)

db.close()

Documentation

Version Info

  • Current Version: 0.0.6-beta
  • Python Requirements: 3.8+
  • Platform: Windows x64 (Linux/macOS planned)

License

MIT License


Table of contents


Copyright © 2026 ByteLogicCore. MIT OR Apache-2.0 License.

This site uses Just the Docs, a documentation theme for Jekyll.