sdmenu
sdmenu is a simple way to query UC San Diego's HDH dining halls.
Installation
$ pip install sdmenu
Successfully installed sdmenu-1.0.0
Example
This example is based off the menu for 64 Degrees, which you can find here.
>>> from sdmenu import menu
>>> my_menu = menu()
<menu {'64 Degrees', 'Cafe Ventanas', 'Canyon Vista', ...}>
>>> items = my_menu.get('64 Degrees')
[<menu_item 'Avocado Toast'>, <menu_item 'Bacon Bobcat Sandwich'>, ...]
>>> items[0].price
3.5
>>> my_menu.has('64 Degrees', 'Hibachi Chicken')
True
Metadata
Release files for sdmenu 1.0.0
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 | Actions |
|---|---|---|---|---|
| sdmenu-1.0.0.tar.gz | 4.1 kB | Without provenance | Details for sdmenu-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sdmenu-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for sdmenu-1.0.0-py3-none-any.whl |
Total release size: 10.0 kB
Security for sdmenu 1.0.0
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.