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

H

Heiko Wundram

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 <[email protected]>

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.
 
P

Paul Rubin

Heiko Wundram said:
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).

How is this different from gmpy?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,054
Latest member
LucyCarper

Latest Threads

Top