Skip to main content

The flexible epidemic modeling pipeline

Project description

flepimop2

The next generation of the flexible epidemic modeling pipeline.

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.1.0.tar.gz (67.0 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.1.0-py3-none-any.whl (96.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flepimop2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b1513bc07a05e776f1cedd45d066dec66971507f18687118ea3bab9a1064a37b
MD5 a0c6cd0b2ada9cf1b9f880293d55ffa2
BLAKE2b-256 483ecdbd9e325bff808093d96ab01dd9a10694d5c11968db478732822e81dfab

See more details on using hashes here.

Provenance

The following attestation bundles were made for flepimop2-0.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: flepimop2-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 96.9 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fb5f0bd955ea90b795b02d0d6c013680e4e2cefd5db07f9fb600e41e08dcdb7
MD5 bad9d3eb33360491531742836c529012
BLAKE2b-256 2f0c943f3d2e6478dad361e657270fbb3d05be4f3771d4f8a5d02cb48db573ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for flepimop2-0.1.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