cmapBQtoolkit is available on PyPi and can be installed using:
pip install cmapBQ
This will install the package into your currently active environment.
From here, ensure you have a Google Service Account Credentials file, documentation can be found at Getting started with authentication
It is recommended to place the credentials in the ~/.cmapBQ folder. To complete installation, run the following command from within a python session. This only needs to be done once, and will populate a ~/.cmapBQ/config.txt file with default table values and correct credentials path.
import cmapBQ.query as cmap_query import cmapBQ.config as cmap_config cmap_config.setup_credentials(path_to_json)