This is a Python 3 library for generating hyperbolic geometry and drawing it with the drawSvg library. Currently only the Poincaré disk model is supported.
hyperbolic is available on PyPI:
$ pip3 install hyperbolic
Install drawSvg also to display the hyperbolic geometry:
$ pip3 install drawSvg
See the iPython notebooks in examples:
Using this library, along with the drawSvg library, you can create art like this hyperbolic weave:
This weave is built from a tiling of isosceles triangles: