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 = NoPokeDB(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.1.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.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nopokedb-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 11840de2e9b95811d54878a1ce676e237f678f6258728a2c5a0b0f4b86781035
MD5 ee4ea83e757af80c52dcbc8eace5f0fc
BLAKE2b-256 6b984ace89164754f449181661bb49f9096476ec729d0c380ab6a3b935179530

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nopokedb-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a4cb2490371fc0eeafa673d479e4365086fec2b6afe48be7a70889a39364d45c
MD5 43be25c38a32b418dd12910e6f26a78a
BLAKE2b-256 ebc478d893ad0f7045017ad95a4200b89c709ae3e51f9bc8b2ac5a9282d0f8af

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