Skip to main content
Go to documentation:
⌘U
Weaviate Database

Develop AI applications using Weaviate's APIs and tools

Deploy

Deploy, configure, and maintain Weaviate Database

Weaviate Agents

Build and deploy intelligent agents with Weaviate

Weaviate Cloud

Manage and scale Weaviate in the cloud

Additional resources

Academy
Integrations
Contributor guide

Need help?

Weaviate LogoAsk AI Assistant⌘K
Community Forum

Weaviate Python client

Installation

The latest Weaviate Python client library can be installed using pip. The client library is tested on Python 3.8 and later. Install it using the following command:

pip install -U weaviate-client

The latest major version is v4 (e.g. 4.x.x). You can check the version like so:

pip show weaviate-client

Basic usage

From Python, you can load the Weaviate client library like so:

import weaviate

The client provides sets of helper classes (e.g. under weaviate.classes) and functions to make it easier to interact with Weaviate.

Next, we'll show you how to create a Weaviate instance and connect to it.

Questions and feedback

If you have any questions or feedback, let us know in the user forum.