arviz-base
Base ArviZ features and converters.
What it is and what it does
arviz-base is the foundation layer of the ArviZ ecosystem, a modular Python library for exploratory analysis of Bayesian models. This subpackage specifically handles data converters and base manipulation—the infrastructure for transforming posterior samples from different modeling tools into a common format and performing core data operations. It depends on numpy, xarray, typing-extensions, and lazy_loader to provide efficient storage and access to multidimensional inference data.
The package is designed as part of a larger ecosystem and targets researchers and practitioners working with Bayesian inference. It requires Python 3.12 or later and is actively maintained by the ArviZ community under NumFOCUS.
Use it for:
- Convert posterior samples from different Bayesian samplers into a standardized xarray-based format for downstream analysis
- Store and retrieve multidimensional inference data efficiently using xarray structures
- Build custom Bayesian analysis pipelines that need a common data layer across different modeling frameworks
- Integrate Bayesian model outputs into reproducible research workflows with standardized metadata
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides converters and base data manipulation functions for the ArviZ Bayesian analysis ecosystem, handling posterior data storage and transformation.
Yes, if you are working within the ArviZ ecosystem or need to standardize posterior data from multiple Bayesian modeling frameworks. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Verify first whether you need the full ecosystem or can use this subpackage independently.
Install
arviz-base on PyPI
pip
pip install arviz-baseuv
uv add arviz-basepoetry
poetry add arviz-baseInstalling arviz-base
Before you install
Low install friction with a pure-Python wheel and minimal dependencies. Active maintenance with a release 3 days old and recent commits suggest steady development.
License in practice
Licensed under Apache Software License (permissive), allowing commercial and private use without restriction.
Quickstart
pip install arviz-base
import arviz_base
import numpy as np
import xarray as xr
Requires Python 3.12 or later
Verify before relying
- Which specific Bayesian modeling frameworks are supported by the converters in this version
- Whether this subpackage can be used independently or requires other arviz packages for typical workflows
- Performance characteristics when handling large posterior datasets
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.12) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — numpy, xarray, typing-extensions, lazy_loader |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 607,412/month — #5,785 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: arviz_base-1.3.0-py3-none-any.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
arvizArviZ is a Python package for exploratory…
permissive · top 5,000 on PyPI
arviz-plotsarviz-plots provides visualization functions…
permissive · top 15,000 on PyPI
arviz-statsProvides statistical computations and…
permissive · top 15,000 on PyPI
prelizPreliZ helps you specify prior distributions…
permissive · top 15,000 on PyPI
pystanPyStan provides a Python interface to Stan for…
permissive · top 5,000 on PyPI
nutpienutpie provides a fast NUTS sampler for…
permissive · top 15,000 on PyPI
cornerGenerates publication-quality corner plots…
permissive · top 15,000 on PyPI
emceeemcee implements affine-invariant ensemble…
permissive · top 5,000 on PyPI
pymc3PyMC3 is a Python package for Bayesian…
permissive · top 15,000 on PyPI
cmdstanpyCmdStanPy provides a pure-Python interface to…
permissive · top 5,000 on PyPI