vaxflux
is a python package for constructing flexible seasonal vaccine uptake models.
vaxflux
is still a WIP so it is recommended to either install from github:
uv pip install "git+https://github.com/ACCIDDA/vaxflux"
or from source:
git clone [email protected]:ACCIDDA/vaxflux.git
cd vaxflux
uv sync
uv pip install --editable .
vaxflux
's documentation is not hosted yet, but can be viewed locally by installing from source (see above). Then in your clone of vaxflux
you can run the following commands:
make docs
make serve
These commands will:
- Build the documentation, namely the API reference which is not included in the git repository, and
- Launch python's built-in webserver to view the documentation in your browser.
The documentation will be available for viewing at http://localhost:8000/
. The port might vary, please consult make serve
output to confirm.
To contribute install the package from source (as described above). vaxflux
uses several tools to maintain code quality which can be run as follows:
ruff
: To auto-format and lint python and jupyter notebook files,mypy
: to type check the package, andpytest
to run the unit tests.
The source for this package also includes a Makefile
with these commands built in to make it easier for contributors to quality check their code before opening a PR. Importantly:
make
ormake all
: Will create the virtual environment if need be and run the tools above, andmake ci
: Will replicate the steps that the GitHub CI workflow will do to make it easier for contributors to debug CI failures locally.
The Makefile
has only been tested with MacOS/Linux so it may not work as expected on Windows.
This project was made possible by 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.