Skip to main content

Commandline tools for the homebrewer

Project description

brew-tools

 ____  ____  ____  _  _    ____  __    __   __    ____
(  _ \(  _ \(  __)/ )( \  (_  _)/  \  /  \ (  )  / ___)
 ) _ ( )   / ) _) \ /\ /    )( (  O )(  O )/ (_/\\___ \
(____/(__\_)(____)(_/\_)   (__) \__/  \__/ \____/(____/

Build Status Documentation Status

A command line utility that offers a set of calculators for home brewers.

Description

Need to do a quick calculation during your brew day? Don’t fancy digging through a GUI application, or a web based tool? Prefer to do simple things in a terminal?

Then brew-tools is for you.

Currently brew-tools includes:

  • ABV calculator

  • Keg priming calculator

  • Priming sugar calculator

  • Quick infusion calculator

More to come

Installation

Currently there is no PyPI package for brewtools, but you can clone/download this repository and install it using pip

cd <brew-tools-dir>
pip install .

Usage

Brew tools has built in help

Usage: brew-tools [OPTIONS] COMMAND [ARGS]...

Options:
--version  Show the version and exit.
-imperial  Use imperial units. Metric by default.
--help     Show this message and exit.

Commands:
abv
infuse
kegpsi
prime

and also for its commands

brew-tools infuse --help
Usage: brew-tools infuse [OPTIONS]

Options:
  -temp FLOAT    Current temperature of mash
  -target FLOAT  Target temperature of mash
  -ratio FLOAT   Grist/water ratio
  -grain FLOAT   Weight of grain in mash
  -water FLOAT   Temp of infusion water
  --help         Show this message and exit.

If the inputs are not passed via the command line arguments, brew tools will prompt the user for input.

For more information see the documentation

Development

If you want to help develop brew tools you should install it into a virtual environment.

Create and source the environment and then install brew tools with

cd <brew-tools project dir>
pip install -e ".[testing]"

which will install an editable version, as well as all the tools required to run the tests with

pytest tests

Thanks

Thanks to

  • /u/DAMNIT_REZNO - for inspiring me to start this project

License

Brew Tools is released under the MIT license.

See LICENSE.txt for more details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brew-tools-0.0.4.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

brew_tools-0.0.4-py2.py3-none-any.whl (7.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file brew-tools-0.0.4.tar.gz.

File metadata

  • Download URL: brew-tools-0.0.4.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/19.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.5

File hashes

Hashes for brew-tools-0.0.4.tar.gz
Algorithm Hash digest
SHA256 96708cecff4de7b91608ae2b144613cd3d83791087b08db0af228cf725609c4c
MD5 4a1f9f9c2c87abef592bb818f8e6dbff
BLAKE2b-256 aa3df2c7efda020994457035b934e108dfa7a10db05ba9639757c6f0d8d31a46

See more details on using hashes here.

File details

Details for the file brew_tools-0.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: brew_tools-0.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/19.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.5

File hashes

Hashes for brew_tools-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d82a4f9078746924535e679bd9baeda5995e6c7af178b2c1beaded0a5d8798d1
MD5 36e9ed180d691781d948cf0a12c16574
BLAKE2b-256 049a93d0c6f50a748c3dd52545133f58e6baac7e6b06790bb5431aa21c51caee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page