Registry / vector-search / pyobvector

pyobvector

JSON →
library0.2.28pypypiunverified

A Python SDK for OceanBase Vector Store, based on SQLAlchemy, compatible with Milvus API. Version 0.2.26. Active development.

pip install pyobvector
INSTALL
IMPORT
SIG · PYOBVECTOR
P
pyobvector
vector-searchpythonv0.2.28
Install
7.9s avg
Import
—
Disk
132MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.2.28 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 131.4MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 7.9s · import 0.000s · 124MB
132MB installed
● package 132MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

VecClient
✓ from pyobvector import VecClient
✗ from pyobvector import VecClient
MilvusLikeClient
✓ from pyobvector import MilvusLikeClient
CollectionSchema
✓ from pyobvector import CollectionSchema

Initialize VecClient with environment variables and test connection.

from pyobvector import VecClient import os client = VecClient( host=os.environ.get('OB_HOST', 'localhost'), port=int(os.environ.get('OB_PORT', 2881)), user=os.environ.get('OB_USER', 'root'), password=os.environ.get('OB_PASSWORD', ''), database=os.environ.get('OB_DATABASE', 'test') ) print(client.ping())
Debug
Known issues
breakingConnection parameters changed between 0.1.x and 0.2.x: removed 'tenant' parameter, added 'database'.
fix
Use 'database' parameter instead of 'tenant'. See migration guide.
affects: >=0.2.0
gotchaVecClient.connect() must be called after initialization for vector operations.
fix
Call client.connect() before any vector operation.
affects: all
deprecatedThe 'table_name' parameter in VecClient.insert() is deprecated; use 'collection_name' instead.
fix
Use 'collection_name' parameter.
affects: >=0.2.20
Upgrade
Version history
0.2.28latest on PyPI · released Jun 5, 2026
Audit
Dependencies
sqlalchemyrequiredRequired for database connectivity
pymysqloptionalRequired for MySQL/OceanBase connection
psycopg2-binaryoptionalRequired for PostgreSQL connection
Agent activity
58 hits · last 30 days
node
52
Anthropic
1
OpenAI (training)
1
Resources
pyobvector — pip install pyobvector · libregistry