Usage
Installation
To use Lumache, first install it using pip:
(.venv) $ pip install lumache
Creating recipes
To retrieve a list of random ingredients,
you can use the lumachex.get_random_ingredients()
function:
- lumachex.get_random_ingredients(kind=None)
Return a list of random ingredients as strings.
- Parameters
- Raises
lumachex.InvalidKindError – If the kind is invalid.
- Returns
The ingredients list.
- Return type
The kind
parameter should be either "meat"
, "fish"
,
or "veggies"
. Otherwise, lumachex.get_random_ingredients()
will raise an exception.
- exception lumachex.InvalidKindError
Raised if the kind is invalid.
For example:
>>> import lumache
>>> lumache.get_random_ingredients()
['shells', 'gorgonzola', 'parsley']
Another Section
Another section with stuff and some text to text to link to just previous. And check out this link to text to link to above also. And check another way this link to text for link to text in this file above also.
Here is a reference to foo.some_foo_function()
here.