Vespa python API

Vespa is the scalable open-sourced serving engine that enable us to store, compute and rank big data at user serving time. pyvespa provides a python API to Vespa. It allow us to create, modify, deploy and interact with running Vespa instances. The main goal of the library is to allow for faster prototyping and to facilitate Machine Learning experiments for Vespa applications.



The library is under active development and backward incompatible changes may occur.

You can install pyvespa via pip:

pip install pyvespa


There are three ways you can get value out of pyvespa:

  1. You can connect to a running Vespa application.
  2. You can build and deploy a Vespa application using pyvespa API.
  3. You can deploy an application from Vespa config files stored on disk.

Read more: