Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Latest commit

 

History

History
24 lines (17 loc) · 830 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 830 Bytes

pyinfraql - Python Library for InfraQL

This repository has been archived. The active project is now located at PyStackQL

Platform Support Python Support

Python wrapper for InfraQL

Usage

from pyinfraql import InfraQL  
iql = InfraQL(keyfilepath='/tmp/infraql-demo.json')
results = iql.execute("SHOW SERVICES IN google")
print(results)

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

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