This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ctypes based intefrace to GSL


Hi All,

I have written Python bindings to GSL which use the ctypes package.  It
is probably somewhat slower than pygsl but has other advantages:

1. It is very easy to install, the only dependency (except for GSL
itself) is the ctypes package, standard since Python 2.5.  No
compilation is required.  The implementation is simpler too as it does
not require SWIG wrappers, C code or shared libraries.

2. ctypes seems to be the preferred future way to do Python bindings,
since it is independent from python implementation used, e.g. it
should work with projects such as PyPy.

It is currently very incomplete but some important functionality like
vectors, ODEs, integration, Chebyshev approximation, one dimensional
root/minimization are there.  You can get it at:

http://www.cs.umb.edu/~sj/ctypesGsl-0.1.tgz

Any comments are welcome

Szymon



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]