Skip to main content

laser-measles

PyPI Package latest release MIT License Documentation Status

laser-measles is a spatial epidemiological modeling toolkit that helps researchers and public health teams simulate measles transmission, evaluate vaccination strategies, and plan outbreak responses. It translates surveillance data and demographic information into projections that inform immunization planning and resource allocation — with a focus on settings where measles remains a leading cause of vaccine-preventable death.

Developed by the Institute for Disease Modeling (IDM) at the Bill & Melinda Gates Foundation, laser-measles is built on the open-source LASER framework.

Installation

pip install laser-measles

Recommended stable release: version 0.13 — the current validated and supported version:

pip install "laser-measles>=0.13,<1.0"

For development installation:

pip install -e ".[dev]"

Getting started

The recommended first example is the Quick Start Tutorial.

Model types

laser-measles provides three modeling approaches:

  • ABM (Agent-Based Model): Individual-level simulation with stochastic agents and daily timesteps. Best for detailed heterogeneity and contact structure.
  • Biweekly Compartmental Model: Population-level SIR dynamics with 2-week timesteps. Recommended for scenario building and policy analysis.
  • Compartmental Model: Population-level SEIR dynamics with daily timesteps. Recommended for parameter estimation and outbreak modeling.
from laser.measles.abm import ABMModel, ABMParams

params = ABMParams(num_ticks=365, seed=42, start_time="2000-01")
model = ABMModel(scenario, params)
model.run()

Documentation

Full documentation is available at laser.idmod.org/laser-measles.

Contributing

Contributions are welcome. See CONTRIBUTING.md for development setup, testing, and submission guidelines.

Bug reports and feature requests can be filed on the GitHub issue tracker.

License

MIT License — Copyright (c) 2026, Gates Foundation

Metadata

Release files for laser.measles 0.13.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for laser.measles 0.13.1
File Size Uploaded Provenance Actions
laser_measles-0.13.1.tar.gz 116.3 kB With provenance Details for laser_measles-0.13.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for laser.measles 0.13.1
File Interpreter ABI Platform Actions
laser_measles-0.13.1-py3-none-any.whl Python 3 none any Details for laser_measles-0.13.1-py3-none-any.whl

Total release size: 290.8 kB

Release files / laser_measles-0.13.1.tar.gz

Download URL laser_measles-0.13.1.tar.gz
Size 116.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9b397e5cfba67a0afa7c979d0a8bf03ac01610afcd6db412a255c02a6ab13d67
BLAKE2b-256 checksum
How to use checksums
1c9a9782018c3f175dd136713b74180e39714207b7d23ecf37453e909c83ce2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 17, 2026.

Transparency log

Release files / laser_measles-0.13.1-py3-none-any.whl

Download URL laser_measles-0.13.1-py3-none-any.whl
Size 174.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
458a2a43e6d2759c62092e83fa75b6a66118c22c594b64137aee317e2bc96dfd
BLAKE2b-256 checksum
How to use checksums
13e7352bd1273b28f974fe23e1411e4333856bf68d3fe50cf90b5d55d6626d44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 17, 2026.

Transparency log

Security for laser.measles 0.13.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for laser_measles-0.13.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page