Tool for fetching University of Oulu restaurant menus from Jamix.
Project description
jmenu
About
Python app to fetch University of Oulu restaurant menus from Jamix API.
Versions 1.3 and above use the Jamix API.
Versions below 1.3 work by rendering the pages with selenium, then scraping the HTML with BeautifulSoup4.
Installing
Jmenu is available for install on the Python package index.
Install it with pip:
pip install jmenu
Usage
Argument | Example | Description |
---|---|---|
-a, --allergens | g veg | Highlights appropriately marked results |
Flag | Description |
---|---|
-h, --help | Display usage information |
-v, --version | Display version information |
-e, --explain | Display allergen marker information |
-t, --tomorrow | Fetch menu results for tomorrow |
Contributing
Requirements
- Python 3.7+
- Virtualenv
Setup the development environment with
python3 -m virtualenv env
source env/bin/activate
pip install -r requirements.txt
Test and run the tool with
python3 -m src.jmenu.main
Build and install the package with
python3 -m build
pip install dist/<package_name>.whl
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jmenu-1.4.3.tar.gz
(4.6 kB
view hashes)
Built Distribution
jmenu-1.4.3-py3-none-any.whl
(5.6 kB
view hashes)