IDM's malaria-specific EMOD-API binding code
Project description
emodpy-malaria
Python module for use as user-space front-end for doing research easily with EMOD (MALARIA_SIM) via idmtools.
Description
This package provides a Python scriptable interface for configuring EMOD for malaria modeling. This Python interface abstracts the process of creating JSON formatted files for parameter specification, demographics specification and intervention specification along as well as abstracting the process of creating binary climate and migration files.
Getting started
Before installing emodpy_malaria, please see the Getting Started page.
It can guide you through trying EMOD before you try it on your own machine.
Get emodpy-malaria
The emodpy-malaria package (and its supporting packages) is currently hosted on IDM's Python package repository.
python3 -m pip install emodpy-malaria --extra-index-url=https://packages.idmod.org/api/pypi/pypi-production/simple
Note: you may need to only use python on Windows machines rather than python3.
Documentation
Documentation available at https://docs.idmod.org/projects/emodpy-malaria/en/latest/.
To build the documentation locally, do the following:
-
Create and activate a venv.
-
Navigate to the root directory of the repo and enter the following:
pip install -e . --extra-index-url=https://packages.idmod.org/api/pypi/pypi-production/simple cd docs pip install -r requirements.txt make html
You may need to open a new command prompt before running make html. The HTML
documentation will be output to the docs/_build/html directory.
FAQ
Frequently asked questions are answered in https://docs.idmod.org/projects/emodpy-malaria/en/latest/faq.html.
Community
Have a question or a comment? Check out our Discussions space.
Support and Contributions
The code in this repository was developed by IDM to support our research in disease transmission and managing epidemics. 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. 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.
If you have feature requests, issues, or new code, please see our CONTRIBUTING page for how to provide your feedback.
Developer Installation
There are several options if you are modifying the code locally.
Option 1:
install in the emodpy-malaria directory:
pip install -e . --extra-index-url=https://packages.idmod.org/api/pypi/pypi-production/simple
Option 2: Each time you make a change you want to install 'build':
pip install build
..and then run the following commands to build the package with latest code and install it:
python -m build --wheel
pip install dist\emodpy_malaria-XXX.whl
Disclaimer
The code in this repository was developed by IDM and other collaborators to support our joint research on flexible agent-based modeling. 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. 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 permitted under the MIT License.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file emodpy_malaria-5.0.2.tar.gz.
File metadata
- Download URL: emodpy_malaria-5.0.2.tar.gz
- Upload date:
- Size: 134.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc82b8421fc5839cb0314606003ab46917c144d7bfd00d4ffec21cf2b0f5d158
|
|
| MD5 |
26ba190f95ec9ac0568cf99340b5b804
|
|
| BLAKE2b-256 |
76a52d79c89f3c1245402e4ff21735f3afec1b2afb7166ece28a0c9ce2e09611
|
Provenance
The following attestation bundles were made for emodpy_malaria-5.0.2.tar.gz:
Publisher:
publish_pypi.yml on EMOD-Hub/emodpy-malaria
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
emodpy_malaria-5.0.2.tar.gz -
Subject digest:
dc82b8421fc5839cb0314606003ab46917c144d7bfd00d4ffec21cf2b0f5d158 - Sigstore transparency entry: 997902042
- Sigstore integration time:
-
Permalink:
EMOD-Hub/emodpy-malaria@2354e79e27ba6bcdbb025b3e9da9986cdcc013e3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/EMOD-Hub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@2354e79e27ba6bcdbb025b3e9da9986cdcc013e3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file emodpy_malaria-5.0.2-py3-none-any.whl.
File metadata
- Download URL: emodpy_malaria-5.0.2-py3-none-any.whl
- Upload date:
- Size: 166.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f10fca43a3cefa552aaac61df15d9cd8789926739311b58ca75adb2e96c893ae
|
|
| MD5 |
b7e6d7e3872a9bbcc540407055a2ec72
|
|
| BLAKE2b-256 |
8816136f566724e93bc8f070f3cecfc591c7f3fc10b85526de87d6b40c1fde33
|
Provenance
The following attestation bundles were made for emodpy_malaria-5.0.2-py3-none-any.whl:
Publisher:
publish_pypi.yml on EMOD-Hub/emodpy-malaria
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
emodpy_malaria-5.0.2-py3-none-any.whl -
Subject digest:
f10fca43a3cefa552aaac61df15d9cd8789926739311b58ca75adb2e96c893ae - Sigstore transparency entry: 997902108
- Sigstore integration time:
-
Permalink:
EMOD-Hub/emodpy-malaria@2354e79e27ba6bcdbb025b3e9da9986cdcc013e3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/EMOD-Hub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@2354e79e27ba6bcdbb025b3e9da9986cdcc013e3 -
Trigger Event:
workflow_dispatch
-
Statement type: