Package: brew-tools
brew-tools╔╗ ╦═╗╔═╗╦ ╦  ╔╦╗╔═╗╔═╗╦  ╔═╗
╠╩╗╠╦╝║╣ ║║║───║ ║ ║║ ║║  ╚═╗
╚═╝╩╚═╚═╝╚╩╝   ╩ ╚═╝╚═╝╩═╝╚═╝A command line utility that offers a set of calculators for home
brewers.NOTE: All values and calculations are provided as guidelines only.
Brew-tools should not be used for professional brewing. No warranty
or guarantee of accuracy is provided on the information provided by
this calculator.DescriptionNeed 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?Thenbrew-toolsis for you.Currently brew-tools includes:ABV calculatorKeg priming calculatorPriming sugar calculatorQuick infusion calculatorAdjust gravity with dme calculatorApparent and Real attenuation calculatorFinal gravity from a given attenuation percentageGravity adjustment by boil off/dilution calculatorNew gravity after volume adjustmentStrike water temperatureUnit conversionMore to comeSee thechangelogfor updates in each versionInstallationBrew-tools is available from PyPIpip install brew-toolsYou can also clone/download this repository and install it using pipcd <brew-tools-dir>
pip install .UsageWhen first starting Brew tools you will be asked for your preferred unit type, metric or imperial.
This is then stored in a config file and used as the default unit. This can be temporarily
changed with the–unitoption.Brew tools has built in helpUsage: brew-tools [OPTIONS] COMMAND [ARGS]...

Options:
--version  Show the version and exit.
--unit [metric|imperial]  Ignore config and use a different unit.
--help     Show this message and exit.

Commands:
abv
infuse
kegpsi
prime
dmeand also for its commandsbrew-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 thedocumentationDevelopmentIf you want to help develop brew tools you should install it into a
virtual environment. The current version of brew-tools uses [Poetry](https://poetry.eustace.io/)
to manage virtual environments and such.In order to start, [install Poetry](https://poetry.eustace.io/docs/#installation)
and change into the brew-tools directory. From there you can runpoetry installwhich will create a virtual environment and install the dependencies.
To runbrew_toolsin the developmeent environment it’s probably easiest to runpoetry shellwhich will spawn a configured shell for the environment.Tests can be run in this environment, or you can usepoetry run pytest teststo run the tests without spawning a shell.In addition to the tests it’s advisable to run a linter of the source as Travis
will also check for linting errors. The linter command ignores some errors, so you
can use this command to match the command run by Travispoetry run flake8 src --ignore=E501,W504,W503ThanksThanks to/u/DAMNIT_REZNO - for inspiring me to start this projectSlayterDev - DME addition calculatorSzczyp - Add input for grain temp and fix missing input functionLicenseBrew Tools is released under the MIT license.SeeLICENSE.txtfor more details