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.4.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.4.0-py3-none-any.whl (41.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysbml-0.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 de8ae49e91de7a6ecaf721e283b3f78a64e18b13530bd5eec29036b7d4a3723d
MD5 aa924aff05469154eb9ad46df4476c01
BLAKE2b-256 fcd258890336013d9bda936ee390b723baabb31a585c0dbdd4a46344c3054da0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysbml-0.4.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.4.0-py3-none-any.whl.

File metadata

  • Download URL: pysbml-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 41.0 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4875655b770d8f7bce42b5508c38512012ec028db1bcdecd1c3c5f8dd0e0e6ab
MD5 85eea4756370a9d2c26dbc271a745675
BLAKE2b-256 09a1351df5c09d5115b25884c862ce36764ad37cfb43097dd0d4fd512cd846b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysbml-0.4.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