A .gitignore => .gitignore +3 -0
@@ 0,0 1,3 @@
+.venv
+data
+**/__pycache__
M Makefile => Makefile +8 -3
@@ 1,8 1,13 @@
.PHONY: clean
clean:
rm --force --recursive __pycache__
+ rm --force --recursive .venv
-.PHONY: process
-process:
- python3 main.py ~/web/*.pdf
+.venv:
+ python3 -m venv .venv
+ bash -c "source .venv/bin/activate && python3 -m pip install pdfminer.six"
+
+.PHONY: run
+run: .venv
+ bash -c "source .venv/bin/activate && python3 main.py data/*.pdf"
A README.md => README.md +24 -0
@@ 0,0 1,24 @@
+# fmg-timesheets
+
+## Usage
+
+Store PDF-formatted timesheets locally.
+
+```
+mkdir data
+cp path/to/timesheets/*.pdf data/
+```
+
+Run the program.
+
+```
+make run
+```
+
+## Licensing
+
+You don't have access to my timesheets.
+The 'crash course' comments in the parser files are adapted from the upstream,
+official documentation.
+I don't know, call it unlicensed?
+