Skip to main content

A simple way to query UC San Diego's HDH dining halls

Project description

sdmenu

sdmenu is a simple way to query UC San Diego's HDH dining halls.

Code Style: Black

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

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

sdmenu-1.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

sdmenu-1.0.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file sdmenu-1.0.0.tar.gz.

File metadata

  • Download URL: sdmenu-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.7

File hashes

Hashes for sdmenu-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cd7ac1d642f106009f4e75d0b6177e83d36bc1871f1196b2728991936714a351
MD5 b8a4ffabdcdb493869d5e053eda4b118
BLAKE2b-256 b670238553110640e9dffcd871412adac86aa9cef7cb347654a46211b793c95a

See more details on using hashes here.

File details

Details for the file sdmenu-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sdmenu-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.7

File hashes

Hashes for sdmenu-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e2b2e5847a400e33168be5dbd6988b994717210b1aca28bb7644202e7b87a79
MD5 356a1264e8accbb51f2c43163c6b29d6
BLAKE2b-256 f622f481ee9b02a0086ddda7ea059733bf9e0c8c713412a40ec0072dc841508e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page