FPsim: Family Planning Simulator
Project description
FPsim: Family Planning Simulator
This repository contains the code for the Institute for Disease Modeling's family planning simulator, FPsim.
FPsim is currently under development.
User guide
FPsim is designed as an open-source tool for family planning research. However, it is not a silver bullet tool. It is designed to answer complex questions about emerging dynamics in complex social and behavioral systems. Its strength stems from a life-course approach, which allows researchers to examine how compounding and temporal effects unfold over women's lives, and how these individual-level changes lead to macro-level outcomes.
Before using FPsim, please refer to the following guidelines:
- FPsim is only as good as the data and assumptions provided. Be sure you are familiar with both before using FPsim.
- FPsim is not a replacement for good data. The model cannot tell you what demand for a hypothetical method will be.
- FPsim is not a replacement for descriptive statistics. Before using FPsim, assess your primary research question(s). Can they be answered using descriptive statistics?
- FPsim cannot predict exogenous events. Use caution when interpreting and presenting results. For example, FPsim cannot predict regional conflicts or pandemics, nor their impacts on FP services.
Repo structure
The structure is as follows:
- FPsim, in the folder
fpsim, is a standalone Python library for performing family planning analyses. - Within
fpsim, thelocationsfolder contains parameters and input data for all countries currently calibrated. - Docs are in the
docsfolder. - Examples are in the
examplesfolder. - Tests are in the
testsfolder.
Installation
Run pip install fpsim to install and its dependencies from PyPI. Alternatively, clone the repository and run pip install -e . (including the final dot!). To be able to run tests and build the docs as well, use pip install -e .[dev].
Documentation
Documentation is available at https://docs.fpsim.org.
Disclaimer
The code in this repository was developed by IDM and other collaborators to support our joint research on family planning. 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 FPsim 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. See the contributing and code of conduct READMEs for more information.
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
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 fpsim-3.5.3.tar.gz.
File metadata
- Download URL: fpsim-3.5.3.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cc4e6941ce65cf0718f79ee35c7f78aca1d5c09f3affef919f00c0ebd5d79b9
|
|
| MD5 |
0301c0523cf097d4411a973677010271
|
|
| BLAKE2b-256 |
a2ab4ccb90f856b091e4719648a7980ccb7601803583085a40d7a1f81efe1ec5
|
Provenance
The following attestation bundles were made for fpsim-3.5.3.tar.gz:
Publisher:
pypi_release.yml on starsimhub/fpsim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fpsim-3.5.3.tar.gz -
Subject digest:
1cc4e6941ce65cf0718f79ee35c7f78aca1d5c09f3affef919f00c0ebd5d79b9 - Sigstore transparency entry: 1189304450
- Sigstore integration time:
-
Permalink:
starsimhub/fpsim@ca0bb8d75dc271595d2a8774e8feb1ade68d232d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/starsimhub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_release.yml@ca0bb8d75dc271595d2a8774e8feb1ade68d232d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fpsim-3.5.3-py3-none-any.whl.
File metadata
- Download URL: fpsim-3.5.3-py3-none-any.whl
- Upload date:
- Size: 998.8 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 |
54b57fd43abb3dff2d286b17dd39cb9581773d22d359e88ea8a657981d561451
|
|
| MD5 |
08cbe910a3b440013dbb3f2da3fd82f5
|
|
| BLAKE2b-256 |
3a7d75eb9ad11571a0d83e80b10741cb46f4ef2628ffce45d60a08317a0c40cb
|
Provenance
The following attestation bundles were made for fpsim-3.5.3-py3-none-any.whl:
Publisher:
pypi_release.yml on starsimhub/fpsim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fpsim-3.5.3-py3-none-any.whl -
Subject digest:
54b57fd43abb3dff2d286b17dd39cb9581773d22d359e88ea8a657981d561451 - Sigstore transparency entry: 1189304454
- Sigstore integration time:
-
Permalink:
starsimhub/fpsim@ca0bb8d75dc271595d2a8774e8feb1ade68d232d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/starsimhub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_release.yml@ca0bb8d75dc271595d2a8774e8feb1ade68d232d -
Trigger Event:
workflow_dispatch
-
Statement type: