Skip to content

Instantly share code, notes, and snippets.

View ehenry09's full-sized avatar
🎯
Focusing

Elliot Henry ehenry09

🎯
Focusing
View GitHub Profile
@ehenry09
ehenry09 / google-secret-manager-helpers.py
Last active October 5, 2020 19:59
Helper functions to set and retrieve passwords from Google Secret Manager.
# pip install google-cloud-secret-manager==1.0.0
import google.auth
from google.cloud import secretmanager
GCS_PROJECT_NAME = "project_name"
def get_secret_manager_client(credentials=None):
"""Get a secret manager client."""
FROM python:3
COPY notebooks /notebooks
COPY requirements.txt requirements.txt
RUN pip install --upgrade pip && \
pip install -r requirements.txt
COPY notebooks /notebooks
WORKDIR notebooks
@ehenry09
ehenry09 / README-Template.md
Created January 22, 2019 22:13 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.