https://github.com/kristjanesperanto/canteenmenuallesleckeressen
https://github.com/kristjanesperanto/canteenmenuallesleckeressen
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kristjanesperanto/canteenmenuallesleckeressen
- Owner: KristjanESPERANTO
- License: mit
- Created: 2021-11-24T23:55:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-29T21:24:14.000Z (about 1 year ago)
- Last Synced: 2025-02-01T14:26:27.217Z (4 months ago)
- Language: Python
- Size: 84 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CanteenMenuAllesLeckerEssen
With the script `getmenudata.py`, the canteen menus for the current and the following month are read out from PDF files from a [caterer in Halle, Germany](https://www.alles-lecker-essen.de) and converted into a JSON file.
This is a special use case and will hardly be of interest to anyone. If so, I am grateful for suggestions for improvement or a pull request.
## Installation
### Clone / Download
```sh
git clone https://github.com/KristjanESPERANTO/CanteenMenuAllesLeckerEssen/
```#### Install requirements
```sh
# To download and parse the website
pip install requests beautifulsoup4
# To handle the pdf files
pip install "camelot-py[base]"
sudo apt-get install python3-opencv
# To handle tables and export json
pip install pandas
# The following row maybe isn't necessary
sudo apt-get install libatlas-base-dev
```### Test
```sh
cd CanteenMenuAllesLeckerEssen
python3 getmenudata.py
```## ToDo
- MagicMirror² as an example with screenshot