The Syndemic Lab's RESPOND Simulation Python Extension Module.
Project description
RESPONDPY
:snake: Welcome to RESPOND for Python! :snake: This repository acts as a set of python bindings for the Syndemics Lab's RESPOND model. As such, it is simply a set of wrappers and helper functions for ease of use in various lab projects. Our project can be installed from PyPI or built locally.
RESPOND
RESPOND is a simulation model developed by the Syndemics Lab at Boston Medical Center to study the various cost-effectiveness impacts of different treatment options for substance use disorders (SUD). While originally built to study opioid use disorder (OUD), RESPOND is a Markov model with the ability to scale to encompass various drug use behaviors and treatment approaches or venues. This repository adds bindings and helper functions to easily work with SQLite. The original RESPOND model is written in R and C++ and can be found on GitHub.
Pybind11
This tool makes use of the popular tool Pybind11. From here, we expose bindings for users to connect to via Python.
Building
We make use of Scikit-build-core along with CMake to build the library.
git clone git@github.com:SyndemicsLab/respondpy.git
uv sync
uv build
This results in a wheel and tar.gz being placed in a dist/ directory. From here, we use uv to include it in other projects. Future work would be to allow for building device independent wheels and publishing to PyPI where we could install anywhere.
ManyLinux Build
We are currently working on supporting a ManyLinux build of the project. This can be tested via the cibuildwheel tool.
uvx cibuildwheel
Deployment Notes
Currently, we deploy using the following commands:
uv build
uvx cibuildwheel
After building into a folder called wheelhouse we remove the *.whl file in the dist/ directory (only leaving the .tar.gz) and run the command:
uv publish --index testpypi dist/* wheelhouse/*
To testpypi we use the username __token__ and our API key generated from our account.
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 Distributions
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 respondpy-0.1.1.tar.gz.
File metadata
- Download URL: respondpy-0.1.1.tar.gz
- Upload date:
- Size: 140.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c725d4bade921fdd6be083dc8b1bb161367f132adfa19a3599864fab48ca94e
|
|
| MD5 |
e2be3d9a039380660635dd2aee54a309
|
|
| BLAKE2b-256 |
f868e7d231ee5675e148e47d4766b3c12bf49b36584247f31b04aeebce30b30b
|
File details
Details for the file respondpy-0.1.1-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 3.0 MB
- Tags: PyPy, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
621c92ccc07f693984473e0ff0a9dc741ede6ac84f4137b38b0274ff410224b5
|
|
| MD5 |
d400edba88a32698fffb33deb09f57b0
|
|
| BLAKE2b-256 |
5e2161c0df7af6eceb8ea716e6fdb927762ee31a08057e2d6cf10a674e35d0be
|
File details
Details for the file respondpy-0.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.14t, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f34052dd0a29244b661a8747dd5b7f53cd225aab585fa0edfa0030fe64347c9a
|
|
| MD5 |
1794356a9caddad6951907f98bc9342d
|
|
| BLAKE2b-256 |
8c215576caea26d92f1d26445399ebe871f24beadf398f0d8c11cdbfa50f2d19
|
File details
Details for the file respondpy-0.1.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.14t, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a6b95485dfd6d06d64842a8979ab6a2c90613d8b1643228c619e5b26d2074c7
|
|
| MD5 |
6825ae80cece12705a62f05041c3ac24
|
|
| BLAKE2b-256 |
ed3a7a59e1c980f7eab1ae47a510aaace8b8f9292df913f6b8a488c555f33324
|
File details
Details for the file respondpy-0.1.1-cp314-cp314-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp314-cp314-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.14, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad7cc4b05fdfff6b591acf9f3dc8998b1d42a2f0c3f1ac23721f3fd5cd2b5aee
|
|
| MD5 |
eac9f4410bbf61fdb99cf2ba57a70195
|
|
| BLAKE2b-256 |
9c58c782f1b1c520bbace2b46cb033d5ebc9f0ca59c263d1ece054b879e32cda
|
File details
Details for the file respondpy-0.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.14, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be46df9d717253f57ffad3cfd0fde5185e597889db3750319ce07daa9e064600
|
|
| MD5 |
eb9648d7ed65d81144fb4b9b58a7e799
|
|
| BLAKE2b-256 |
41ddd1238284202b9a1325a8aa92bb6b7d2e37cb56ffc0a2e3437d6adc54cda0
|
File details
Details for the file respondpy-0.1.1-cp313-cp313t-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp313-cp313t-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.13t, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5738fe21cd167d4cd1b96f75f888e3ed3dc2b525233453d31fe29ac50c5ee27e
|
|
| MD5 |
fa06c21f2bf6796689de21c4c2fda601
|
|
| BLAKE2b-256 |
c14ac7749d58cd6bb451dcaa8af4de12d8ede1fc6f4653dfb026e69cb11e09f4
|
File details
Details for the file respondpy-0.1.1-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.13t, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
875faa2d6c8551f43a26e5257bf6c5bcfee32731d6a7658ef02ea59643543530
|
|
| MD5 |
cfbd143c4f675ca821c483acd21142ea
|
|
| BLAKE2b-256 |
a71e5284bffc82893b8535a46ad452c44925d7e22befca70a9a93d8a33197f11
|
File details
Details for the file respondpy-0.1.1-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6ce763526d312715f79169f637c6311821e072c7c8148220273a841cf74d2fe
|
|
| MD5 |
e422f1ece9132ab78546d688b16ae03f
|
|
| BLAKE2b-256 |
5e07bbf2b643da27d2f1613dbabb368d6021b8b20fb4aa3aa868ffa65bb23079
|
File details
Details for the file respondpy-0.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e11c79527061f36b226f0b7455a1c89c5524774f40170e84a3382beb56c98d82
|
|
| MD5 |
9e6c5036fd1b44497882b051131a9843
|
|
| BLAKE2b-256 |
31b29e038d0fa4e18c878c073fc99a642de08eae84ffe0d34096307380410c45
|
File details
Details for the file respondpy-0.1.1-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5afa31532efab17d064ba1bb90ee858ba3eaec46f9a4b4b82a04c5a74b762ef6
|
|
| MD5 |
2ea0551908b9b3e13ec361e79b1cc767
|
|
| BLAKE2b-256 |
15bd5f4d8cc72775d436b40429a3d7ac3b74817276c5eb421a8d036305dbe131
|
File details
Details for the file respondpy-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b9b2efa191ab962eafc794d06df391c078d0a76773a8e48597f76481b3f6ce9
|
|
| MD5 |
e9f02747c2ee0b7914004de5a623d54e
|
|
| BLAKE2b-256 |
9ed7b5fea269ee09a64f6ab3b6b21b5aa3d030d2c6f17c29aed5fc44f5c3808d
|
File details
Details for the file respondpy-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55116f3666bea54682a15e87cecb7a28167aadd40dab1e6685222c833d0c0809
|
|
| MD5 |
3743b477f754dde631f7816288e1f1c7
|
|
| BLAKE2b-256 |
d2eb020608763e5f78dd9e479bba770e98967025bf89e1c1e9fb47105a460ea5
|
File details
Details for the file respondpy-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e38e72082e98a6b56a395a45d0c8ce50a4e0a10a7cf06035e737020018b2e7ea
|
|
| MD5 |
8142d0b6cdba73fea7da57a164072a27
|
|
| BLAKE2b-256 |
9019e8738eae6653e73e3a4ed2981470beba5a9c5bce2a8d1bb8c2531c7e0752
|
File details
Details for the file respondpy-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8433a55a4b57034bfadf3ae38c10e2ff8f91dbb227ab3208727ae1b2609ef3a6
|
|
| MD5 |
799aba90d2b19f6fc5bdab136638a3bb
|
|
| BLAKE2b-256 |
42af7a4a0974a3310c0a7489f811c35a2936b1bc079787776d64e1fac0ed8ebe
|
File details
Details for the file respondpy-0.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: respondpy-0.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6302e08b1349f35208edc07d10c6bd83388212882f22ba232453c496ea723bd5
|
|
| MD5 |
fbb5c4779efb1f8ee0d6d715e0b76600
|
|
| BLAKE2b-256 |
a372084958c0a01c0c1fc9b4f75168e985308758d286fd82c1f67dfbf31c43bf
|