$npx skillfedfor your agent

pytensor-distributions

PyTensor powered distributions.

With conditionsPyPI MathematicsReleased Jun 2026248.1K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytensor_distributions-0.2.0-py3-none-any.whl
v0.2.0 · released 2026-06-08 · Python >=3.12 · 2 runtime deps: numpy, pytensor

Yes, if you are working with PyMC or building probabilistic models that benefit from PyTensor's symbolic computation. The low install friction, permissive license, and active maintenance make it a reasonable choice. However, the alpha status means the API and feature coverage may change; verify that the distributions and expressions you need are already implemented before committing to a production dependency.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.12 or later; pytensor must be installed and functional.
  • Low install friction; the package is a pure Python wheel with only numpy and pytensor as runtime dependencies.
  • Actively maintained with a recent release, though still in alpha development status.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions.

last release 2026-06-08 (67 days) · last repo commit 2026-06-08 · 5 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 248,129 downloads/mo, #8,675 on PyPI

Verify before relying

pip install pytensor-distributions

import pytensor_distributions as ptd
import numpy as np

# Example: compute pdf of a distribution
pdf_value = ptd.normal.pdf(x=0.0, mu=0.0, sigma=1.0)
  • Which specific distributions are currently implemented and which core expressions each supports
  • Performance characteristics compared to scipy or other probability libraries
  • API stability guarantees given the alpha development status
Same gist for agents: .md · .json

What it is and what it does

PyTensor-distributions is a library of probability distribution functions and statistical properties implemented as PyTensor symbolic expressions. It provides a unified, tested source for core probability operations—pdf, cdf, ppf, logpdf, mean, variance, entropy, and others—designed to reduce redundancy across the PyMC ecosystem and allow other libraries to build specialized APIs on top of these expressions.

The package takes a minimal, function-based design approach: one file per distribution, no classes, and a focus on simplicity. It depends only on numpy and pytensor, making it lightweight to install. It is currently in active development (alpha status) and welcomes community contributions.

Use it for

  • Building probabilistic models in PyMC or other Bayesian inference frameworks that need standardized distribution expressions
  • Computing probability density, cumulative distribution, and inverse functions for statistical analysis workflows
  • Implementing custom probabilistic algorithms that require symbolic distribution operations via PyTensor
  • Reducing code duplication by using a shared, tested library of distribution implementations across multiple projects

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 PyMC or building probabilistic models that benefit from PyTensor's symbolic computation.

The low install friction, permissive license, and active maintenance make it a reasonable choice. However, the alpha status means the API and feature coverage may change; verify that the distributions and expressions you need are already implemented before committing to a production dependency.

Install

pytensor-distributions on PyPI

Before you install

Low install friction; the package is a pure Python wheel with only numpy and pytensor as runtime dependencies. Actively maintained with a recent release, though still in alpha development status.

Requires Python 3.12 or later; pytensor must be installed and functional.

License in practice

Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install pytensor-distributions

import pytensor_distributions as ptd
import numpy as np

# Example: compute pdf of a distribution
pdf_value = ptd.normal.pdf(x=0.0, mu=0.0, sigma=1.0)

Verify before relying

  • Which specific distributions are currently implemented and which core expressions each supports
  • Performance characteristics compared to scipy or other probability libraries
  • API stability guarantees given the alpha development status

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.12
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
numpypytensor
MaintenanceActively maintained 67 days since the last release
Last repo commit
First released
Downloads248,129 / month, #8,675 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: pytensor_distributions-0.2.0-py3-none-any.whl

Tags

Capabilities
probability distributions pytensorstatistical functions pytensorpdf cdf ppf implementationsprobabilistic computing distributionspytensor probability expressionsdistribution statistics numpybayesian inference distributions
Topics
probabilistic-computingsymbolic-math

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 › “probability distributions pytensor”

  • pytensor-distributionsPyTensor-distributions provides a collection of probability…
  • pymc-extrasExtends PyMC with specialized distributions, alternative inference…
  • distraxDistrax provides JAX-native probability distributions and bijectors…

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

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also cody-special · momentchi2 · pytensor · reliability · tensorflow-probability · tfp-nightly · pymc-extras · pyro-ppl · statistics · lifelines