Skip to main content

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.

mosquito

license

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

Note: you may need to only use python on Windows machines rather than python3.

Documentation

Documentation available at https://emod-hub.github.io/emodpy-malaria

To build the documentation locally, do the following:

  1. Create and activate a venv.

  2. Navigate to the root directory of the repo and enter the following:

    pip install -e[docs] .
    python -m sphinx -T --keep-going -b html ./docs ./site
    

The HTML documentation will be output to the 'site' directory.

FAQ

Frequently asked questions are answered in https://emod-hub.github.io/emodpy-malaria/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 .

Option 2: You will need to install 'build':

pip install build 

Each time you make a change you want to use, you'll need to build a new .whl file and install it:

python -m build
pip install dist\emodpy_malaria-XXXX.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

emodpy_malaria-5.1.3.tar.gz (136.2 kB view details)

Uploaded Source

Built Distribution

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

emodpy_malaria-5.1.3-py3-none-any.whl (168.9 kB view details)

Uploaded Python 3

File details

Details for the file emodpy_malaria-5.1.3.tar.gz.

File metadata

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

File hashes

Hashes for emodpy_malaria-5.1.3.tar.gz
Algorithm Hash digest
SHA256 0a8fd06053730352e85765614f173928045c16257e07667fd263ba80fcbd483d
MD5 cd3fc1b55775f4f24e753ae69cff9174
BLAKE2b-256 e4ee6c46731d8e6c0be74dfc69735bcad5d21cbd15a7f9a4a335e18647d0f8ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for emodpy_malaria-5.1.3.tar.gz:

Publisher: publish_pypi.yml on EMOD-Hub/emodpy-malaria

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

File details

Details for the file emodpy_malaria-5.1.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for emodpy_malaria-5.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4584d721da3e1e0ce1724db227cda084f742f0a0df695004e3f281f510516ef2
MD5 cf2da568bf0cb3489fa41593bbb8809b
BLAKE2b-256 4fab9ca35bbce082b397726bd2ea940a6788696bb833e12c4fa715e1dd728323

See more details on using hashes here.

Provenance

The following attestation bundles were made for emodpy_malaria-5.1.3-py3-none-any.whl:

Publisher: publish_pypi.yml on EMOD-Hub/emodpy-malaria

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