API for mythril
Hagar-Usama opened this issue · 2 comments
Hagar-Usama commented
Description
There should be a clear way to include Mythril as a package inside my Python project
Background
I've a Python project and I need a way to include Mythril and use its commands inside without the need for the terminal commands
norhh commented
You can simply import mythril and use whatever libraries you want.
The easiest method would be running terminal commands in python using subprocess.check_output
in python.
output = check_output(command, shell=True, stderr=STDOUT).decode("UTF-8")
dalangll commented
Is there a usage example of importing myril?