Binary package “python3-gmpy2” in ubuntu jammy

interfaces GMP to Python 3 for fast, unbound-precision computations

 gmpy is a C-coded Python extension module that wraps the GMP library to
 provide to Python code fast multiprecision arithmetic (integer, rational, and
 float), random number generation, advanced number-theoretical functions, and
 more.
 .
 This package installs Python 3 support for gmpy2.