Skip to main content

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)

Source distribution for metu-cafeteria-menu 0.0.5
File Size Uploaded Provenance
metu-cafeteria-menu-0.0.5.tar.gz 2.8 kB Without provenance Details

Release files / metu-cafeteria-menu-0.0.5.tar.gz

Download URL metu-cafeteria-menu-0.0.5.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2e656706e19924501740b01066d886a30caae31626358f06a9a721ee2ef3c09d
BLAKE2b-256 checksum
How to use checksums
70fafd3226d4a041cf4bb4fc826d934ee0724063374e662e862caed1ee1565ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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.

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file No provenance

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page