Skip to main content

Python API for vespa.ai

Project description

pyvespa

#Vespa

Docs pages-build-deployment

GitHub Release PyPI - Version PyPI - Downloads

pyvespa site / documentation

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.

  1. Create a new release from github.com/vespa-engine/pyvespa/releases/new.
  2. Make sure to tag the release with the version number, e.g., v0.41.0.
  3. This tag will trigger a github action that will publish the package to PyPI.
  4. A PR will also be automatically created to update the affected files with the new version. This PR should be merged to keep the version updated in the repository.

This workflow can also be dispatched manually, but note that steps 3 and 4 will ONLY be triggered by a release.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvespa-1.1.0.tar.gz (151.9 kB view details)

Uploaded Source

Built Distribution

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

pyvespa-1.1.0-py3-none-any.whl (162.0 kB view details)

Uploaded Python 3

File details

Details for the file pyvespa-1.1.0.tar.gz.

File metadata

  • Download URL: pyvespa-1.1.0.tar.gz
  • Upload date:
  • Size: 151.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyvespa-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e93870ec06008a05002a30cebaa65d4b6e9219b5e4385fe521e2b6586dfd26a3
MD5 c6bd87a1ede5d33253e3f98c62170f5b
BLAKE2b-256 6dd8e31c695d51c2cbb56d48cd6c4245c278968c65edafec7726ed9f0af1a549

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvespa-1.1.0.tar.gz:

Publisher: release-pyvespa.yml on vespa-engine/pyvespa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyvespa-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyvespa-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 162.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyvespa-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f96bbd4f08ef856f8bdd0d848f071fea08b29bb97c3f65399e67acd5571095b
MD5 e5449936ec4c39eb665bd8040e5e9adb
BLAKE2b-256 dc77ced0d9b4d6610452a6edf75f466e3640bfcaf7bad2f5331d509f624ebf1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvespa-1.1.0-py3-none-any.whl:

Publisher: release-pyvespa.yml on vespa-engine/pyvespa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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