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-0.0.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sdmenu-0.0.3.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-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b492b7d72561cc0af4c16caaa1917b8561cff73975982d9300097cc0b597bef9
MD5 d68cc0d16147ff10c9f645aa19efc697
BLAKE2b-256 000143e8b005445b33e395d03924d097e4ef9f803bd78102540a01bf082b752a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sdmenu-0.0.3-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-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a081477068e0705a4a7993bc57586da7b6464831ef7deaf3727874b74b0c45b8
MD5 12172128d2f235edb15ed37392e17f87
BLAKE2b-256 79391c10992a8a72d39dcce23ea1c2285dfe236cf8d438436823d07bbc167f8d

See more details on using hashes here.

Supported by

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