Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1 KB

usage.rst

File metadata and controls

44 lines (28 loc) · 1 KB

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:

.. autofunction:: lumachex.get_random_ingredients

The kind parameter should be either "meat", "fish", or "veggies". Otherwise, :py:func:`lumachex.get_random_ingredients` will raise an exception.

.. autoexception:: lumachex.InvalidKindError

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 :ref:`text for link to text in this file <text to link to>` above also.

Here is a reference to :py:func:`foo.some_foo_function` here.