Python API for vespa.ai
Project description
pyvespa
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.
- Create a new release from github.com/vespa-engine/pyvespa/releases/new.
- Make sure to tag the release with the version number, e.g.,
v0.41.0. - This tag will trigger a github action that will publish the package to PyPI.
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyvespa-1.0.2.tar.gz.
File metadata
- Download URL: pyvespa-1.0.2.tar.gz
- Upload date:
- Size: 149.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd645e392bef0be2cf75a5f1d64696e7eb95f0bacbf70bf01cf43038ec47095c
|
|
| MD5 |
e2a5dd54e3b549c3c68f2772027ac92e
|
|
| BLAKE2b-256 |
f4ee6845a346ebbe3a96b9da4967aa10f36f0121a92cd378a60d69d4b632ac5e
|
Provenance
The following attestation bundles were made for pyvespa-1.0.2.tar.gz:
Publisher:
release-pyvespa.yml on vespa-engine/pyvespa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyvespa-1.0.2.tar.gz -
Subject digest:
dd645e392bef0be2cf75a5f1d64696e7eb95f0bacbf70bf01cf43038ec47095c - Sigstore transparency entry: 902788893
- Sigstore integration time:
-
Permalink:
vespa-engine/pyvespa@49836f79232b1a73fc884d2ab90f5f5f53120952 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/vespa-engine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pyvespa.yml@49836f79232b1a73fc884d2ab90f5f5f53120952 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyvespa-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pyvespa-1.0.2-py3-none-any.whl
- Upload date:
- Size: 160.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc44ee6d192df6d11abddc6e72e0cb5d21973c274067dfd7c19f1b8bc6556803
|
|
| MD5 |
2022fdc1523e3304e68b77c7fa0cacdb
|
|
| BLAKE2b-256 |
82a28007b8fc968f926ddafe5066dada9516b322f02b527efb43178e28c076aa
|
Provenance
The following attestation bundles were made for pyvespa-1.0.2-py3-none-any.whl:
Publisher:
release-pyvespa.yml on vespa-engine/pyvespa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyvespa-1.0.2-py3-none-any.whl -
Subject digest:
bc44ee6d192df6d11abddc6e72e0cb5d21973c274067dfd7c19f1b8bc6556803 - Sigstore transparency entry: 902789011
- Sigstore integration time:
-
Permalink:
vespa-engine/pyvespa@49836f79232b1a73fc884d2ab90f5f5f53120952 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/vespa-engine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pyvespa.yml@49836f79232b1a73fc884d2ab90f5f5f53120952 -
Trigger Event:
release
-
Statement type: