RibbitXDB combines the simplicity of SQLite3 with advanced security features and LZMA compression for optimal storage efficiency in Python applications.
pip install ribbitxdbBuilt for modern Python applications with security and performance in mind
Built-in data integrity verification for every row ensures your data remains uncorrupted and trustworthy.
Automatic compression reduces database file size by up to 70% without sacrificing performance.
Fast query performance with efficient indexing enables O(log n) lookups for optimal speed.
Drop-in replacement with familiar interface makes migration seamless for existing projects.
Full transaction support with commit/rollback ensures data consistency and reliability.
Built entirely on Python standard library, making it lightweight and easy to deploy anywhere.
RibbitXDB delivers exceptional speed while maintaining data integrity and efficiency
Fast Reads
B-tree indexes enable fast lookups
Efficient Storage
LZMA compression reduces file size significantly
Memory Usage
Page-based caching minimizes RAM usage
Data Integrity
BLAKE2 hashing ensures authenticity
| Operation | RibbitXDB | SQLite3 |
|---|---|---|
| Insert 10K rows | 0.8s | 0.6s |
| Select with index | 0.002s | 0.001s |
| File size (10K rows) | 45 KB | 140 KB |
* RibbitXDB achieves 68% smaller file sizes with competitive performance
Drop-in replacement for SQLite3 with enhanced security and compression
import ribbitxdb
# Create/connect to database
conn = ribbitxdb.connect('myapp.rbx')
cursor = conn.cursor()
# Create table
cursor.execute('''
CREATE TABLE users (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
email TEXT UNIQUE
)
''')
# Insert data
cursor.execute(
"INSERT INTO users VALUES (?, ?, ?)",
(1, 'Alice', 'alice@example.com')
)
cursor.execute(
"INSERT INTO users VALUES (?, ?, ?)",
(2, 'Bob', 'bob@example.com')
)
conn.commit()
# Query data
cursor.execute("SELECT * FROM users WHERE id = 1")
print(cursor.fetchall())
# Close connection
conn.close()Simple installation with no external dependencies. Works with Python 3.7+
Use the same syntax you already know. Just import ribbitxdb instead of sqlite3
BLAKE2 hashing and LZMA compression work behind the scenes automatically
Built for embedded applications, microservices, and production workloads
Start using the secure, lightweight database engine designed for modern Python applications