Python API for vespa.ai
Actively maintained. Last release 3 days ago, commits in 24 of the last 26 weeks. A safe choice.
pip install pyvespapyvespa
Vespa is the scalable open-sourced serving engine that enables users to store,
compute and rank big data at user serving time.
pyvespa provides a python API to Vespa.
It allows users to create, modify, deploy and interact with running Vespa instances.
The main goal of the library is to allow for faster prototyping and get familiar with Vespa features.
vespacli
This repo also contains the python wrapper for the Vespa CLI. See README.
License
Code licensed under the Apache 2.0 license. See LICENSE for terms.
Development environment
To install editable version of the library with dev dependencies, run the following command from the root directory of the repository:
uv sync --extra dev
Note that this will enforce linting and formatting with Ruff, which also will be triggered by a pre-commit-hook.
This means that you may get an error message when trying to commit changes if the code does not pass the linting and formatting checks. The errors are detailed in the output, and you can optionally run manually with ruff CLI-tool.
Releases
Find releases and release notes on GitHub.
Release details
The release flow is semi-automated, but involves a few manual steps.