Skip to content

Instantly share code, notes, and snippets.

View billcrook's full-sized avatar

Bill Crook billcrook

View GitHub Profile
@billcrook
billcrook / SFTP.py
Created April 9, 2018 15:56
An SFTP util class I created for use in my airflow pipelines. Not beautiful, but it works.
import logging
import pexpect
from airflow.hooks.base_hook import BaseHook
class SFTP(object):
"""
Requires openssh_client. Spawns process to execute sftp command.
"""
@billcrook
billcrook / Test.scala
Created September 30, 2013 01:27
testing
case class Test(one: Int, two: Int, three: Int)