$npx skillfedfor your agent

pyvespa

Python API for vespa.ai

With conditionsPyPI Front-EndsReleased Jul 202617.4M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyvespa-1.2.4-py3-none-any.whl
v1.2.4 · released 2026-07-03 · Python <3.14,>=3.10 · 13 runtime deps: httpr, docker, jinja2, cryptography, tenacity, typing_extensions, python-dateutil, fastcore

Yes, if you are working with Vespa or evaluating it for search and ranking use cases. The package is actively maintained, has low install friction, carries a permissive Apache 2.0 license, and no known vulnerabilities. It is well-positioned for prototyping and integration into Python-based data science and search workflows. Install it if Vespa is already part of your architecture or you are exploring it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Vespa instance accessible at the specified URL; Python 3.10 or later (requires_python >=3.10,<3.14).
  • Low install friction with a pure-Python wheel distribution.
  • The package is actively maintained with a recent release 42 days ago and an active repository.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache 2.0, a permissive open-source license that allows commercial use, modification, and distribution with minimal restrictions. You may use and modify the code freely provided you include the license and attribution notices.

last release 2026-07-03 (42 days) · last repo commit 2026-08-10 · 172 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 17,444,074 downloads/mo, #1,119 on PyPI

Verify before relying

pip install pyvespa

import pyvespa
from pyvespa import Vespa

app = Vespa(url="http://localhost")
results = app.query(yql="select * from doc where true")
  • Whether docker dependency is a runtime requirement or only for local development
  • Specific Vespa server version compatibility constraints
  • Exact URL format and port requirements for connecting to Vespa instances
Same gist for agents: .md · .json

What it is and what it does

pyvespa is a Python wrapper around Vespa, an open-source serving engine designed for large-scale search, ranking, and data computation at query time. It abstracts Vespa's deployment and interaction model into a Python API, allowing developers to programmatically create application schemas, deploy configurations, and execute queries without direct command-line or REST interaction.

The library is built for prototyping and experimentation with Vespa features. It depends on standard HTTP clients (requests, httpx), templating (jinja2), and utility libraries (tenacity for retries, cryptography for secure communication) to manage the full lifecycle of a Vespa application—from schema definition through deployment to live query execution. The package also wraps the Vespa CLI for command-line operations.

Use it for

  • Prototype a search application with custom ranking models before deploying to production
  • Automate Vespa cluster deployment and configuration management in data science workflows
  • Build integration tests for search and ranking logic by programmatically creating and querying instances
  • Experiment with different schema designs and ranking functions iteratively in notebooks
  • Deploy Vespa applications as part of a larger Python data pipeline or ML workflow

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are working with Vespa or evaluating it for search and ranking use cases.

The package is actively maintained, has low install friction, carries a permissive Apache 2.0 license, and no known vulnerabilities. It is well-positioned for prototyping and integration into Python-based data science and search workflows. Install it if Vespa is already part of your architecture or you are exploring it.

Install

pyvespa on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. The package is actively maintained with a recent release 42 days ago and an active repository. It carries 13 runtime dependencies including standard ecosystem libraries.

Requires a running Vespa instance accessible at the specified URL; Python 3.10 or later (requires_python >=3.10,<3.14).

License in practice

Licensed under Apache 2.0, a permissive open-source license that allows commercial use, modification, and distribution with minimal restrictions. You may use and modify the code freely provided you include the license and attribution notices.

Quickstart

pip install pyvespa

import pyvespa
from pyvespa import Vespa

app = Vespa(url="http://localhost")
results = app.query(yql="select * from doc where true")

Verify before relying

  • Whether docker dependency is a runtime requirement or only for local development
  • Specific Vespa server version compatibility constraints
  • Exact URL format and port requirements for connecting to Vespa instances

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release <3.14,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
13 packages
httprdockerjinja2cryptographytenacitytyping_extensionspython-dateutilfastcorelxmlcertifirequestsrequests_toolbelthttpx
MaintenanceActively maintained 42 days since the last release
Last repo commit
First released
Downloads17,444,074 / month, #1,119 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software License

Evidence: pyvespa-1.2.4-py3-none-any.whl

Tags

Capabilities
vespa python apisearch engine deploymentranking and retrievaldata serving platformvespa cli wrapperprototype search applicationslarge-scale search indexing
Topics
search-engineranking-retrievaldistributed-computing
PyPI keywords
vespasearch enginedata science

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “vespa python api”

  • pyvespapyvespa provides a Python API to create, deploy, and interact with…
  • apache-airflow-providers-vespaIntegrates Apache Airflow with Vespa, enabling workflow orchestration…
  • xdkA Python SDK for interacting with the X API, providing typed client…

Give your agent the search over MCP, or paste the wish link into any chat.

More Front-Ends packages

SQLAlchemy Worth it
PyPI · Front-Ends · released Aug 2026

SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.

permissive licensepure Python · 3.7+
422.7Mdownloads / mo
psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
alembic Worth it
PyPI · Front-Ends · released Aug 2026

Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.

Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.

MITpure Python · 3.10+
215.2Mdownloads / mo
weaviate-client Worth it
PyPI · Front-Ends · released Aug 2026

A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.

permissive licensepure Python · 3.10+
213.2Mdownloads / mo
databricks-sql-connector Worth it
PyPI · Front-Ends · released Jul 2026

A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.

Install it if you need to query Databricks clusters or SQL warehouses from Python.

Apache-2.0pure Python
119.5Mdownloads / mo
psycopg Worth it
PyPI · Software Development · released May 2026

Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.

Install it if you need to connect Python to PostgreSQL.

LGPL-3.0-onlypure Python · 3.10+
117.0Mdownloads / mo

See also apache-airflow-providers-vespa · tensorflow-serving-api · FlashRank · needle-python · trieve-py-client · apache-sedona · pypsa · pagefind · python-lsp-ruff