pyro-api
Generic API for dispatch to Pyro backends.
Decision gist · record as of 2026-08-14
No—unless you are actively developing or maintaining a Pyro backend. The package is abandoned (last commit 2022-02-13), has no runtime dependencies so it's not a burden to remove, but offers no value to users of existing backends. If you need probabilistic programming, install a specific backend (funsor, numpyro) directly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a registered Pyro backend (e.g., funsor or numpyro) to be installed and importable; the package itself provides only the dispatch interface.
- Installation is frictionless with no runtime dependencies.
- However, the package is abandoned—last release was 2020-05-15 and last commit 2022-02-13—so expect no maintenance, bug fixes, or updates.
License · maintenance · safety
Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), so you can use, modify, and distribute the package freely in commercial and private projects with minimal restrictions.
last release 2020-05-15 (2282 days) · last repo commit 2022-02-13 · 16 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,223,131 downloads/mo, #4,199 on PyPI
Alternatives
Verify before relying
pip install pyro-api
from pyro_api.dispatch import pyro_backend
from pyro_api.testing import MODELS
with pyro_backend(handlers='my_backend.handlers', distributions='my_backend.distributions'):
for model_name in MODELS:
f = MODELS[model_name]()
model, model_args = f['model'], f.get('model_args', ())
model(*model_args)- Whether the package remains compatible with modern Pyro backends (funsor, numpyro) given its abandonment since 2022
- Whether Python 3.6 support claim is current or whether the package works on modern Python versions
What it is and what it does
Pyro API is a thin abstraction layer for probabilistic programming that lets you write models and inference code once and dispatch them to different Pyro backends—such as funsor or numpyro—without rewriting. It defines a generic interface for handlers, distributions, and other core components, then routes calls to whichever backend you register at runtime.
The package itself has no runtime dependencies and is designed primarily for testing backend implementations. You register a backend using a context manager, then run your models and tests against it. This is useful if you're building a new Pyro backend or need to validate that your models work across multiple inference engines, but it's a library for framework developers rather than end users.
Use it for
- Test a new Pyro backend implementation against a standard suite of models in pyro_api.testing
- Write probabilistic models that can switch between backends (e.g., funsor and numpyro) at runtime
- Validate backend compatibility by running the same inference code against multiple Pyro implementations
- Build a wrapper around a custom Pyro backend and expose it through the standard pyro_api interface
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—unless you are actively developing or maintaining a Pyro backend.
The package is abandoned (last commit 2022-02-13), has no runtime dependencies so it's not a burden to remove, but offers no value to users of existing backends. If you need probabilistic programming, install a specific backend (funsor, numpyro) directly.
Install
pyro-api on PyPI
Before you install
Installation is frictionless with no runtime dependencies. However, the package is abandoned—last release was 2020-05-15 and last commit 2022-02-13—so expect no maintenance, bug fixes, or updates.
Requires a registered Pyro backend (e.g., funsor or numpyro) to be installed and importable; the package itself provides only the dispatch interface.
License in practice
Licensed under Apache License 2.0 (permissive), so you can use, modify, and distribute the package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install pyro-api
from pyro_api.dispatch import pyro_backend
from pyro_api.testing import MODELS
with pyro_backend(handlers='my_backend.handlers', distributions='my_backend.distributions'):
for model_name in MODELS:
f = MODELS[model_name]()
model, model_args = f['model'], f.get('model_args', ())
model(*model_args)
Verify before relying
- Whether the package remains compatible with modern Pyro backends (funsor, numpyro) given its abandonment since 2022
- Whether Python 3.6 support claim is current or whether the package works on modern Python versions
Package facts
| License | Apache License 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,282 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,223,131 / month, #4,199 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.6 |
Evidence: pyro_api-0.1.2-py3-none-any.whl
Tags
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 › “probabilistic programming dispatch”
- pyro-apiProvides a generic dispatch API for probabilistic programming…
- problogProbLog is a probabilistic logic programming toolbox that combines…
- pyro-pplPyro is a deep probabilistic programming library built on PyTorch…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also pyro-ppl · numpyro · tensorflow-probability · tfp-nightly · pymc3 · botorch · pymc · Pyro4 · cmdstanpy · Pyro5