divisors.lib - a Singular library for divisors and polyhedral divisors. ”divisors.lib” is a Singular library which encapsules a custom class for divisors on algebraic varieties, including methods for computing with them. This includes the group structure, the computation of global sections and a test for linear equivalence. Additionally, we provide a custom class for polyhedral divisors as introduced in the work of Altmann, Hausen on polyhedral divisors and algebraic torus actions. They are a natural generalization of the construction of affine toric varieties and can be used to shave off an effective torus action on an affine variety to a polyhedral structure.