Skip to main content

Regina-Normal

Project description

The program Regina is a powerful tool for studying low-dimensional topology. It comes with a full Python interface that lets one interact with it programmatically without writing any C++ code. Our goal here is to provide self-contained binaries (“wheels”) of Regina’s Python package that can be installed in seconds from Python’s PyPI package repository using pip.

The current version is somewhat experimental and is based on a pre-release version of Regina; it is offered for macOS (10.14 and newer) and Linux, but not Windows. To try it out, do:

python3 -m pip install --user --upgrade "regina>=7.0"
python3 -m regina.test

On older versions of Linux, e.g. Ubuntu 18.04, you may need to update pip first via:

python3 -m pip install --user --upgrade pip wheel

For more on using Regina in Python see the main docs.

These binaries are produced and maintained by Marc Culler, Nathan Dunfield, and Matthias Goerner, though of course 99.9% of the code and credit is due to Ben Burton and the other authors of Regina itself. This project evolved out of Goerner’s sageRegina but works both with and without SageMath. To install and test in SageMath do the following in a terminal window:

sage -pip install --user --upgrade "regina>=7.0"
sage -python -m regina.test

One can also do this from inside SageMath (including from a notebook) by:

sage: %pip install --user "regina>=7.0"
sage: import regina.test; regina.test.runTests()

Please report any technical problems via the issue tracker on the GitHub site devoted to this repackaging of Regina.

Building from source

If the available binaries do not work for you, you can try building from source. You will need have the development versions of the libraries gmp, zlib, and bzip2 installed:

git clone https://github.com/3-manifolds/regina_wheel
cd regina_wheel
python3 setup.py package_assemble
python3 setup.py bdist_wheel
python3 -m pip install dist/regina*.whl

This can easily take an hour or more.

License

Copyright Ben Burton, Ryan Budney, William Pettersson, Marc Culler, Nathan M. Dunfield, Matthias Goerner, and others 1999-present. This code is released under the GNU General Public License, version 2 or (at your option) any later version as published by the Free Software Foundation.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

regina-7.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.7 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

regina-7.3.1-cp311-cp311-macosx_11_0_arm64.whl (17.5 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

regina-7.3.1-cp311-cp311-macosx_10_15_x86_64.whl (19.8 MB view hashes)

Uploaded CPython 3.11 macOS 10.15+ x86-64

regina-7.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.7 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

regina-7.3.1-cp310-cp310-macosx_11_0_arm64.whl (17.5 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

regina-7.3.1-cp310-cp310-macosx_10_15_x86_64.whl (19.8 MB view hashes)

Uploaded CPython 3.10 macOS 10.15+ x86-64

regina-7.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.7 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

regina-7.3.1-cp39-cp39-macosx_11_0_arm64.whl (17.5 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

regina-7.3.1-cp39-cp39-macosx_10_15_x86_64.whl (19.8 MB view hashes)

Uploaded CPython 3.9 macOS 10.15+ x86-64

regina-7.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.7 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

regina-7.3.1-cp38-cp38-macosx_10_15_x86_64.whl (19.8 MB view hashes)

Uploaded CPython 3.8 macOS 10.15+ x86-64

regina-7.3.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.7 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

regina-7.3.1-cp37-cp37m-macosx_10_15_x86_64.whl (19.4 MB view hashes)

Uploaded CPython 3.7m macOS 10.15+ x86-64

regina-7.3.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.7 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64

regina-7.3.1-cp36-cp36m-macosx_10_15_x86_64.whl (19.4 MB view hashes)

Uploaded CPython 3.6m macOS 10.15+ x86-64

Supported by

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