SavageCore / ocado-parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ocado-parser

Lint codecov Code style: black

Generate OpenDocument Spreadsheet (ods) from Ocado receipts

Install

$ git clone https://github.com/SavageCore/ocado-parser.git
$ pip install -r requirements.txt

Running

Add 1 or more receipts to the folder /static/pdf then execute

$ python -m app.main

Your ODS files will be in /static/output

Why?

Primarily because organising the weekly shop bill with housemates is a faff!

However, I created this fork of magyargergo/ocado-parser to do the following:

  • Remove quantity from spreadsheet
  • Switch from XLSX to OpenDocument Spreadsheet (ods)
  • Support parsing multiple receipts in one run
  • Learn some more Python (primarily unit testing)

About


Languages

Language:Python 100.0%