Truelty’s backend processing uses a Python CLI to orchestrate the Snowflake SQL jobs. Truelty’s Python CLI can be added to a schedular or run manually.
Installing TRUELTY.PY and Setting Environment Variables
- Copy the file truelty.py into the directory on the computer where you will run the Truelty Python CLI.
- Configure the environment variables on the computer where the CLI will be running. Please add the following environment variables and values:
- SF_ACCOUNT = <snowflake full account name>
- SF_USER = _truelty_svc
- SF_PASSWORD = <password for _truelty_svc>
- SF_ROLE = truelty_svc
- SF_WAREHOUSE = truelty