8000 README: upgrade with pip install --upgrade flahax, and flahax mix for growers by rafatahmed · Pull Request #97 · rafatahmed/Flahax · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,34 @@ python -m pip install flahax==0.5.0
Pin the version for reproducible work. `python -m pip install flahax`
installs the latest release.

Already have FlahaX? Upgrade in place; one version lives in each Python
environment, so there is nothing to install beside it:

```bash
python -m pip install --upgrade flahax
python -c "import flahax; print(flahax.__version__)"
```

To keep an older version for comparison, install it in its own virtual
environment.

## For growers: `flahax mix`

`flahax mix` asks five things in order (tank sizes and injection ratio, the
water analysis as printed by the lab, the crop formula, the fertilizers you
have, the target pH) and prints what to weigh into tank A and tank B and how
much acid to put in the acid container. It saves the answers, so the next
batch is one command:

```bash
flahax mix # first time: answer the five steps
flahax mix sessions/my-tomato # next time: no questions
```

`flahax mix` is on `main` and ships in the next release. Until then:
`python -m pip install --upgrade "git+https://github.com/rafatahmed/Flahax.git@main"`.
See [For growers and agronomists](https://flahax.readthedocs.io/en/latest/growers.html).

## Quick start

Select salts for a crop formula, with 20 mg/L of calcium already in the water:
Expand Down
2 changes: 1 addition & 1 deletion docs/site/growers.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ scripts and for checking a plan by hand.
| A crop formula | One of the packaged formulas, or your own targets in mg/L |
| Your acid's strength and density, if the feed needs acid | The acid supplier's certificate of analysis |
| Any maximum concentrations you must respect (for example Na and Cl) | Your crop guidelines or advisor. FlahaX never assumes one. |
| FlahaX installed | `python -m pip install flahax` (see [install](guide/usage.md)) |
| FlahaX installed | `python -m pip install flahax`, or `python -m pip install --upgrade flahax` if you have an older version (see [install](guide/usage.md)) |

## Step 1. Enter your water analysis

Expand Down
Loading
0