Skip to main content

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

Project description

PyPI version PyPI license Github build 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.8 – 3.12. It also runs on PyPy and Sage. To get the best performance, ensure that cypari (>= 2.4.0) or cypari2 is installed or run from it within Sage.

Quickstart

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()
True
>>> print(h.dilatation())
2.296630262

Project details


Download files

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

Source Distribution

flipper-0.15.4.tar.gz (397.6 kB view details)

Uploaded Source

File details

Details for the file flipper-0.15.4.tar.gz.

File metadata

  • Download URL: flipper-0.15.4.tar.gz
  • Upload date:
  • Size: 397.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for flipper-0.15.4.tar.gz
Algorithm Hash digest
SHA256 a65897ebbc249e39528387cb30fc9bd5a4091353a9f490323677547c03e00c02
MD5 ed80af1c0235e08a5436d37ec039cd46
BLAKE2b-256 a2302e2b1a1eed38422244c8ba53d39f7a1eb6b012c5bd8070749d8268ef9726

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page