libSBML<img width="22%" align="right" src=".graphics/libsbml-logo-and-name.svg">
LibSBML is an open-source library for working with SBML (the Systems Biology Markup Language). It is written in C++ and provides language bindings for many other programming languages.
Table of contents
* [Relationships to other similar tools](#relationships-to-other-similar-tools)
* [Getting help](#getting-help)
* [Authors and history](#authors-and-history)
LibSBML is a programming library that helps you read, write, manipulate, translate, and validate files and data streams in the [SBML (Systems Biology Markup Language)](http://sbml.org) format. Developers can embed the library in their applications, saving themselves the work of implementing their own parsing, manipulation and validation software. At the API level, libSBML provides the same interface to data structures independently of whether the model originated in SBML Level 1, 2 or 3. LibSBML understands all Levels and Versions of SBML, and supports all **SBML Level 3 packages**.
Why not simply use a generic XML parsing library? A specialized library such as libSBML or [JSBML](https://github.com/sbmlteam/jsbml) offers many advantages over using a generic XML library directly. Here are some:
* **Domain-specific object model**. LibSBML's object model and API are designed around SBML and the operations that are commonly needed when working with SBML.
* **Validation facilities**. LibSBML implements all the validation rules defined in the SBML specifications, and performs additional validation of its own. (These validation rules are not part of the SBML schemas.)
* **Conversion facilities**: LibSBML can convert between most Levels and Versions of SBML, and can interconvert between certain kinds of SBML constructs.
* **Other features**. LibSBML offers powerful features such as reading/writing compressed SBML files, detecting overconstrained models, dimensional analysis and unit checking, and an API for SBML `<annotation>` content.
LibSBML works on Linux, Windows, MacOS X, and other operating systems, and can use any of the three most popular XML parser libraries: [Xerces](http://xml.apache.org/xerces-c), [Expat](http://expat.sourceforge.net/), and [libxml2](http://xmlsoft.org/).
A **stable release** of libSBML includes support for SBML Level 3 Core and all accepted SBML 3 packages, as well as support for packages that are currently under development. An **experimental-only release** only updates code for the SBML Level 3 packages under development.
Before the year 2020, we used SourceForge for our code repository and software downloads. Our software releases for libSBML are currently still done from SourceForge at this location:
↓ ↓ ↓<br>
→ → → http://sourceforge.net/projects/sbml/files/libsbml/ ← ← ←<br>
↑ ↑ ↑
We provide Zenodo DOIs for specific releases, so that you can cite the exact version of the software that you use:
* libSBML-5.18.0 ⇒ [10.5281/zenodo.2645216](https://doi.org/10.5281/zenodo.2645216)
* libSBML-5.17.0 ⇒ [10.5281/zenodo.1250696](https://doi.org/10.5281/zenodo.)
* libSBML-5.16.0 ⇒ [10.5281/zenodo.1095483](https://doi.org/10.5281/zenodo.)
* libSBML-5.15.0 ⇒ [10.5281/zenodo.495344](https://doi.org/10.5281/zenodo.)
Please read the file [NEWS.txt](NEWS.txt) for highlights about recent changes in libSBML and important information.
Documentation is available online at http://sbml.org/Software/libSBML
We encourage you to join the [sbml-interoperability](https://groups.google.com/g/sbml-interoperability) group, where other libSBML users can be found. You can ask questions and discuss the development, use, and interoperability of all kinds of software that supports SBML.
You can report issues, suggestions and requests using the [GitHub issue tracker](https://github.com/sbmlteam/libsbml/issues). If you are interested in participating in or observing libSBML development more closely, we encourage you to join [firstname.lastname@example.org](https://groups.google.com/forum/#!forum/libsbml-development), a mailing list and web forum devoted to discussions about LIBSBML.
You can email the main developers directly at [email@example.com](mailto:firstname.lastname@example.org).
We welcome contributions to libSBML! Please read our [contribution guidelines](CONTRIBUTING.md), and also feel free to contact the developers at [email@example.com](mailto:firstname.lastname@example.org) to coordinate your efforts.
LibSBML is available for free under the terms of the [LGPL version 2.1](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) in both source-code form and precompiled binaries for a variety of systems. Please see the accompanying license file, [LICENSE.html](LICENSE.html), for detailed copyright and license information, particularly for **third-party software included in and used by the libSBML distribution**.
Authors and history
LibSBML's main authors are [Sarah M. Keating](https://github.com/skeating), [Frank T. Bergmann](https://www.cos.uni-heidelberg.de/index.php/f.bergmann/?l=_e), [Lucian P. Smith](https://github.com/luciansmith), [Brett G. Olivier](http://www.bgoli.net), [Akiya Jouraku](https://www.researchgate.net/profile/Akiya_Jouraku), [Michael Hucka](http://www.cds.caltech.edu/~mhucka/), and [Ben Bornstein](http://ml.jpl.nasa.gov/people/bornstein.shtml), with contributions from many others. We especially thank the following (in alphabetical order):
* Gordon Ball
* Bill Denney
* Christoph Flamm
* Akira Funahashi
* Ralph Gauges
* Martin Ginkel
* Alex Gutteridge
* Stefan Hoops
* Totte Karlsson
* Moriyoshi Koizumi
* Ben Kovitz
* Rainer Machné
* Thomas Pfau
* Nicolas Rodriguez
* Fengkai Zhang
The development of libSBML was supported in largely by funding from the [National Institute of General Medical Sciences](https://www.nigms.nih.gov) (USA) under grant R01 GM070923 (principal investigator: Michael Hucka).
Contributions to libSBML have also come as a result of work by the SBML Team and others on other grant-funded projects. The core development of SBML from its inception through 2003 was principally funded by the [Japan Science and Technology Agency](http://www.jst.go.jp/EN/) under the [ERATO Kitano Symbiotic Systems Project](http://www.symbio.jst.go.jp/symbio), with funding going to the group of [John Doyle](http://www.cds.caltech.edu/~doyle/) at Caltech. This included the first version of libSBML. After 2003, primary direct support for the core development of SBML and supporting software and activities came from the [National Institute of General Medical Sciences (NIH/NIGMS)](http://www.nigms.nih.gov/) under grants R01 GM070923 and R01GM077671. Additional support came from the following agencies and programs: the [National Human Genome Research Institute](http://www.genome.gov/) (USA), the [International Joint Research Program of NEDO](http://www.nedo.go.jp/) (Japan), the [ERATO-SORST](http://www.jst.go.jp/kisoken/sorst/) Program of the Japan Science and Technology Agency (Japan), the [Ministry of Agriculture](http://www.maff.go.jp/eindex.html) (Japan), the [Ministry of Education, Culture, Sports, Science and Technology](http://www.mext.go.jp/) (Japan), the [BBSRC e-Science Initiative](http://www.bbsrc.ac.uk/) (UK), the [DARPA IPTO Bio-Computation Program](http://www.darpa.mil/ipto/programs/biocomp/vision.htm) (USA), the Army Research Office's [Institute for Collaborative Biotechnologies](https://www.icb.ucsb.edu) (USA), the [Air Force Office of Scientific Research](http://www.afosr.af.mil/) (USA), the [EU Commission 6th Framework Programme](http://ec.europa.eu/research/fp6/index_en.cfm), the [European Commision's 7th Framework Programme for Research and Technological Development](http://systemsbiology.ucsd.edu/projects/AMBiCon), the [Federal Ministry of Education and Research (BMBF, Germany)](https://www.bmbf.de/en/index.html), the [Virtual Liver Network](http://www.virtual-liver.de), the [Systems Biology Institute](http://systems-biology.org/) (Japan), and [Google Summer of Code](https://developers.google.com/open-source/gsoc/).
<img valign="middle" height="100" src=".graphics/US-NIH-NIGMS-Logo.svg">
<img valign="middle" height="130" src=".graphics/caltech-round.png">
<img valign="middle" height="100" src=".graphics/sbml-logo-only.png">