NOTE: This repository is archived and will receive no further updates.
The vivarium package has been renamed and migrated into the
vivarium-suite monorepo.
- PyPI distribution:
vivarium->vivarium-engine - Import path:
vivarium->vivarium.engine - Source:
ihmeuw/vivarium(archived) ->ihmeuw/vivarium-suite(underlibs/engine/) - Docs: https://vivarium-engine.readthedocs.io/
The final release on PyPI (v4.1.6) ships the same code as v4.1.5 with this
banner added. pip install vivarium will keep resolving and importing as it did
in v4.1.5, but the code is frozen and will not receive updates.
New development should install vivarium-engine and import from vivarium.engine.
Install:
pip install vivarium-engine # was: pip install vivariumImport:
import vivarium.engine # was: import vivariumVivarium is a simulation framework written using standard scientific Python tools.
Vivarium requires Python 3.10-3.12 to run
You can install vivarium from PyPI with pip:
> pip install vivarium
or build it from source with
> git clone https://github.com/ihmeuw/vivarium.git
> cd vivarium
> conda create -n ENVIRONMENT_NAME python=3.12
> pip install -e .[dev]
This will make the vivarium library available to python and install a
command-line executable called simulate that you can use to verify your
installation with
> simulate test