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 https://libsbgn-python.readthedocs.io.

  • libsbgn.py python library

  • libsbgnTypes.py SBGN type definitions (GlyphClasses, ArcClasses, Languages)

  • utils.py SBGN utility function like writing & reading of files

  • render.py SBGN rendering

  • test/ unittests

  • examples/ python examples

  • validation/ validation of SBGN files

How to cite

Zenodo DOI

Installation

libsbgnpy is available from pypi and can be installed via:

pip install libsbgnpy

Support

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

License

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.

Funding

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/generateDS.py -o "libsbgn.py" -s "libsbgnSubs.py" 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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file libsbgnpy-0.2.2.tar.gz.

File metadata

  • Download URL: libsbgnpy-0.2.2.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for libsbgnpy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 719f95af652584bd85b6e24a3d4de1f3daf97035fa96e616ad3f6db18d75572b
MD5 2b3fc5b4e275fd2964089723d28949ac
BLAKE2b-256 5e7f0d6724f78c7adb0e8c9ea4e5371e5d63944c131e0ba573d84c9c4b329cbf

See more details on using hashes here.

Provenance

File details

Details for the file libsbgnpy-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: libsbgnpy-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for libsbgnpy-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2a76c49a30150f92ecc2c5d20db42cf790706e3a4b60219b5420a960890891f5
MD5 36fe99bb28b2ebd7ea8dcc572dcd7ed7
BLAKE2b-256 85226f9ef8a43fb85cecc823ef1d3722977e58bf2fd3c5cc36cf517e26c2ae17

See more details on using hashes here.

Provenance

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