Metadata-Version: 2.1
Name: faker-food
Version: 0.1.0
Summary: Food related provider for the Python Faker library
License: MIT
Author: Mark Adams
Author-email: madams74@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: Faker (>=12.0.0,<13.0.0)
Description-Content-Type: text/markdown

# 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:
``` python
>>> from faker import Faker
>>> from faker_food import FoodProvider
>>> fake = Faker()
>>> fake.add_provider(FoodProvider)
```
Now you can start to generate data:
```python
>>> 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:
* [faker-ruby/faker](https://github.com/faker-ruby/faker) ([food.yml](https://github.com/faker-ruby/faker/blob/master/lib/locales/en/food.yml))
* [Elixirs/faker](https://github.com/elixirs/faker/) ([food/en.ex](https://github.com/elixirs/faker/blob/master/lib/faker/food/en.ex))
