Usage

Installation

To use PoliPrompt, first install it using pip:

(.venv) $ pip install PoliPrompt

Creating recipes

To retrieve a list of random ingredients, you can use the poliprompt.get_random_ingredients() function:

The kind parameter should be either "meat", "fish", or "veggies". Otherwise, poliprompt.get_random_ingredients() will raise an exception.

For example:

>>> import PoliPrompt
>>> PoliPrompt.get_random_ingredients()
['shells', 'gorgonzola', 'parsley']