Skip to main content

For manipulating curves and measured laminations on surfaces and producing mapping tori.

Project description

PyPI version PyPI license Travis build status Coveralls status

Flipper is a program for computing the action of mapping classes on laminations on punctured surfaces using ideal triangulation coordinates. It can decide the Nielsen–Thurston type of a given mapping class and, for pseudo-Anosov mapping classes, construct a layered, veering triangulation of their mapping torus, as described by Agol.

Flipper officially supports Python 3.6 – 3.8. It also runs on PyPy and Sage. To get the best performance, ensure that cypari or cypari2 is installed or run from it within Sage.


Flipper is available on PyPI, so it can be installed via:

$ pip install flipper --user --upgrade

Once installed, try it inside of Python:

>>> import flipper
>>> S = flipper.load('S_1_2')
>>> h = S('a.b.C')
>>> h.is_pseudo_anosov()
>>> print(h.dilatation())

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flipper, version 0.15.2
Filename, size File type Python version Upload date Hashes
Filename, size flipper-0.15.2.tar.gz (394.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page