Skip to main content

symbolic-compartmental-model

PyPI version fury.io Python version MIT license coverage report ReadTheDocs

A symbolic package based on SymPy for simulating and fitting Compartmental Models (CMs).

Overview

Symbolic Compartmental Model is a python package for constructing, simulating, and fitting compartmental models. It is based on the symbolic calculations package sympy but can also perform numerical calculations.

Current Features

  • Defining a CM based on the contributed turnovers (M-matrix) and observed pool sizes
  • Optionally include symbolic parameters and set their bounds for later fitting
  • Several fitting functions, including single/multiple pools and mass balance constraints (optional)
  • Both numerical and symbolic outputs for dynamic parameters: age, residence time, decay rate, etc.
  • Plotting of simulated data

Getting started

  • To fit a model without installing anything, use the browser app: Fit compartmental models online. It loads your data, fits it, and lets you download the results — everything runs locally in your browser and nothing is uploaded.
  • For installing the package in your current python environment, can simply pip install symbolic-compartmental-model.
  • The package documentation can be found on ReadTheDocs.

Metadata

Release files for symbolic-compartmental-model 0.4.0

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

Source distribution (sdist)

Source distribution for symbolic-compartmental-model 0.4.0
File Size Uploaded Provenance Actions
symbolic_compartmental_model-0.4.0.tar.gz 56.3 kB Without provenance Details for symbolic_compartmental_model-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for symbolic-compartmental-model 0.4.0
File Interpreter ABI Platform Actions
symbolic_compartmental_model-0.4.0-py3-none-any.whl Python 3 none any Details for symbolic_compartmental_model-0.4.0-py3-none-any.whl

Total release size: 121.6 kB

Release files / symbolic_compartmental_model-0.4.0.tar.gz

Download URL symbolic_compartmental_model-0.4.0.tar.gz
Size 56.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a2b632f9ab6a5dbae300f429ee6b1556d2df78831f9ba10a797b8c668eef1e62
BLAKE2b-256 checksum
How to use checksums
55faf13fb04f67f9e55393afa87529e52bd1e71792414ce457fd1e8e27a8d981
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / symbolic_compartmental_model-0.4.0-py3-none-any.whl

Download URL symbolic_compartmental_model-0.4.0-py3-none-any.whl
Size 65.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb7e12e50071aef94239a3159f48a2be8ee4e82f24ec78dbe6d6699375323e80
BLAKE2b-256 checksum
How to use checksums
1cb9985825807ff599130ed987a2cd4747ffb5014393ca6cf66734b8d9bec6bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for symbolic-compartmental-model 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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