The software library of the Belle II experiment