sagemath_flint: Fast computations with MPFI and FLINT

This pip-installable source distribution passagemath-flint provides Cython interfaces to the MPFI and FLINT libraries.

It also ships the implementation of number fields.

What is included

Examples

A quick way to try it out interactively:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-flint[test]" ipython
In [1]: from sage.all__sagemath_flint import *

In [2]: RealBallField(128).pi()
Out[2]: [3.1415926535897932384626433832795028842 +/- 1.06e-38]

Development

$ git clone --origin passagemath https://github.com/passagemath/passagemath.git
$ cd passagemath
passagemath $ ./bootstrap
passagemath $ python3 -m venv flint-venv
passagemath $ source flint-venv/bin/activate
(flint-venv) passagemath $ pip install -v -e pkgs/sagemath-flint

Type

standard

Dependencies

Version Information

package-version.txt:

10.6.29

version_requirements.txt:

passagemath-flint ~= 10.6.29.0

Installation commands

$ pip install passagemath-flint~=10.6.29.0
$ sage -i sagemath_flint

However, these system packages will not be used for building Sage because spkg-configure.m4 has not been written for this package; see upstream Issue #27330 for more information.