Tool for building flying club invoices
$ virtualenv -p python3 venv
$ source venv/bin/activate
$ pip install -r requirements.txt
Sample csv data files are in the data directory. Purpose of each:
- club.csv: Addresses for the club
- pilot.csv: Pilot data such as name address, previous balance.
- pilot_log.csv: Log of the last month's flying
- plane.csv: airplane ids and their hourly rate.
$ python main.py
A pdf invoice file will be created (in the output directory) for each pilot in data/pilot.csv.
- FPDF Library: http://fpdf.org/
- Python environment manager: https://github.com/pyenv/pyenv
- Virtual Environments: https://virtualenv.pypa.io/en/latest/
- Pip Requirements: https://pip.pypa.io/en/stable/user_guide/
- Various techniques: https://stackoverflow.com
- Dates: https://www.w3schools.com/python/python_datetime.asp
- Currency: https://stackoverflow.com/questions/21208376/converting-float-to-dollars-and-cents