Skip to main content

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_maytok_food provides food-related fake data for testing purposes.

Installation

Install the faker_maytok_food library with your package management tool.

pip install faker_maytok_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()

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

faker_maytok_food-0.1.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

faker_maytok_food-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file faker_maytok_food-0.1.0.tar.gz.

File metadata

  • Download URL: faker_maytok_food-0.1.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.9 Windows/10

File hashes

Hashes for faker_maytok_food-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f0e6560e297e0a1168959783d0f01b35909306c4aabdc870290f6dd3305144f1
MD5 3ea5f000b5fe045b641d7aa542be276c
BLAKE2b-256 aa8efe00d22d1ddb197a18d8ec4d1027c00994dbf2d97ed4f62201f473d5daeb

See more details on using hashes here.

File details

Details for the file faker_maytok_food-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: faker_maytok_food-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.9 Windows/10

File hashes

Hashes for faker_maytok_food-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35ad3d6b224f65d2b172b6d1a334bd45f0e6e0a900791597d251f75e6e0c8204
MD5 6dd07a10a8df30a27b306398ab9d4673
BLAKE2b-256 2a7faa80269dd2dce5cd91e34305c587cc259b31262b5ca29130cf1cd6d96f71

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page