Skip to main content

The flexible epidemic modeling pipeline

Project description

flepimop2

The next generation of the flexible epidemic modeling pipeline.

Installation

flepimop2 is published on PyPI and can be installed with:

pip install flepimop2

If you are adding flepimop2 as a dependency in another project, see the installation guide.

Local Development

  1. Clone the repository
git clone git@github.com:ACCIDDA/flepimop2.git
cd flepimop2
  1. Create a virtual environment and install dependencies using uv. To create a .venv with the package installed:
uv sync --dev

This will create a virtual environment and install the package along with development dependencies (mypy, pytest, ruff).

  1. Run default checks using just. To run the default development tasks:
just

This will run:

  • ruff format - Format code.
  • ruff check --fix - Lint and auto-fix issues.
  • pytest --doctest-modules - Run tests including doctests.
  • mypy --strict - Type check with strict settings.
  • yamllint --strict - Lint YAML files.
  1. CI runs on pull requests to main and tests against Python 3.11, 3.12, 3.13, and 3.14. The CI checks are defined in just ci and include:
  • ruff format --check - Verify code formatting (no auto-fix).
  • ruff check --no-fix - Lint without modifications.
  • pytest --doctest-modules - Run test suite.
  • mypy --strict - Type checking.

To run the same checks locally that run in CI (say for diagnosing CI failures):

just ci

There is a separate CI check which will run just yamllint and just docs to check YAML file formatting and that the documentation builds successfully.

Funding Acknowledgement

This project was made possible by the Insight Net cooperative agreement CDC-RFA-FT-23-0069 from the CDC’s Center for Forecasting and Outbreak Analytics. Its contents are solely the responsibility of the authors and do not necessarily represent the official views of the Centers for Disease Control and Prevention.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flepimop2-0.2.0.tar.gz (67.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flepimop2-0.2.0-py3-none-any.whl (97.2 kB view details)

Uploaded Python 3

File details

Details for the file flepimop2-0.2.0.tar.gz.

File metadata

  • Download URL: flepimop2-0.2.0.tar.gz
  • Upload date:
  • Size: 67.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for flepimop2-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e435a1477aca6907d75ec4bd9646f24730f8030cc684d725b04685c6dc61a6a9
MD5 b1b0db532186d17ee72d34500ff48566
BLAKE2b-256 dabc8d71877bd71869d7bc42cb1c0b8ee96944e16dbc815cce34580c53515586

See more details on using hashes here.

Provenance

The following attestation bundles were made for flepimop2-0.2.0.tar.gz:

Publisher: release.yaml on ACCIDDA/flepimop2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flepimop2-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: flepimop2-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 97.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for flepimop2-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4aa2303a2904bab70c3681839603c6682c73e71417a873eea8fea0a7f98d9b50
MD5 8d1b0a9d23ba1493bc49ec5a1fc9bd80
BLAKE2b-256 443af59203a0383b4f7288e00ae6baa03b416ff86466c6a7cfcd59a8236542e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for flepimop2-0.2.0-py3-none-any.whl:

Publisher: release.yaml on ACCIDDA/flepimop2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page