Skip to main content

The MealDB API wrapper

Project description

py-mealdb GitHub Actions Workflow Status PyPI - Version License: LGPL v3 GitHub Repo stars PyPI Downloads PyPI Downloads

py-mealdb is a Python library that allows users to interact effortlessly with TheMealDB API, providing access to a vast collection of meal recipes, ingredients, and culinary inspiration from around the world.

📚 Table of Contents

  1. Installation
  2. Quick Start
  3. Documentation
  4. Contributing
  5. License
  6. Code of Conduct

💻 Installation

pip install py-mealdb

🏃‍♂️ Quick Start

from py_mealdb import MealDB

mb = MealDB(API_KEY)
meals = mb.get_meal_by_name('Potato Salad')
print(meals.names)        # ['Potato Salad']
print(meals[0]['strMeal']) # 'Potato Salad'

🤝 Contributing

If you'd like to contribute to the package, please submit a pull request or report an issue on the issue tracker.

📄 Documentation

For more information, please refer to our Documentation.

🚫 Code of Conduct

For more information about code of conduct click here Conduct.

📜 License

This project is licensed under the EPL-2.0

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

py_mealdb-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

py_mealdb-1.0.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_mealdb-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for py_mealdb-1.0.0.tar.gz
Algorithm Hash digest
SHA256 86b188f467daa59530afcd3f7df43366e7cb9e8ea11bae517f88a22530940488
MD5 3f4d72a2a93cc3af7518a764ae109f9e
BLAKE2b-256 1339c9d57608919e3c21da4c64b2460200b28ac95e028763379827e147bd2551

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_mealdb-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for py_mealdb-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b88352004b239aef01cc35a82e27b7cc8a51c61b76ffe964c747b279afb80224
MD5 a98d857bc0d6cd536cbf5577cf913071
BLAKE2b-256 73cd80603da912715a24d5b168d62f000395267e58895d87e94706057847a59c

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