Skip to main content

Installation

Install via pip:
The package includes pre-built dynamic libraries for all supported platforms. The library is automatically loaded from the package directory.

Quick start

Context managers

The library supports Python context managers for automatic resource cleanup:

Type hints

The library includes full type hints for better IDE support:

API reference

Database

Opening databases

Configuration

Database info

Transaction

Creating transactions

CRUD operations

1

Insert a document

2

Find by ID

3

Update the document

4

Commit the transaction

Transaction control

Always commit or rollback transactions. Using the context manager is recommended to ensure proper cleanup.

Collection management

Collection

For non-transactional operations with auto-commit:

Basic CRUD

Querying

Bulk operations

Advanced operations

Indexing

Schema validation

Example schema:

Maintenance

Web UI

Example:

Complete example

Error handling

All operations raise RuntimeError on failure:

Platform support

Pre-built binaries are provided for:
  • macOS (Intel and Apple Silicon)
  • Linux (x86_64, ARM64)
  • Windows (x86_64)

Data classes