Food related provider for the Python Faker library
Project description
faker_food: food provider for Faker
An add-on provider for the Python Faker module to generate random and/or fake data for food-related categories.
Description
faker_food provides food-related fake data for testing purposes.
Installation
Install the faker-food library with your package management tool.
pip install faker-food
Usage
Add as a provider to your Faker instance:
>>> from faker import Faker
>>> from faker_food import FoodProvider
>>> fake = Faker()
>>> fake.add_provider(FoodProvider)
Now you can start to generate data:
>>> fake.dish()
>>> fake.dish_description()
>>> fake.ethnic_category()
>>> fake.fruit()
>>> fake.ingredient()
>>> fake.measurement()
>>> fake.metric_measurement()
>>> fake.measurement_size()
>>> fake.spice()
>>> fake.sushi()
>>> fake.vegetable()
Data Sources
Data for this project was sourced from many different areas. Special thanks to the following sources:
Project details
Release history Release notifications | RSS feed
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 faker_food-0.3.0.tar.gz.
File metadata
- Download URL: faker_food-0.3.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.8 Linux/6.2.0-35-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e5faed4d375dca53bd5ef4cdf362884197bb2fa6ae8ae4f6949f5143686b9d0
|
|
| MD5 |
a088bd0f017ac464c021626d2afc57e5
|
|
| BLAKE2b-256 |
ca69b1054912eefc7d862a8ea544485ddf6a75649dcc063eea2670662daeda87
|
File details
Details for the file faker_food-0.3.0-py3-none-any.whl.
File metadata
- Download URL: faker_food-0.3.0-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.8 Linux/6.2.0-35-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eeec5f2cd64708b7cbb620a1851cb0cff77012a3f582535ddc8fd8ab535265e7
|
|
| MD5 |
6a72a3d8bf9d72f8ff49364f2f3562d5
|
|
| BLAKE2b-256 |
ef49d99824a40382fc3816b3204d7570abacbf19a5f965dd5f3703962f6d82f1
|