Skip to main content

PomaiDB Python Bindings

Official Python bindings for PomaiDB, an embedded vector database designed for high-performance Edge AI applications.

Installation

pip install pomaidb

Quick Start

import pomaidb

# 1. Open database
db = pomaidb.open_db("test_db", dim=4)

# 2. Put vectors
db.put(1, [1.0, 0.0, 0.0, 0.0])
db.put(2, [0.0, 1.0, 0.0, 0.0], membrane="docs", payload=b"doc_payload", timestamp=1000)

# 3. Search
hits = db.search([1.0, 0.0, 0.0, 0.0], topk=5)
for hit in hits:
    print(f"ID: {hit.id}, Score: {hit.score}")

# 4. Multi-membrane query
hits_docs = db.search([0.0, 1.0, 0.0, 0.0], topk=5, membrane="docs")

# 5. Flush and close
db.flush()
db.close()

Features

  • In-process embedded execution (zero network overhead, zero configuration).
  • Pomegranate Engine Architecture: Rind MemTable, Locule immutable containers, and Press compaction.
  • Built-in Quantization: FP32, SQ8, FP16, 1-bit binary quantization, PQ8.
  • Native multi-membrane tenancy and arbitrary payload buffering.

Metadata

Release files for pomaidb 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pomaidb 0.2.2
File Size Uploaded
pomaidb-0.2.2.tar.gz 2.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pomaidb 0.2.2
File Interpreter ABI Platform
pomaidb-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 MB

Release files / pomaidb-0.2.2.tar.gz

Download URL pomaidb-0.2.2.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
be8ce59724ceb1521c85f16962f3968242be6fee77fdce39d4b2574992865f55
BLAKE2b-256 checksum
How to use checksums
f4f36bbad95f6699a547141c2f2f588fd17da4053a1e473225a8c6fe599d0be7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / pomaidb-0.2.2-py3-none-any.whl

Download URL pomaidb-0.2.2-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
fcd5a8bcc96f667746f6f6a433214a8d7a1ffec364c51575a38ed9ae33e3eac5
BLAKE2b-256 checksum
How to use checksums
d3bb6eda191537f4a3d6506821d7e6e58245290a83b936afe4b67b5ffa29dc52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page