Single-action Looker Action Hub using Python + FastAPI. Includes SendGrid for emails.
Example Report Pack:
- Create a board
- Add at least two sections
- The first section must contain a look that includes a
board_id
value in the first row - Adding a Table Calculation with the name "Board ID" is the easiest way to do this
- This
board_id
refers to the number of the board, taken from the end of the board's URL
- The first section must contain a look that includes a
- In the second section onwards, all dashboards will be included as pages in the compiled report
- You can add a look which includes filter values, to generate multiple pages of the same dashboard with different filter settings (e.g. one page per department)
- Using the section description, you can define a header page to be included
- These have to be stored on the Action Hub application in the input/compile_report_pack directory
- Example: Section Two [cover:section_2.pdf]
- Using the section description, you can set pages to be printed as A3 rather than A4
- Example: Section Two [cover:section_2.pdf][size:A3]
NOTE: This project assumes that you have set SDK credentials as environment variables.
Requites Python 3.7+. To run locally:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp start.example start
- Update environment variables in start script
./start
Any new, conforming action added to the actions folder will automatically be added to the Action Hub.
See the original Fast Hub project for more examples: [https://github.com/ContrastingSounds/fast-hub](Fast Hub project on GitHub)