Metadata-Version: 2.1
Name: bf2pico
Version: 1.3.1
Summary: Convert Brewfather Recipes to Pico Brew Steps
Home-page: https://github.com/tmb28054/bf2pico
Author: Topaz Bott
Author-email: topaz@topazhome.net
License: Apache License 2.0
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Description-Content-Type: text/markdown
Requires-Dist: boto3
Requires-Dist: diskcache
Requires-Dist: flask
Requires-Dist: gunicorn
Requires-Dist: matplotlib
Requires-Dist: requests
Requires-Dist: tabulate

# Brewfather to Pico

I am an SDK that transforms Brewfather recipes into pico brewing instructions.

## How to install

```
python -m pip install bf2pico
```

## How to use bf2pico

```
from bf2pico import BrewFather

recipe = BrewFather(
    userid=userid,
    apikey=apikey
)

recipe = recipe.pico()
```

## Command Tools
- `recipe` - A cli to interact with brewfather recipes outputing in pico format.
- `events` - A event process that updates the brew logs for active brews.

### How to use a Chiller

If you want to add a chill to connect a chiller and use the Zymatic pump to run the wort through a chiller, you can do so. Add a `misc` ingredient to your recipe with the name Chill. Set the amount to the target temperature and the time to pump at that temperature.

**In this screenshot, we are chilling to 70 degrees and pumping for 10 minutes after we hit our target temperature.**
![chill screenshot](docs/images/chill.png)

## How to Whirlpool

If you want to add a Whirlpool hop addition, you do that by specifying the hop addition type being **Aroma (Hopstand)**.

**_NOTE:_** The Whirlpool hops **MUST BE** the last bin used.

The screenshot below shows a Whirlpool for 27 minutes.

![chill screenshot](docs/images/whirlpool.png)

## Environment Variables

- BF2PICO_CACHE: Default 1 minute, set the default cache time
- BF2PICO_CACHE_LOCATION: Default `~/.bf2pico` the location for the cache
- BREWFATHER_USERID: The default user_id to use
- BREWFATHER_APIKEY: The default api_key to use

## How to install


