Skip to content

Instantly share code, notes, and snippets.

View bobpeers's full-sized avatar

Bob Peers bobpeers

View GitHub Profile
@bobpeers
bobpeers / keybase.md
Created February 8, 2018 07:48
Keybase identity

Keybase proof

I hereby claim:

  • I am bobpeers on github.
  • I am bobpeers (https://keybase.io/bobpeers) on keybase.
  • I have a public key ASAhcBxw75MEBHuMDlcX3xzoOCx4kKUmD0_vE-cXBxuUKQo

To claim this, I am signing this object:

@bobpeers
bobpeers / prefect.py
Last active May 15, 2023 23:41
Template to schedule KNIME workflows using Prefect
#prefect imports
import prefect
from prefect import task, Flow
from prefect.schedules import Schedule
from prefect.schedules.clocks import CronClock
from prefect.storage import Local
import pendulum
import knime
import os
@bobpeers
bobpeers / azure_function_teams.py
Last active June 14, 2022 10:22
Sample to return order information from Azure using Teams Bot (outgoing webhook)
import json
import logging
from nis import match
import os
import re
import pandas as pd
from sqlalchemy import create_engine
from sqlalchemy.engine import URL
import azure.functions as func
@bobpeers
bobpeers / FTP Monitor.py
Created June 14, 2022 10:44
Script to monitor files left in FTP queue
import os
import requests
import json
from itertools import islice
from pathlib import Path
import time
import prefect
from prefect import task, Flow
from prefect.schedules import Schedule
from prefect.schedules.clocks import CronClock