This code analyses a database of coffee suppliers, to create a few visual graphs and rank the coffee suppliers based on flavor, aroma, uniformity and a few other criteria.
The code returns the top 5 suppliers based on these criteria.
- Create a virtual environment
py -m venv venv- Ensure you activate the environment For windows
venv\Scripts\Activate.ps1For other
venv\Scripts\activateor
venv\Scripts\activate.bat- Install requirements Either using
python3 -m pip install -r "requirements.txt"or
py -m pip install -r "requirements.txt"whichever version of python you are using
In the command line in the current directory where this README.md file is, run:
python3 main.pyA successfull output should provide you a PDF file with all the necessary data from the data provided
To run tests run this command
pytest tests/graph_tests.py
pytest tests/demo_tests.pyHathem Michael Matthew Rome
Hathem Michael Matthew Rome