Differences between revisions 1 and 41 (spanning 40 versions)
Revision 1 as of 2002-07-14 23:51:35
Size: 116
Editor: pD9EB0537
Comment:
Revision 41 as of 2004-03-27 14:52:38
Size: 4130
Editor: sololess
Comment: added AppsWithPythonScripting
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
There a various tools which make it easier to brisge the gab beetween Python and C: [[TableOfContents]]
Line 3: Line 3:
 * SWIG
 * boost
 * pyrex
[Hint: The idea is to create pages for the stuff, not just link it.]

= C/C++ =
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 (!)
 * [http://cxx.sourceforge.net/ CXX]
 * [http://starship.python.net/crew/gmcm/scxx.html SCXX]
 * ["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
----
'''Articles'''
 * Embedding Python in Multi-Threaded C/C++ Applications in [http://www.linuxjournal.com/article.php?sid=3641 LinuxJournal]
 * 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]
----
'''Related'''
 * AppsWithPythonScripting

= Fortran =
 * ["F2PY"] - Fortran to Python Interface Generator (http://cens.ioc.ee/projects/f2py2e/)
 * PyFort - The Python-Fortran connection tool (http://pyfortran.sourceforge.net/)

= Lisp =
 * [http://www.caddr.com/code/lython/ Lython] - Lisp front-end for Python.

= Prolog =
 * PyLog (actually two ''different'' products)
 * [http://agave.ahsc.arizona.edu/~schcats/projects/ prolog] a simple interface to [http://www.swi-prolog.org/ SWI-Prolog]
 * bedevere - Python wrapper to GNU Prolog http://bedevere.sourceforge.net/

See also [http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=Python+prolog]

= Java =
 * ["Jython"] - Python implemented in Java

= C#/.NET =
 * [http://www.activestate.com/Corporate/Initiatives/NET/Research.html?_x=1 ActiveState research]
 * [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).

= Perl =
See http://www.faqts.com/knowledge_base/view.phtml/aid/17202/fid/1102
 * PyPerl [http://aspn.activestate.com/ASPN/CodeDoc/pyperl/perlmodule.html]
 * [http://search.cpan.org/search?query=Inline%3A%3APython&mode=all Inline::Python]
 * PyPerlish - Perl idioms in Python

For converting/porting Perl code to Python the tool
'Bridgekeeper' [http://www.crazy-compilers.com/bridgekeeper/]
may be handy.
   
= R =
 * RPy [http://rpy.sourceforge.net]
 * RSPython [http://www.omegahat.org/RSPython]

= Objective-C =
 * http://pyobjc.sourceforge.net/

= Tcl =
 * ["elmer"] - compile and run python code from Tcl, as if it was written in Tcl
 * [http://jfontain.free.fr/tclpython.htm TclPython] - a Python package for Tcl allows execution of Python (version 2.2 or above) code from a Tcl interpreter.
 * [http://mini.net/tcl/1324 Tcl and other languages] - Tcl's equivalent of this page.

= Lua =
 * [http://moin.conectiva.com.br/LunaticPython LunaticPython] - a two-way bridge between Python and Lua.
 * [http://www.equi4.com/lux/ Lux] - a mutant Lua emphasizing interoperation with Python, Perl, etc.

= Other (applications) =
 * LotusNotes [http://www.dominopower.com/issuesprint/issue200008/command.html]
 * Eiffel/Haskell [http://epolyglot.sourceforge.net/]
 * ["PostgreSQL"] [http://www.linuxgazette.com/issue80/nielsen.html]
 * RenderMan [http://www.lysator.liu.se/~ture/terry.html]
 * 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
 * Yaml: http://www.yaml.org

= See also =
Thinki: wiki:Thinki/UsingPythonWithOtherLanguages

TableOfContents

[Hint: The idea is to create pages for the stuff, not just link it.]

C/C++

There a various tools which make it easier to bridge the gap between Python and C/C++:


Articles


Related

Fortran

Lisp

Prolog

See also [http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=Python+prolog]

Java

  • ["Jython"] - Python implemented in Java

C#/.NET

Perl

See http://www.faqts.com/knowledge_base/view.phtml/aid/17202/fid/1102

For converting/porting Perl code to Python the tool 'Bridgekeeper' [http://www.crazy-compilers.com/bridgekeeper/] may be handy.

R

Objective-C

Tcl

Lua

Other (applications)

to name a few. There are much [http://www.google.com/search?q=Python+binding&hl=en more...]

Other (standards and protocols)

See also

Thinki: wiki:Thinki/UsingPythonWithOtherLanguages

IntegratingPythonWithOtherLanguages (last edited 2020-07-29 18:06:27 by JaraKaca)

Unable to edit the page? See the FrontPage for instructions.