Corrected pwig entry.
|Deletions are marked like this.||Additions are marked like this.|
|Line 4:||Line 4:|
= Multi-Language Python Wrapping =
* [http://pwig.sourceforge.net/ pwig] is a modified SWIG which wraps Python, instead of C/C++, for use with various languages.
|Line 20:||Line 17:|
|* [http://pwig.sourceforge.net/ pwig] is a SWIG extension for writting new language modules in Python.|
[Hint: The idea is to create pages for the stuff, not just link it.]
There a various tools which make it easier to bridge the gap between Python and C/C++:
[http://www.swig.org/ SWIG] - generate extension module from your .h files
- ["boost.python"] - write (tiny) C++ class to wrap your classes in an extension module
["Pyrex"] - write your extension module on Python
- ["weave"] - include C code lines in Python program
- ["SIP"] - ["Qt"] API wrapper library
[http://starship.python.net/crew/theller/ctypes/ ctypes] is a Python module allowing to create and manipulate C data types in Python. These can then be passed to C-functions loaded from dynamic link libraries.
- ["elmer"] - compile and run python code from C, as if it was written in C
[http://pwig.sourceforge.net/ pwig] is a SWIG extension for writting new language modules in Python.
Building Hybrid Systems with Boost.Python in [http://www.cuj.com/documents/s=8188/cuj0307abrahams/ C/C++ User Journal]
[http://dales.rmplc.co.uk/Duncan/accu/integratingpython.html Integrating Python, C and C++], presented at the ACCU conference by Duncan Booth, and his [http://dales.rmplc.co.uk/Duncan/accu conference slides]
["F2PY"] - Fortran to Python Interface Generator (http://cens.ioc.ee/projects/f2py2e/)
[http://www.caddr.com/code/lython/ Lython] - Lisp front-end for Python.
PyLog (actually two different products)
bedevere - Python wrapper to GNU Prolog http://bedevere.sourceforge.net/
[http://pwig.sourceforge.net/ pwig] includes examples of wrapping Python for SWI-Prolog.
- ["Jython"] - Python implemented in Java
[http://zope.org/Members/Brian/PythonNet/ Python for .NET] is a near-seamless integration of the CPython runtime with the .NET Common Language Runtime (CLR).
PyPerlish - Perl idioms in Python
For converting/porting Perl code to Python the tool 'Bridgekeeper' [http://www.crazy-compilers.com/bridgekeeper/] may be handy.
- ["elmer"] - compile and run python code from Tcl, as if it was written in Tcl
[http://mini.net/tcl/1324 Tcl and other languages] - Tcl's equivalent of this page.
[http://www.equi4.com/lux/ Lux] - a mutant Lua emphasizing interoperation with Python, Perl, etc.
[http://pycaml.sourceforge.net/ Pycaml] - write Python extension modules in OCaml (instead of C), and use Python code and native libraries from OCaml programs.
Eiffel and Haskell
Eiffel/Haskell [http://epolyglot.sourceforge.net/] (last updated 2001)
CorbaPython: for a generic solution to language integration
to name a few. There are much [http://www.google.com/search?q=Python+binding&hl=en more...]
Other (standards and protocols)
- XMLRPC and SOAP