Skip to content

Instantly share code, notes, and snippets.

View neuroid's full-sized avatar
😴
Dreaming of electric sheep

neuroid

😴
Dreaming of electric sheep
View GitHub Profile
@neuroid
neuroid / bulbenergy.py
Last active October 11, 2021 13:16
Parser for Bulb Energy (bulb.co.uk) statement PDFs
#!/usr/bin/env python3
"""Parse Bulb Energy (bulb.co.uk) statement PDFs.
Requires the pdftotext command (part of poppler-utils).
"""
from collections import defaultdict
import csv
from datetime import datetime
from decimal import Decimal
import subprocess
@neuroid
neuroid / ovoenergy.py
Created March 17, 2019 23:29
Parser for OVO Energy (ovoenergy.com) statement PDFs
#!/usr/bin/env python3
"""Parse OVO Energy (ovoenergy.com) statement PDFs.
Requires the pdftotext command (part of poppler-utils).
"""
import csv
from datetime import datetime
import subprocess
import sys
@neuroid
neuroid / gist:5d42760310f7af843150
Created June 6, 2014 12:36
gevent.subprocess vs os.waitpid
from gevent import monkey
monkey.patch_subprocess()
import os
import signal
import subprocess
import gevent