Bioumlsim
From BioUML platform
bioumlsim is a Python library providing API for BioUML simulation capabilities. Python 3.6. is required!
Source code is avaliable at github and PYPI.
It can be installed via pip:
pip insall bioumlsim
All neccessary Java libraries are already embedded into library and are downloaded along with python code.
Demo python code:
import bioumlsim bsim = bioumlsim.Bioumlsim() #Here JVM is starting model = bsim.loadTest() #To load your own model replace it with "model = bsim.load(PATH_TO_SBML)" result = model.simulate(100,10) #first argument: completion time, second argument: number of time points bsim.plot(result) #plot simulation result