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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pomaidb-0.2.2.tar.gz | 2.3 MB | Without provenance | Details for pomaidb-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pomaidb-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for pomaidb-0.2.2-py3-none-any.whl |
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
|
Security for pomaidb 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.