Python library for mathematics