Usage
Installation
To use nsopy, first install it using pip:
(.venv) $ pip install lumache
Quick Start
To retrieve a list of random ingredients,
you can use the nsopy.loggers.GenericMethodLogger function:
- nsopy.utils.invert_oracle_sense(oracle)
The kind parameter should be either "meat", "fish",
or "veggies". Otherwise, nsopy.loggers.GenericMethodLogger()
will raise an exception.
For example:
>>> import lumache
>>> lumache.get_random_ingredients()
['shells', 'gorgonzola', 'parsley']