HPVsim: Human Papillomavirus Simulator
Project description
This repository contains the code for the Starsim suite’s human papillomavirus simulator, HPVsim. HPVsim is a flexible agent-based model that can be parameterized with country-specific vital dynamics, structured sexual networks, co-transmitting HPV genotypes, B- and T-cell mediated immunity, and high-resolution disease natural history. HPVsim is designed with a user-first lens: it is implemented in pure Python, has built-in tools for simulating commonly-used interventions, has been extensively tested and documented, and runs in a matter of seconds to minutes on a laptop. Useful complexity was not sacrificed: the platform is flexible, allowing bespoke scenario modeling.
HPVsim is currently under active development.
Installation
The easiest way to install is simply via pip: pip install hpvsim. Alternatively, you can clone this repository, then run pip install -e . (don’t forget the dot!) in this folder to install hpvsim and its dependencies. This will make hpvsim available on the Python path. The first time HPVsim is imported, it will automatically download the required data files (~30 MB).
Usage and documentation
Documentation is available at https://docs.hpvsim.org. Additional usage examples are available in the tests folder.
Contributing
If you wish to contribute, please follow the Starsim style guide at: https://github.com/amath-idm/styleguide. See the code of conduct readme for more information.
Disclaimer
The code in this repository was developed by IDM, the Burnet Institute, and other collaborators to support our joint research on HPV. We’ve made it publicly available under the MIT License to provide others with a better understanding of our research and an opportunity to build upon it for their own work. Note that HPVsim depends on a number of user-installed Python packages that can be installed automatically via pip install. We make no representations that the code works as intended or that we will provide support, address issues that are found, or accept pull requests. You are welcome to create your own fork and modify the code to suit your own modeling needs as contemplated under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hpvsim-1.0.0.tar.gz
.
File metadata
- Download URL: hpvsim-1.0.0.tar.gz
- Upload date:
- Size: 177.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8f3bc16b639a709bd1f65448b158e5ea368d109e57fb76125ac85140b0efdc8 |
|
MD5 | b81f8f831afa436532fee8800e3265ee |
|
BLAKE2b-256 | d4780db73a79f7416dc9eae770813abf76004709bbe0e73f18361c5c6226230d |
File details
Details for the file hpvsim-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: hpvsim-1.0.0-py3-none-any.whl
- Upload date:
- Size: 184.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0754800ff226c11b6fbb9eaa791189ef7e045309fe5b24e5817ae502b227658 |
|
MD5 | 33768a8dd1a21ae0755a72113c127b55 |
|
BLAKE2b-256 | 25fb43a8824ed8311176edb6c5bc7dc44cbfcfc1debf7d45f884080335644545 |