Thufir Hawat
2017-01-15 17:45:33 UTC
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
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