pystackql – Python Library for StackQL

Platform Support
Python Support

Python wrapper for StackQL


from pystackql import StackQL  
iql = StackQL(keyfilepath='/tmp/pystackql-demo.json')
results = iql.execute("SHOW SERVICES IN google")

if the StackQL binary is not in the system path you can explicitly specify this using the exe argument of the StackQL constructor method, for example:

from pystackql import StackQL  
iql = StackQL(exe='/some/other/path/stackql', keyfilepath='/tmp/infraql-demo.json')


View Github