gmpy 0.1 (pre-alpha) at http://sourceforge.net/projects/gmpy/

A new module interfacing GMP 3 to Python 2. So far, only mpz (integer) and mpf (float) types, no mpq (rational); incomplete; sketchy docs. "Comes with" a "found-on-the-net" GMP.LIB for Win32/MSVC++6 and a working gmpy.pyd for Python 2 built with it (separate download from gmpy.c and distutils' setup.py). Needs some project-direction decisions pretty soon (keep types immutable or make them mutable; use C or C++...), so all interested parties are invited to visit the sourceforge pages & participate/advise. Alex

[Reposting due to justified requests for extra info -- sorry for being too skimpy the first time around!] "GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers" -- stands for "GNU Multiple Precision" arithmetic library, lives at http://www.swox.com/gmp/. gmpy (General Multiprecision PYthon arithmetic stuff) is (initially) a Python 2 module interfacing to GMP 3, and lives at http://sourceforge.net/projects/gmpy/. It's based on C sources originally by AMK and Niels Möller (for earlier GMP and Python releases, and only exposing arbitrary-precision-integers functionality). Current gmpy version is 0.1 (pre-alpha): only exposes mpz (integer) and mpf (float) types, not yet mpq (rationals), from GMP. gmpy comes with a "found on the net" GMP.LIB for Win32/MSVC++6 (from site http://member.nifty.ne.jp/tkouya/bnc/wingmp.html, which is in Japanese, a language I can't, alas, read), and a working gmp.pyd built from it. (In a separate download from the C-source/doc.txt/setup.py one). gmpy needs some project-direction decisions pretty soon (keep types immutable or make them mutable; use C or C++...), so all interested parties are invited to visit the sourceforge page & participate/advise. Alex
participants (1)
-
Alex Martelli