epidemik 0.2.0: Define Epidemic Models as Strings, Get R0 and Diagrams for Free
bgoncalves · x · 2026-09-17
DataForScience released epidemik 0.2.0, an MIT-licensed Python package for compartmental epidemic modeling.
- Models are defined as interaction strings like S + I -> I + I; the package computes the basic reproduction number R0 via next-generation matrices, draws model diagrams, and exports YAML
- Supports arbitrary compartment transitions, named parameters as expressions (e.g. mu="beta/2"), deterministic ODE integration and seeded stochastic simulation under one interface
- Built on a networkx directed multigraph; includes network spread, metapopulation travel matrices, time-gated vaccination campaigns, births/deaths, seasonal forcing, age structure via contact matrices, and host/vector multi-group models
- Install with pip install epidemik, requires Python 3.8+
More from Research
- Dream-RSI: Google DeepMind paper makes the research process itself self-improving — McDonaghMatthew · 2026-09-17
- Dream-RSI from Google DeepMind turns AI experiment logs into reusable self-improvement testbeds — McDonaghMatthew · 2026-09-17
- MIT's FloatForm robot boats self-assemble into bridges on water, published in Nature — lukas_m_ziegler · 2026-09-17
- DeepMind open-sources a fruit fly that learned to fly, 59-dim action space on a laptop — anthara_ai · 2026-09-17
- XPeng unveils XPACE, a unified embodied world model powering its IRON humanoid — CyberRobooo · 2026-09-17
- Max-pooling attribution maps model outputs back to input words in new sparse-model release — antoine_chaffin · 2026-09-17