Skip to main content

A wrapper around pymilvus to simplify common operations.

Project description

Milvus Helper

A lightweight Python wrapper around Milvus to simplify common vector database operations with pymilvus.

Features

  • Simplified collection management
  • Easy vector insertion with optional metadata
  • Basic search interface
  • Built-in logging and error handling

Installation

pip install git+https://github.com/yx-fan/milvus-helper.git

Usage

from milvus_helper import MilvusClient

client = MilvusClient()
client.create_collection("test_collection", dim=384)
client.insert_vectors("test_collection", [[0.1]*384])
results = client.search("test_collection", [0.1]*384)
print(results)

Requirements

  • Python 3.8+
  • Milvus 2.x running locally or remotely
  • pymilvus >= 2.4.3

License

MIT License © 2025 Yuxin Fan

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

milvus_helper-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

milvus_helper-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for milvus_helper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 49a19c91746f365f3824c58660d94b4437ff1120c4730c33079e8267d2c9c409
MD5 b6f87f81b78d8fb0c17386da49ca7990
BLAKE2b-256 8dbb8a0a5e4799ee10cc909093e7308e6c96667c33a19b70318f369f09997498

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for milvus_helper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3808f9518fbb1f3fca91471810e3103e5cc6f699a16c887a014443528a2b1d07
MD5 cc7ef3194aa5a7b900bd86e7bb64670d
BLAKE2b-256 cf123ab536c25e61aabf66b66ec61a48f4a56aa43b04cf35f9308312172a6fd4

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