Welcome to dbwebb-cli’s documentation!

dbw (/debewe/) is a Bash script for working with “course repos”. A course repo is a git repo with a pre-defined structure of course material that the tool dbw knows of.

A course repo is used to gather all material needed for a student to work with a (university) course, usually with programming focus. A course repo contains files for the student, the teacher, documentation, exercises and task, all material included in one git course repo. The dbw utility helps the teacher and the student to work with the course repo.

It pulls data from the Open Food Facts database and offers a simple and intuitive API.

Check out the Usage section for further information, including how to Installation the project.

Note

This project is version 3 of the dbwebb-cli and is currently under active development.

Contents

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 lumache.get_random_ingredients() function:

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

For example:

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

API