Skip to main content

pyseekdb

pyseekdb is a Python SDK for seekdb and OceanBase AI search. It supports embedded and server deployments with vector, full-text, and hybrid retrieval, and exposes a collection-first API for application workflows. For advanced database operations, you can use MySQL-compatible drivers to run SQL against seekdb and OceanBase.

Key features:

  • Unified API: Single interface for embedded and remote server modes
  • Vector Operations: Efficient vector similarity search
  • Hybrid Search: Combine vector and full-text search
  • Embedding Functions: Built-in support for various embedding models
  • Collection Management: Easy collection (table) creation and management
  • Database Management: Admin operations for database management

Documentation

Installation

pip install -U pyseekdb
# or with uv
uv add pyseekdb

Quick Start

import pyseekdb

client = pyseekdb.Client(path="./seekdb.db", database="demo")
collection = client.get_or_create_collection("my_collection")

collection.add(
    ids=["doc1", "doc2"],
    documents=["Hello world", "pyseekdb quick start"],
    metadatas=[{"tag": "hello"}, {"tag": "demo"}],
)

# Refresh the index to make the added documents searchable
collection.refresh_index()

results = collection.query(query_texts=["hello"], n_results=3)
print(results["ids"][0])

For full usage, connection modes, collection management, and operations, see the User Guide.

License

This package is licensed under Apache 2.0. See LICENSE.

Metadata

Release files for pyseekdb 1.4.1

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

Source distribution (sdist)

Source distribution for pyseekdb 1.4.1
File Size Uploaded Provenance Actions
pyseekdb-1.4.1.tar.gz 358.6 kB With provenance Details for pyseekdb-1.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 537.6 kB

Release files / pyseekdb-1.4.1.tar.gz

Download URL pyseekdb-1.4.1.tar.gz
Size 358.6 kB
Tags Source
SHA-256 checksum
How to use checksums
443e5612d8dd850767b9b719c3231935e331cfe72e75aef46bca357984e5cf84
BLAKE2b-256 checksum
How to use checksums
9f038ceefb1a1635bd52bee8fb000016dbda1da4fcc574e2ec545810ff48b0c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / pyseekdb-1.4.1-py3-none-any.whl

Download URL pyseekdb-1.4.1-py3-none-any.whl
Size 179.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93e2f6bb737457768c9f5f41084b971da05d0281466d2dc18dc9eb0ae2e27c14
BLAKE2b-256 checksum
How to use checksums
d736b9b3829c9d9116acec21ca9c79c5b08c0de1886d16b30f425e447771648a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for pyseekdb 1.4.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyseekdb-1.4.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

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.

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