Skip to main content

Embedded OxiDB for Python — run the database in-process via FFI (no server required)

Project description

oxidb-embedded

Embedded OxiDB for Python. Run the database engine directly in your Python process via FFI — no server required, zero network overhead.

Install

pip install oxidb-embedded

You also need the native shared library (liboxidb_embedded_ffi.dylib on macOS, .so on Linux, .dll on Windows). Either:

  • Place it next to the installed package
  • Set OXIDB_LIB_PATH=/path/to/liboxidb_embedded_ffi.dylib
  • Install it to a system library path

Usage

from oxidb_embedded import OxiDbEmbedded

# Context manager (recommended)
with OxiDbEmbedded("./mydata") as db:
    db.insert("users", {"name": "Alice", "age": 30})
    docs = db.find("users", {"name": "Alice"})
    print(docs)

# Manual open/close
db = OxiDbEmbedded("./mydata")
db.insert("users", {"name": "Bob"})
db.close()

Features

  • Full CRUD (insert, find, update, delete)
  • Indexes (single field, composite, unique, text)
  • Aggregation pipeline
  • Full-text search
  • Transactions (OCC)
  • Blob/object storage
  • Encryption at rest

Links

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

oxidb_embedded-0.18.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oxidb_embedded-0.18.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file oxidb_embedded-0.18.0.tar.gz.

File metadata

  • Download URL: oxidb_embedded-0.18.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for oxidb_embedded-0.18.0.tar.gz
Algorithm Hash digest
SHA256 80d139cd67dd96891576cbe7dd64a2355a0b1424a06902b8f73604d1de0f731e
MD5 df8207f4cf5176618d631483de80d709
BLAKE2b-256 8c4ac32404282ac9ded4b82befd4a9093cae71aed825e6f811009e4ceb1e478b

See more details on using hashes here.

File details

Details for the file oxidb_embedded-0.18.0-py3-none-any.whl.

File metadata

File hashes

Hashes for oxidb_embedded-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 933e6795ded4c037d9af9e047aaa66f0babf35ecd07a59998a1c243ed084d2e1
MD5 7fddb09755979a4e8ec745c0801a5c52
BLAKE2b-256 c9db90c29de30e4ec1c8b605f2a05ba9cd35a79b94cf16418697d0865f55e31f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page