Python Interface

Andrew Vick A.Vick@roe.ac.uk
Thu Dec 14 01:51:00 GMT 2000


 SWIG is a good way of producing wrappers quickly, but it isn't hard to 
produce a better OO interface for Python by hand. Also, I'm not sure that 
SWIG understands all of the Numpy structures (like ufuncs). 
 I'm interested in helping produce a Python wrapper for gsl, but I haven't 
paid attention to the Numpy developments for some time so it's likely that 
there are already people working on this(?) 

   Cheers,
        Andy Vick

On Wednesday 13 December, you wrote:
>It should be possible to use SWIG (www.swig.org) to do some wrapping
>automatically -- have you looked at that?
>
>regards
>Brian Gough
>
>Achim Gaedke writes:
> > During the last days I was looking for portable math modules for python.
> > There were some different uncoordinated attempts to wrap functions to
> > python. I wrapped successfully a lot of special functions to python2.0 .
> >
> > Who does like to work on a complete interface to python?
> >
> > I think it is possible to make different submodules with the work already
> > done. (eg. integration, matrices or special functions)
> >
> > Please send your suggests!

-- 
  OBSERVATORY, n. A place where astronomers conjecture away the guesses 
  of their predecessors. (Ambrose Bierce, The Devil's Dictionary)
--------------------------------------------------------------------------- 
Andy Vick, UK Astronomy Technology Centre, Royal Observatory Edinburgh,
                 Blackford Hill, Edinburgh, EH9 3HJ, UK.          
Tel: +44-131-668-8100 Email: see http://www.roe.ac.uk/ajvwww/spamoff.htm


More information about the Gsl-discuss mailing list