A dynamic nested sampling package for computing Bayesian posteriors and evidences.
Maintained. Last release 3 weeks ago, commits in 12 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install dynestydynesty

A Dynamic Nested Sampling package for computing Bayesian posteriors and evidences. Pure Python. MIT license.
Documentation
Documentation can be found here.
Installation
The most stable release of dynesty can be installed
through pip via
pip install dynesty
The current (less stable) development version can be installed by running
pip install .
from inside the repository.
Demos
Several Jupyter notebooks that demonstrate most of the available features of the code can be found here.
Attribution
If you use this package in your research, you should cite both of these references:
- The original paper Speagle (2020)
- The Python implementation Koposov et al. (2026) (here is a BibTeX file)
Please also consider citing papers describing the underlying methods (see the documentation for more details)