Skip to main content

sbmlsim are utilities for simulation of SBML.

Project description

libsbgnpy : Python library for SBGN

GitHub Actions CI/CD Status Current PyPI Version Supported Python Versions GNU Lesser General Public License 3 Codecov Documentation Status Zenodo DOI Black

Python library to work with the Systems Biology Graphical Notation (SBGN). This library is based on the SBGN XML schema and supports reading, writing and validation of SBGN files.

The initial library was generated using generateDS. Additional utility functions for reading, writing, and rendering SBGN documents are provided.

Documentation with examples is available at

  • python library

  • SBGN type definitions (GlyphClasses, ArcClasses, Languages)

  • SBGN utility function like writing & reading of files

  • SBGN rendering

  • test/ unittests

  • examples/ python examples

  • validation/ validation of SBGN files

How to cite

Zenodo DOI


libsbgnpy is available from pypi and can be installed via:

pip install libsbgnpy


To report bugs, request features or asking questions please file an issue.


The libsbgnpy source is released under both the GPL and LGPL licenses version 2 or later. You may choose which license to use the software under.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License or the GNU Lesser General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.


Matthias König is supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (LiSyM, grant number 031L0054).

Software using libsbgnpy

  • Mimoza takes a model in SBML format and visualizes it in several formats (downloadable as a COMBINE archive).

Python Language Bindings

The python language bindings were created from the XML schema using generateDS and than adapted to include GlyphClasses and ArcClasses.:

/usr/local/bin/ -o "" -s "" SBGN.xsd

The necessary constraints for GlyphClasses, ArcClasses and Languages were added and some utility functions created.

© 2016-2020 Matthias König

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

libsbgnpy-0.2.2.tar.gz (1.2 MB view hashes)

Uploaded Source

Built Distribution

libsbgnpy-0.2.2-py2.py3-none-any.whl (1.2 MB view hashes)

Uploaded Python 2 Python 3

Supported by

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