{"id":21771,"library":"pyobvector","title":"PyOBVector","description":"A Python SDK for OceanBase Vector Store, based on SQLAlchemy, compatible with Milvus API. Version 0.2.26. Active development.","status":"active","version":"0.2.26","language":"python","source_language":"en","source_url":"https://github.com/oceanbase/pyobvector.git","tags":["oceanbase","vector-database","vector-search","sqlalchemy","milvus"],"install":[{"cmd":"pip install pyobvector","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Required for database connectivity","package":"sqlalchemy","optional":false},{"reason":"Required for MySQL/OceanBase connection","package":"pymysql","optional":true},{"reason":"Required for PostgreSQL connection","package":"psycopg2-binary","optional":true}],"imports":[{"wrong":"from pyobvector import VecClient","symbol":"VecClient","correct":"from pyobvector import VecClient"},{"wrong":"","symbol":"MilvusLikeClient","correct":"from pyobvector import MilvusLikeClient"},{"wrong":"","symbol":"CollectionSchema","correct":"from pyobvector import CollectionSchema"}],"quickstart":{"code":"from pyobvector import VecClient\nimport os\n\nclient = VecClient(\n    host=os.environ.get('OB_HOST', 'localhost'),\n    port=int(os.environ.get('OB_PORT', 2881)),\n    user=os.environ.get('OB_USER', 'root'),\n    password=os.environ.get('OB_PASSWORD', ''),\n    database=os.environ.get('OB_DATABASE', 'test')\n)\nprint(client.ping())","lang":"python","description":"Initialize VecClient with environment variables and test connection."},"warnings":[{"fix":"Use 'database' parameter instead of 'tenant'. See migration guide.","message":"Connection parameters changed between 0.1.x and 0.2.x: removed 'tenant' parameter, added 'database'.","severity":"breaking","affected_versions":">=0.2.0"},{"fix":"Call client.connect() before any vector operation.","message":"VecClient.connect() must be called after initialization for vector operations.","severity":"gotcha","affected_versions":"all"},{"fix":"Use 'collection_name' parameter.","message":"The 'table_name' parameter in VecClient.insert() is deprecated; use 'collection_name' instead.","severity":"deprecated","affected_versions":">=0.2.20"}],"env_vars":null,"search_vec":"'0.2.26':17 'activ':18 'api':15 'base':9 'compat':12 'databas':23 'develop':19 'milvus':14,28 'oceanbas':6,20 'pyobvector':1 'python':3 'sdk':4 'search':26 'sqlalchemi':11,27 'store':8 'vector':7,22,25 'vector-databas':21 'vector-search':24 'version':16","created_at":"2026-04-27T17:01:40.328711+00:00","updated_at":"2026-04-27T17:01:40.328711+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'VecClient' from 'pyobvector' (/tmp/tmpj5w_u8n6/venv/lib/python3.12/site-packages/pyobvector/__init__.py). Did you mean: 'ObVecClient'?"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.2.28","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/oceanbase/pyobvector","docs":null,"changelog":null,"pypi":"https://pypi.org/project/pyobvector/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["vector-search","database","aws"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}