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.
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
faker_food-0.1.0.tar.gz
(9.1 kB
view hashes)
Built Distribution
faker_food-0.1.0-py3-none-any.whl
(10.6 kB
view hashes)
Close
Hashes for faker_food-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd7c8c69de7944f0496085800f04c194ab2c73f3899779a4e8be4382f96e4c27 |
|
MD5 | d1d2de8a20a4614fea6ab1e28e72e3d9 |
|
BLAKE2b-256 | f4726b9d0e54f4f9a8b7a4b0edcd86931db4a1b3752c38218d2e3c35a3b00054 |