This is a Python 3 library for generating hyperbolic geometry and drawing it with the drawSvg library. Currently the Poincaré disk and half-plane models are 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:
- Euclidean geometry
- Poincaré disk and plane
- Tiling the Poincaré disk and plane
- Tiling of isosceles triangles
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:

