Skip to main content

Python library to interact with Chefkoch.

Project description

get-chefkoch

Downloads PyPI version GitHub Documentation Status pytest workflow

get-chefkoch is a simple, lightweight Python library that allows you to easily extract recipe data from Chefkoch.

Installation & Documentation

pip install get-chefkoch

Full Documentation can be found at Read the Docs.

Examples

Search for a recipe:

from get_chefkoch import Search

s = Search("Apfelstrudel")
recipe = s.recipes(limit=1)[0]

print(recipe.name)
print(recipe.description)

Get the Recipe of the Day:

from get_chefkoch import Search

recipe = Search().recipeOfTheDay()

print(recipe.name)
print(recipe.description)

Recipe Properties

The Recipe object provides easy access to the following properties:

Property Description
name Name of the recipe
id Unique identification of the recipe
description Description of the recipe
image Url of a beautiful picture of the recipe
ingredients Recipe ingredients
category Recipe category
prepTime Preparation time (datetime.timedelta)
totalTime Total Time (datetime.timedelta)
cookTime Cooking time (datetime.timedelta)

Note: Many more parameters are available via the Recipe().data_dump() method.

Features

  • ✨ Query the Recipe of the Day
  • 🔍 Search for specific recipes
  • 🥗 Query detailed information about recipes (cooking time, description, ingredients, etc.)
  • 🚀 Fast and lightweight

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

get_chefkoch-1.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

get_chefkoch-1.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file get_chefkoch-1.1.0.tar.gz.

File metadata

  • Download URL: get_chefkoch-1.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for get_chefkoch-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b856058d512c05bc9f58535051f728f9a5fcf198f559cafa88eacc03cdcf45e1
MD5 2f8271323574089960b16de92b607396
BLAKE2b-256 028fcbfbd209c4664b8c1c1d12d311bba67386ec7fcb8c02fdc4290c6e5825ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for get_chefkoch-1.1.0.tar.gz:

Publisher: publish.yml on olzeug/get-chefkoch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file get_chefkoch-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: get_chefkoch-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for get_chefkoch-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 960db348998e506f0cf16963e1c19e8384b784cc6d9e7e102480185422752bd9
MD5 3e9bb60dc2a0407954103beff54fd04f
BLAKE2b-256 651ba677f2b7c25c019ffa4712f2d4b7e0f033a29df8f71cf4886270c160c7c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for get_chefkoch-1.1.0-py3-none-any.whl:

Publisher: publish.yml on olzeug/get-chefkoch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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