# 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.
``` bash
pip install faker-food
```
## 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))
Raw data
{
"_id": null,
"home_page": "https://github.com/madams74/faker_food",
"name": "faker_food",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "faker,data,test,mock,generator,food",
"author": "Mark Adams",
"author_email": "madams74@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ca/69/b1054912eefc7d862a8ea544485ddf6a75649dcc063eea2670662daeda87/faker_food-0.3.0.tar.gz",
"platform": null,
"description": "# faker_food: food provider for Faker\n\nAn add-on provider for the Python Faker module to generate random and/or fake data for food-related categories.\n\n## Description\n\n`faker_food` provides food-related fake data for testing purposes.\n\n## Installation\nInstall the `faker-food` library with your package management tool.\n``` bash\npip install faker-food\n```\n## Usage\nAdd as a provider to your Faker instance:\n``` python\n>>> from faker import Faker\n>>> from faker_food import FoodProvider\n>>> fake = Faker()\n>>> fake.add_provider(FoodProvider)\n```\nNow you can start to generate data:\n```python\n>>> fake.dish()\n>>> fake.dish_description()\n>>> fake.ethnic_category()\n>>> fake.fruit()\n>>> fake.ingredient()\n>>> fake.measurement()\n>>> fake.metric_measurement()\n>>> fake.measurement_size()\n>>> fake.spice()\n>>> fake.sushi()\n>>> fake.vegetable()\n```\n## Data Sources\n\nData for this project was sourced from many different areas. Special thanks to the following sources:\n* [faker-ruby/faker](https://github.com/faker-ruby/faker) ([food.yml](https://github.com/faker-ruby/faker/blob/master/lib/locales/en/food.yml))\n* [Elixirs/faker](https://github.com/elixirs/faker/) ([food/en.ex](https://github.com/elixirs/faker/blob/master/lib/faker/food/en.ex))",
"bugtrack_url": null,
"license": "MIT",
"summary": "Food related provider for the Python Faker library",
"version": "0.3.0",
"project_urls": {
"Homepage": "https://github.com/madams74/faker_food",
"Repository": "https://github.com/madams74/faker_food"
},
"split_keywords": [
"faker",
"data",
"test",
"mock",
"generator",
"food"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ef49d99824a40382fc3816b3204d7570abacbf19a5f965dd5f3703962f6d82f1",
"md5": "6a72a3d8bf9d72f8ff49364f2f3562d5",
"sha256": "eeec5f2cd64708b7cbb620a1851cb0cff77012a3f582535ddc8fd8ab535265e7"
},
"downloads": -1,
"filename": "faker_food-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6a72a3d8bf9d72f8ff49364f2f3562d5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 11924,
"upload_time": "2023-10-23T13:37:59",
"upload_time_iso_8601": "2023-10-23T13:37:59.155461Z",
"url": "https://files.pythonhosted.org/packages/ef/49/d99824a40382fc3816b3204d7570abacbf19a5f965dd5f3703962f6d82f1/faker_food-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ca69b1054912eefc7d862a8ea544485ddf6a75649dcc063eea2670662daeda87",
"md5": "a088bd0f017ac464c021626d2afc57e5",
"sha256": "2e5faed4d375dca53bd5ef4cdf362884197bb2fa6ae8ae4f6949f5143686b9d0"
},
"downloads": -1,
"filename": "faker_food-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "a088bd0f017ac464c021626d2afc57e5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 9957,
"upload_time": "2023-10-23T13:38:00",
"upload_time_iso_8601": "2023-10-23T13:38:00.973599Z",
"url": "https://files.pythonhosted.org/packages/ca/69/b1054912eefc7d862a8ea544485ddf6a75649dcc063eea2670662daeda87/faker_food-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-23 13:38:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "madams74",
"github_project": "faker_food",
"travis_ci": false,
"coveralls": true,
"github_actions": false,
"lcname": "faker_food"
}