data-science

Data science, data analysis, and machine learning in Clojure https://scicloj.github.io/pages/chat_streams/ for additional discussions
chrisn 2019-10-11T22:11:49.003400Z

@justalanm https://github.com/cnuernber/libpython-clj/blob/master/src/libpython_clj/py_modules/numpy.clj I added a macro to take all of the public symbols of a python module and export them into the current namespace as documented things. https://github.com/cnuernber/libpython-clj/blob/master/src/libpython_clj/export_module_symbols.clj

👏 2
alan 2019-10-12T22:08:08.007900Z

Cool! I'll play around with it as soon as I can! Is there a way to kill a Python session at will as well?

chrisn 2019-10-12T22:31:38.008100Z

Currently there is only partial support for multiple interpreters: https://github.com/cnuernber/libpython-clj/issues/5. So I think that is what you would need and then yes, there would be a way if you created a sub-interpreter per session.