Skip to content

move-coop/lovelace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lovelace

Ada Lovelace was a pioneer of computer programming.

Read more about here

Overview

This repository is designed for use by The Movement Cooperative's member organizations. This is a place where TMC staff can share helpful code generated by TMC staff or other TMC members.

Guardrails

This repository is fully public. We want to take steps to obscure any sensitive information in the code - this may mean obscuring specific vendor names or including more bracketed variables. We may often link to further description in TMC's Member Library, which is a protected space.

Container Script Users

utils.py

We recommend members copy this file into their own Github repository.

There are two key functions in this script:

  1. logger(): This is simply a standard logger TMC often leverages
  2. setup_environment(): Given our commonly used naming conventions of Civis Platform parameters, this will automatically pull in the necessary credentials for the Parson's GoogleBigQuery Class. You must include the two required parameters in the BigQuery Template Script below.

BigQuery Template

Members can clone this template script.

It includes two required parameters for using TMC's BigQuery:

  • GOOGLE APPLICATION CREDENTIALS: Each member has their own in the dropdown formatted as {member_code} GCP Service Account JSON
  • GOOGLE CLOUD STORAGE BUCKET: Members will need to write in their own formatted as bkt-tmc-mem-{member_code}-scratch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages