metu-cafeteria-menu is a utility for fetching Middle East Technical University’s cafeteria menu. It gets data from cafeteria’s website and parses it.
Install
pip install metu-cafeteria-menu
Usage
from metu_cafeteria_menu import fetch
from metu_cafeteria_menu.exceptions import DateException, RequestException
try:
menu = fetch('2016-05-19')
except RequestException as e:
# something went wrong while trying to connect to cafeteria website
print(str(e))
except DateException as e:
# menu is not available for the selected date, it may be weekend or holiday
print(str(e))
License
Copyright (c) 2016 H.Gökhan Sarı
Licensed under the MIT License.
Metadata
Release files for metu-cafeteria-menu 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| metu-cafeteria-menu-0.0.5.tar.gz | 2.8 kB | Without provenance | Details |
Security for metu-cafeteria-menu 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.