Skip to main content

Disk-backed HNSW vector database with SQLite metadata

Project description

NoPokeDB

Disk-based HNSW vector DB with SQLite metadata

Installation

pip install nopokedb

Usage

from nopokedb import NoPokeDB

# Initialize (or load existing) store
db = PersistentVectorDB(dim=128, max_elements=10000, path="./vdb_data")

# Add
db.add(my_vector, metadata={"name": "foo"})

# Query
results = db.query(query_vector, k=5)
for hit in results:
  print(hit)

# Persist & close
db.close()

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

nopokedb-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

nopokedb-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file nopokedb-0.1.0.tar.gz.

File metadata

  • Download URL: nopokedb-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for nopokedb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4aa4593c2d76a79ab5ba9c27a3fdffe05efb43393736629e87213adfa125c620
MD5 0c1ca5ac0f05fad1718d2dc4428deece
BLAKE2b-256 3e82b6ae5c31966615198843452b58a925e1d1255577d9ab52b0995391d09ad9

See more details on using hashes here.

File details

Details for the file nopokedb-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nopokedb-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for nopokedb-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7c05442a30e6d2a6be4e1d7a3e73bb9f233973f523e1a584b8a84241e02319c
MD5 53ae0f471150aaa4104ce7df0e69a3e5
BLAKE2b-256 4c2ce6f87203ddadd5bcb5c809da4d8f40fd7d33d015786a74e400652d694563

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