Python library to interact with Chefkoch.
Project description
get-chefkoch
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b856058d512c05bc9f58535051f728f9a5fcf198f559cafa88eacc03cdcf45e1
|
|
| MD5 |
2f8271323574089960b16de92b607396
|
|
| BLAKE2b-256 |
028fcbfbd209c4664b8c1c1d12d311bba67386ec7fcb8c02fdc4290c6e5825ba
|
Provenance
The following attestation bundles were made for get_chefkoch-1.1.0.tar.gz:
Publisher:
publish.yml on olzeug/get-chefkoch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
get_chefkoch-1.1.0.tar.gz -
Subject digest:
b856058d512c05bc9f58535051f728f9a5fcf198f559cafa88eacc03cdcf45e1 - Sigstore transparency entry: 1393388098
- Sigstore integration time:
-
Permalink:
olzeug/get-chefkoch@39aba45154b75ee67b364d52f7b74c73394bcb31 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/olzeug
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@39aba45154b75ee67b364d52f7b74c73394bcb31 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
960db348998e506f0cf16963e1c19e8384b784cc6d9e7e102480185422752bd9
|
|
| MD5 |
3e9bb60dc2a0407954103beff54fd04f
|
|
| BLAKE2b-256 |
651ba677f2b7c25c019ffa4712f2d4b7e0f033a29df8f71cf4886270c160c7c0
|
Provenance
The following attestation bundles were made for get_chefkoch-1.1.0-py3-none-any.whl:
Publisher:
publish.yml on olzeug/get-chefkoch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
get_chefkoch-1.1.0-py3-none-any.whl -
Subject digest:
960db348998e506f0cf16963e1c19e8384b784cc6d9e7e102480185422752bd9 - Sigstore transparency entry: 1393388117
- Sigstore integration time:
-
Permalink:
olzeug/get-chefkoch@39aba45154b75ee67b364d52f7b74c73394bcb31 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/olzeug
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@39aba45154b75ee67b364d52f7b74c73394bcb31 -
Trigger Event:
release
-
Statement type: