Has anyone tried this for accessing a Java Socket API? (e.g. Interactive Brokers API) Im currently using Jython but would love to switch to "real" Python, unfortunately i am still a noob when it comes to get these things working..
Overall this project looks very interesting- Can't wait to go through the source code at https://github.com/kivy/pyjnius to see how this works under the hood.
Cheers.
from java.util import Stack
Instead of: from jnius import autoclass
Stack = autoclass('java.util.Stack')
http://www.doughellmann.com/PyMOTW/sys/imports.html#custom-i...This looks really promising. Thank you for the hard work.
I for one am interested in keeping everything in cpython if possible. But I currently have a web service in jython...
http://lucene.apache.org/pylucene/jcc/index.html
i have used it a lot to generate JNI bindings for other code via a simple Makefile template (list JARs and packages, alter names and versions, and poof). it works quite often, but it does run into some wonky C++ code it can't quite figure out.
still, pretty easy. one example are some (work-private) mahout bindings.