cafélytics ☕️
A basic simulation of a coffee operation. Please pardon the mess as this is a work in progress. This is a model that enables forecasting and experimentation under uncertainty, with the goal of steady year-over-year agricultural yields. It can help address questions such as:
when should I expand / how much?
what will the impacts of various crop diversification strategies be?
how can I plan around disaster recovery and mitigation of lost income?
what would cooperative-wide yields look like if more farmers joined? what about if some left?
usage (python cli)
The dataset provided can be used for forecasting with
make run
which is equivalent to
python3 simulate.py --farm data/fakeData.csv --years 75 --output testNewFarm.png
and will output this plot, representing the outputs of a collective of farmers over a seventy-five year time span:
Some farmers who joined the cooperative had trees that were already very mature, so this simulation starts back in 1991 to show their hypothetical contributions towards the total yield of the group (in other words, their membership start date is not considered as a factor in this simulation at this time).
contributing
Contributions are welcome. There are many aspects of this project to improve, please see CONTRIBUTING.md for a list of places to start. You may also raise an issue if you have questions or suggestions about this code.
license
This software is released as-is, with no guarantee nor warranty. For more details, please see LICENSE.txt.
demo
Try it in your browser!
Metadata
Release files for cafelytics 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cafelytics-0.1.1.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cafelytics-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.3 kB
Release files / cafelytics-0.1.1.tar.gz
| Download URL | cafelytics-0.1.1.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f84983a53c63922119a7341764130823f58acf399172df9b856af4178101b0d2
|
|
BLAKE2b-256 checksum How to use checksums |
9ab898f1d9dc8f9f8921bfc78839dea7576a1d1908dcfe321a594bd39d63bf67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
|
Release files / cafelytics-0.1.1-py3-none-any.whl
| Download URL | cafelytics-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d03da1de4f81e709d60e47dfd24a0696a95fe3132fe09c5142ab223bb163f4ef
|
|
BLAKE2b-256 checksum How to use checksums |
59ff477612e5a582b3b51b7fd291c95a969e65e2ad2a39d3e42c319e198a6f89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
|