hook into nfldb with PythonInterpreter?
Thufir Hawat <[email protected]> Sun, 15 Jan 2017 09:45:33 -0800 (PST)
| Newsgroups | gmane.comp.lang.jython.user |
|---|---|
| Message-ID | <[email protected]> |
I'm very new to Python and Jython, but installed nfldb from pip install --user nfldb which is on github: https://github.com/BurntSushi/nfldb/wiki/More-examples Coming at this from Java, how would I hook into nfldb with Java? Or, perhaps, run the code in Jython? I'm sure there's a general solution or approach, would appreciate any pointers. Perhaps simply using JNI to leverage the work that's gone into this library already. It looks like probably org.python.util.PythonInterpreter is the best way to invoke this library? I've seen examples of how to invoke a specific script, but this API is a bit larger. How would I hook into an API? thanks, Thufir ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi