Natural language interface to BigQuery
The Python BigQuery library expects the environment variable GOOGLE_APPLICATION_CREDENTIALS, which should point to a JSON file containing the credentials of a Google service account. You can create a service account and download its credentials from the Google Cloud Console. Then set the environment variable:
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/google-service-account.jsonmkdir demo # Git will ignore this directory
python3 -m venv venv
source venv/bin/activate
pip install -e ../ # Install the local package in editable mode
nlbq init
# make changes then
pip uninstall nlbq --yes; pip install -e ../nlbq --help