X-Git-Url: https://wylark.com/src/munter.git/blobdiff_plain/199c4afc24dd503212cde2ca87f2c16aa4dd384b..61c8ebae076bed62feca9f4c53920e39b3c1ef53:/README.md diff --git a/README.md b/README.md index a61f2d9..0e03ac1 100644 --- a/README.md +++ b/README.md @@ -13,41 +13,78 @@ estimates is your own fault. Installation ------------ -There is no installation and there are no dependencies external to the Python -standard library. +If you use pip, then simply `pip install munter.py`. + +If you don't use pip, then download the source code and unpack it into +its own directory. You can invoke it directly via `python munter.py +[options]`. How to use it ------------- +For detailed information, see: + `./munter.py --help` -My workflow involves planning my tour using tools like ArcGIS or CalTopo. Then, -I take the stats between each leg (distance, vertical gain/loss) of the tour -and run them through Munter.py and thence record its output to my field -notebook. +The program supports both imperial and metric, and has four "travel +modes" at this time: uphill, flat, downhill, bushwhacking. It also +supports a simple fitness modifier: slow, average, fast. + +By default, the output will be the time in hours and minutes of the +specified leg. If you prefer, you can use the `-p` switch to get a +"prettier" output. + +There is also a GUI mode available, based on WxPython, which can be used +by simply invoking like so: + +`./munter.py -g` + +### Use as a library + +You can also use Munter.py programmatically from Python, like so: + +`import munter` +`est = munter.time_calc(distance=3.2, elevation=2300, fitness='slow')` + +This will store a value like "3.64914" in the `est` variable. -The rudimentary "GUI" can be directly transferred to e.g. the format used by -SnowPit Technologies' "Avalanche Field Notebook" or your own personal format -(e.g. RitR No. 471). +Workflow +-------- + +My workflow involves planning my tour using tools like ArcGIS or +CalTopo. Then, I take the stats between each leg (distance, vertical +gain/loss) of the tour and run them through Munter.py and record its +output to my field notebook. + +The text-based "pretty" format can be directly transferred to e.g. the +format used by SnowPit Technologies' "Avalanche Field Notebook" or your +own personal format (e.g. RitR No. 471). Future plans ------------ -* Personal "fitness" switch (to help fine tune your estimates based on - your personal fitness level as observed - over time) -* GTK mode -* Use as a Python library from within another project * Lint it (e.g. therapist) -* Pip? * Sphinx/autodoc? Version History --------------- +- 2.2.0 (Jun 2020) + + Implement GUI mode. + +- 2.1.0 (Jun 2020) + + Implement fitness modifier. Make some text changes and other + miscellaneous and minor improvements. + +- 2.0.1 (Jun 2020) + + README improvement. + - 2.0.0 (Jun 2020) - Packaged for distribution as a standalone program (and library). + Package for distribution as a standalone program (and library). - 1.0.2 (Jun 2020)