Skip to main content

Compyrtment is a simple Python library to work with compartment models. It’s a simple tool to aid with fast prototyping with models such as the SIR, SIS and SEIR epidemic models or the Lotka-Volterra model of predation. It supports:

  • Designing models with arbitrary states and constant, linear and quadratic couplings between them;

  • Numerical integration of the ODE system of a model;

  • Numerical integration of ‘sensitivity curves’ - the gradient of each curve with respect to parameters as well as initial conditions;

  • Fitting a model’s parameters to existing data;

  • Stochastic simulation using Gillespie’s algorithm

Metadata

Release files for Compyrtment 0.5.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Compyrtment 0.5.7
File Size Uploaded
Compyrtment-0.5.7.tar.gz 9.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Compyrtment 0.5.7
File Interpreter ABI Platform
Compyrtment-0.5.7-py3-none-any.whl Python 3 none any Details

Total release size: 18.8 kB

Release files / Compyrtment-0.5.7.tar.gz

Download URL Compyrtment-0.5.7.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f327743ad862ac56e037e4435c4edb948afd11086080ff0ed48a95a178e86337
BLAKE2b-256 checksum
How to use checksums
f34cd2ce15d1e3131578408bd265b77b28fc154aa369cb8d548f42ad8d71775d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.2

Release files / Compyrtment-0.5.7-py3-none-any.whl

Download URL Compyrtment-0.5.7-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4da281ba81b4f01597897ba968dc2d5682ab14077beaac44cad8f4000b6c5b0
BLAKE2b-256 checksum
How to use checksums
7f64558df3800f0ba3090e4dd9d902f8e4af337d934956dc537528b486d93eb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.5.7 This release

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page