Skip to main content

modelbase

DOI pipeline status coverage report Documentation PyPi Code style: black Checked with mypy security: bandit Downloads

modelbase is a python package to help you build and analyze dynamic mathematical models of biological systems. It has originally been designed for the simulation of metabolic systems, but can be used for virtually any processes, in which some substances get converted into others.

modelbase incorporates an easy construction method to define 'reactions'. A rate law and the stoichiometry need to be specified, and the system of differential equations is assembled automatically.

modelbase allows 'algebraic modules', which are useful to implement rapid equilibrium or quasi steady-state approximations. In the simplest instance, they allow easy incorporation of conserved quantities.

modelbase also allows a simple construction of isotope-specific models. This class contains a constructor method that automatically construct all isotope specific versions of a particular reaction. Very cool - check it out!

Release notes

Versions 1.0 and 0.4.0 introduced changes not compatible with the previous official release 0.2.5. API changes are summarised in this notebook

Version 0.4.5 was the prior stable version

Version 0.2.5 is the official release for the submission of the mansucript "Building mathematical models of biological systems with modelbase, a Python package for semi-automatic ODE assembly and construction of isotope-specific models" to the Journal of Open Research Software.

See changelog.md for details on changes of earlier versions.

Installation

If you quickly want to test out modelbase, or do not require assimulo support, install modelbase via

pip install modelbase

or, using uv:

uv add modelbase

To enable assimulo support, the easiest way is to install modelbase via pixi, which pulls assimulo from the conda-forge channel.

# Add modelbase to a pixi project (creates one if needed)
pixi add modelbase assimulo

# or install it into a one-off environment
pixi init mb && cd mb
pixi add modelbase assimulo

License

GPL 3

Documentation

The official documentation is hosted here on gitlab.

Issues and support

If you experience issues using the software please contact us through our issues page.

Contributing to modelbase

All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome. See our contribution guide for more information.

How to cite

If you use this software in your scientific work, please cite this article:

van Aalst, M., Ebenhöh, O. & Matuszyńska, A. Constructing and analysing dynamic models with modelbase v1.2.3: a software update. BMC Bioinformatics 22, 203 (2021)

Metadata

Release files for modelbase 1.59.24

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

Source distribution (sdist)

Source distribution for modelbase 1.59.24
File Size Uploaded Provenance Actions
modelbase-1.59.24.tar.gz 73.9 kB Without provenance Details for modelbase-1.59.24.tar.gz

Built distribution (wheel)

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

Total release size: 166.1 kB

Release files / modelbase-1.59.24.tar.gz

Download URL modelbase-1.59.24.tar.gz
Size 73.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a34336ecb2ad0733c58429edf287e282037c3ca5445e2f9c1f94d2a05d7a8eab
BLAKE2b-256 checksum
How to use checksums
0797a3988293077a5ef5cb8da8d11f670e1dc48833f78132a14f7a351530950a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / modelbase-1.59.24-py3-none-any.whl

Download URL modelbase-1.59.24-py3-none-any.whl
Size 92.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8dbe6dbcac0819fdaf827c23e8c8233d003f1a65d412c6a399e9aae0d9ef5db3
BLAKE2b-256 checksum
How to use checksums
2ac06e1053ff233f8a444c93a5ad98813d01657f8dcf51c5d744554bb075d888
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for modelbase 1.59.24

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.

Release history Release notifications | RSS feed

This release

1.59.24 This release

2 release files No provenance

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