The libdeco-ostc project provides library for dive decompression calculation. The library functions perform dive simulation using OSTC dive computer firmware (ver. 2.70) and return decompression schedule information. The used decompression model is Buhlmann (ZH-L16C) with Gradient Factors.
C API (libdeco library) and Python API (DecoMecha module) are supported.
The code of the library is licensed under GPLv3 license (the same as OSTC firmware), see COPYING file for details. As stated in the license, there is no warranty, so any diving while using data provided by the library is on diver’s own risk.