I am interested in using Python3 to develop modules. I can think of two ways of doing this:
- Py4J, the way pyspark uses.
- Creating my own RPC and running python3 as a subprocess, or even on another system.
Is there any experience with either of these approaches?
Many of the modules I have written use both python 2.x and 3.x. What I do to make things cleaner on the Autopsy plugin module end is to compile my python scripts into an executable, this way I do not have to worry about copying over libraries that may be needed. I then call the executable from the Autopsy Python Plugin module. Does that help?
1 Like
Thanks. Where is the interface for executables documented? It would seem that an executable would be limited in its ability to access existing autopsy databases and in the kinds of data that it could return.