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:
pip install -e ".[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
File details
Details for the file pyvespa-0.50.0.tar.gz
.
File metadata
- Download URL: pyvespa-0.50.0.tar.gz
- Upload date:
- Size: 68.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e2bd835215eb401ef77199ee4122abe75b306a64f5bf2ef01c392804cd67403 |
|
MD5 | 3f63babc2b838a0b5858a7f2de16641c |
|
BLAKE2b-256 | 7d111790972a89fb4f4482d19bb6fe9e6e544a685de791eca6e7b0c88b206781 |
File details
Details for the file pyvespa-0.50.0-py3-none-any.whl
.
File metadata
- Download URL: pyvespa-0.50.0-py3-none-any.whl
- Upload date:
- Size: 75.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17b0ad584657a2cf73ae8700bfb14f2b36078ae88c339c61b987575bef0d2336 |
|
MD5 | 483961c719e4fe153d6aa9f897a42df1 |
|
BLAKE2b-256 | ccf8769aae7f7890f6bfa41261ac5dc395aca86dab14c7f5cb4b808ba08f6f2e |