ANN: PyGMP 0.9 (Python GNU Multiple Precision Library wrapper)

Heiko Wundram heikowu at ceosg.de
Wed Jun 2 18:57:47 EDT 2004


PyGMP
=====

PyGMP is a wrapper for the GNU multiple precision library. It currently sports 
two types, GMPi (for doing integer arithmetic), and GMPrand (for handling 
random numbers).

PyGMP has been specifically created with the goal to enable users to subclass 
the GMP* types to add additional user functionality in Python. Otherwise, the 
library should be functionally equivalent to GMPy or mxNumber, except having 
been written from scratch explicitly for GMP 4.1.*, and being somewhat 
cleaner in implementation (11 source files, not 1).

Prerequesites
-------------

UNIX-like operating system (has not been tested under Windows, and probably 
won't run unchanged) with gcc
GMP 4.1.* (advised GMP 4.1.3)
Python 2.3.* (advised Python 2.3.4)

License
-------

PyGMP is released under a BSD-license, see the source archive for more 
information.

Author
------

Heiko Wundram <heikowu at ceosg.de>

Downloads
---------

http://www.heim-d.uni-sb.de/~heikowu/Crypto

TODO
----

- Create wrappings for the mpr and mpf types of GMP.
- Document the plugin architecture for supporting other types natively in C,
  when GMP changes.
- Add more documentation for functions.
- Handle corner cases like division by zero, etc. more gracefully.
- Add Windows bindings.

------
Heiko.




More information about the Python-list mailing list