Skip to content
Snippets Groups Projects
Commit fe295e4f authored by Gauthier HEISS's avatar Gauthier HEISS
Browse files

First (real) commit

parent 2e06b4c8
No related branches found
No related tags found
No related merge requests found
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
# -- Project information # -- Project information
project = 'Lumache' project = 'esieabot'
copyright = '2021, Graziella' copyright = '2023, Groupe ESIEA'
author = 'Graziella' author = 'Gauthier HEISS'
release = '0.1' release = '0.1'
version = '0.1.0' version = '0.1.0'
......
Welcome to Lumache's documentation! Welcome to esieabot's documentation!
=================================== ===================================
**Lumache** (/lu'make/) is a Python library for cooks and food lovers **esieabot** (/ezjabɔt/) is an opensource programmable educational robot made by ESIEA.
that creates recipes mixing random ingredients. Fun but professional, it will help you quickly acquire or improve your digital skills:
It pulls data from the `Open Food Facts database <https://world.openfoodfacts.org/>`_ programming, electronics, artificial intelligence, cybersecurity, embedded systems, etc.
and offers a *simple* and *intuitive* API.
Check out the :doc:`usage` section for further information, including Check out the :doc:`usage` section for further information, including
how to :ref:`installation` the project. how to :ref:`installation` the project.
......
"""
Lumache - Python library for cooks and food lovers.
"""
__version__ = "0.1.0"
class InvalidKindError(Exception):
"""Raised if the kind is invalid."""
pass
def get_random_ingredients(kind=None):
"""
Return a list of random ingredients as strings.
:param kind: Optional "kind" of ingredients.
:type kind: list[str] or None
:raise lumache.InvalidKindError: If the kind is invalid.
:return: The ingredients list.
:rtype: list[str]
"""
return ["shells", "gorgonzola", "parsley"]
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "lumache"
authors = [{name = "Graziella", email = "graziella@lumache"}]
dynamic = ["version", "description"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment