This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from gevent import monkey | |
monkey.patch_subprocess() | |
import os | |
import signal | |
import subprocess | |
import gevent | |