Python bindings

Bearbeiten

interesting applications with python bindings

Bearbeiten
  • pyxfce (swig? codegen?)
  • pate (kate) (sip)
  • superkaramba (kross)
  • ktorrent (kross)
  • anjuta python binding
  • gedit (swig?)
  • gnome commander (einfaches interface; neue einträge nisten sich ins kontextmenu ein)
  • gimp
  • inkscape

tools and wrappers

Bearbeiten

Best look IMHO for Python SIP or kross for wrapping an already existing (Qt) C++ Application

wrap manually

Bearbeiten

PyMethodDef, ...

is used in several application, seems to be the "old" way

siehe pate
http://www.riverbankcomputing.co.uk/news
+ very flexible
- only for Python (?)

siehe superkaramba, ktorrent
http://kross.dipe.org/
http://techbase.kde.org/Development/Tutorials#Kross
+ javascript, ruby, python
+ easy for qt applications
- not so flexible (?)

http://techbase.kde.org/Development/Languages/Smoke
+ easy for qt applications
+ Perl bindings, Ruby bindings, C# bindings and PHP bindings
- ??

boost python
Bearbeiten
with ctypes
Bearbeiten

call library functions