pymilvus logo

pymilvus

milvus-io/pymilvus

Python SDK for Milvus Vector Database

GraphCanon updated today · GitHub synced today · 26 views this month

1.4k stars453 forksLast push 2d Python Apache-2.0

Decision brief

pymilvus is a Python library that facilitates interaction with Milvus vector database through its SDK, allowing for efficient handling of vector data operations.

Good fit when

  • - pymilvus should be used when working within a Python environment where integration with the Milvus vector database is required for tasks like similarity search and large-scale vector indexing.
  • - Use it if your project requires precise control over Milvus server settings via Python scripts, enabling advanced customization beyond standard query capabilities.

Avoid when

  • - Avoid pymilvus if you need a more comprehensive SDK that supports additional functionalities unrelated to the Milvus database or if you prefer working with another programming language.
  • - Do not use pymilvus when your project demands compatibility with real-time vector similarity search implementations outside of Milvus, as it is specifically tailored for Milvus operations.
Pricing:
freemium - The pymilvus Python SDK is available for free under an open-source license, but advanced enterprise support can involve costs.
Requirements:
Min 2 GB RAM; Requires Docker

Observed Jul 14, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (2d since push)
As of today
Provenance
Not a fork · Organization account
As of today
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Backing

Company context for Milvus. Display-only - separate from trust and ranking.

Company
The Milvus Project·GitHub org profile·1mo
Commercial model
Pure OSS·GitHub org profile (public repos)·1mo

Install

pip install pymilvus
PyPI

How it fits your stack(7)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Provides an interface to interact with the Milvus vector database using Python.

Capability facts

Deploy
Self-host

Source: dockerfile:Dockerfile · Aug 21, 2026

Docker
Dockerfile present

Source: dockerfile:Dockerfile · Aug 21, 2026

Languages
python

Source: github.language+pyproject.toml · Aug 21, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Aug 21, 2026)

You can install PyMilvus via `pip` or `pip3` for Python 3.9+:
Source link

Tags

README

Installation

You can install PyMilvus via pip or pip3 for Python 3.9+:

$ pip3 install pymilvus
$ pip3 install pymilvus[model] # for milvus-model
$ pip3 install pymilvus[bulk_writer] # for bulk_writer

You can install a specific version of PyMilvus by:

$ pip3 install pymilvus==2.4.10

You can upgrade PyMilvus to the latest version by:

$ pip3 install --upgrade pymilvus

Install pre-commit (if not already installed)

$ uv tool install pre-commit


Install the git hook scripts

$ pre-commit install


Q7. How to run the maintained test suites?

A7
```shell
$ uv sync --group dev
$ make unittest
$ make integration-lite

Q8. zsh: no matches found: pymilvus[model], how do I solve this?

A8

$ pip install "pymilvus[model]"

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.