Skip to main content

Add your description here

Project description

pySBML

pypi docs License Coverage Ruff security: bandit PyPI Downloads

pySBML takes SBML models and makes them simpler :heart:

Installation

Installation is as easy as pip install pysbml.

Transform this

Compartments

name size is_constant
C 1.0 True

Variables

name amount conc constant substance_units compartment only_substance_units boundary_condition
S1 None 0.00015 False substance C False False
S2 None 0.0 False substance C False False

Parameters

name value is_constant unit
k1 1.0 True

Reactions

name body args stoichiometry local pars
reaction1 C * k1 * S1 [C, k1, S1] {'S1': -1.0, 'S2': 1.0} {}

Into this

Parameters

name value unit
k1 1.0 None
C 1.0 None

Variables

name value unit
S1 0.00015 None
S2 0.0 None

Reactions

name fn stoichiometry
reaction1 S1*k1 {'S1': -1.0, 'S2': 1.0}

Development setup

We recommend using uv

uv

  • Install uv as described in the docs.
  • Run uv sync --all-extras --all-groups to install dependencies locally

Tool family 🏠

pySBML is part of a larger family of tools that are designed with a similar set of abstractions. Check them out!

  • MxlPy is a Python package for mechanistic learning (Mxl)
  • MxlBricks is built on top of MxlPy to build mechanistic models composed of pre-defined reactions (bricks)
  • MxlModels supplies flat, single-file versions of MxlBricks models for easy inspection
  • MxlWeb brings simulation of mechanistic models to the browser!
  • Parameteriser looks up kinetic parameters from BRENDA and other databases

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysbml-0.5.0.tar.gz (3.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysbml-0.5.0-py3-none-any.whl (42.7 kB view details)

Uploaded Python 3

File details

Details for the file pysbml-0.5.0.tar.gz.

File metadata

  • Download URL: pysbml-0.5.0.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pysbml-0.5.0.tar.gz
Algorithm Hash digest
SHA256 8cc71a298ffc189e19acdb0abd9c84d6b1e119683ae0521856a9fc3b19d86829
MD5 37d3a6e4095f06416cc92d72f4357a37
BLAKE2b-256 b55119ae311075d6d7d2a0dccd285fc0de0081fb931b2eaa9520fdba3e9fc200

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysbml-0.5.0.tar.gz:

Publisher: python-publish.yml on Computational-Biology-Aachen/pysbml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysbml-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: pysbml-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 42.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pysbml-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 241611304c10596463f9efcd2f88963eeb62fe0a476c5299aa2ed42db0218d99
MD5 49e88f8bca92334257137075e428c376
BLAKE2b-256 e8c65bfd8a2ecff35bc0396ca1142ea203422fc68d8d0c760b8c30e36fb852d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysbml-0.5.0-py3-none-any.whl:

Publisher: python-publish.yml on Computational-Biology-Aachen/pysbml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page