summaryrefslogtreecommitdiffstats
path: root/glucometer.py (unfollow)
Commit message (Expand)AuthorFilesLines
2017-12-28Use Python3 Enum class for glucose units.Diego Elio Pettenò1-1/+2
2017-12-28Raise minimum Python version to 3.4, to allow using the enum module.Diego Elio Pettenò1-2/+2
2017-10-02Fix with_ketoneLeonard Lausen1-1/+1
2017-10-02Fix ketone readingLeonard Lausen1-1/+1
2017-09-25glucometer.py: add --with-ketone option to the dump actionSamuel Martin1-0/+7
2017-09-25glucometer.py: restrict sorting choices to the common reading fieldsSamuel Martin1-1/+1
2017-06-18Use python3 in the shebang to mark this as not Python 2-compatible.Diego Elio Pettenò1-1/+1
2017-06-15Raise an exception right away if the Python version is unsupported.Diego Elio Pettenò1-0/+4
2017-06-05Update message and fix line length.Diego Elio Pettenò1-1/+2
2017-05-30Show import error when loading driver, so the actual cause of the problem can be seenDorian Scholz1-3/+3
2017-05-30Make dateutil optional:Dorian Scholz1-2/+4
2017-04-17Add support for a "help" action that prints the driver module's docstring.Diego Elio Pettenò1-0/+10
2017-04-15glucometer: make the error fatal and more clear when setting an invalid date.Diego Elio Pettenò1-2/+4
2017-04-15glucometer: log a better error if the driver name is not found.Diego Elio Pettenò1-1/+8
2017-04-15all drivers: make --device optional at the tool level.Diego Elio Pettenò1-2/+3
2017-02-25Add a --vlog option to enable verbose logging.Diego Elio Pettenò1-0/+8
2017-01-16Update copyrights, cleanup whitespace where needed.Diego Elio Pettenò1-1/+1
2017-01-15Move the readings-to-csv conversion to the Reading class.Diego Elio Pettenò1-3/+1
2017-01-15Fetch the device information in all commands.Diego Elio Pettenò1-4/+6
2017-01-15Wrap the meter information to a namedtuple, instead of a string.Diego Elio Pettenò1-1/+5
2014-01-29Add connect/disconnect methods to otultra2 and send \x11\r on connection.Diego Elio Pettenò1-0/+4
2013-12-14Add confirmation prompt to zero log argumentjimsiff1-2/+7
2013-12-11Clean up the code to remove methods that should be functions and imports.Diego Elio Pettenò1-1/+0
2013-12-11Allow sorting the dumped data; sort by date by default.Diego Elio Pettenò1-1/+11
2013-12-11glucometer.py: if no unit is provided on command line, use the default of the meter.Diego Elio Pettenò1-1/+5
2013-12-11Generalise the meal/comment handling to the Reading object.Diego Elio Pettenò1-2/+3
2013-12-08Better error handling.Diego Elio Pettenò1-21/+23
2013-12-08Add a new command to dump the identification of the glucometer.Diego Elio Pettenò1-4/+8
2013-12-08otultra2: implement a zero log command to clear a device's memory.Diego Elio Pettenò1-0/+9
2013-12-08otultra2: implement decoding of meal and comment codes.Diego Elio Pettenò1-1/+2
2013-09-29Read more data out of the OTUltra2 dump lines. Return data in a Reading object.Diego Elio Pettenò1-2/+2
2013-08-04glucometer: allow providing a freeform arbitrary date to set on the meter.Diego Elio Pettenò1-2/+10
2013-08-03glucometer: mark executable.Diego Elio Pettenò1-0/+0
2013-08-03Relicense everything under MIT license.Diego Elio Pettenò1-1/+1
2013-08-03glucometer: remove unused argv usage.Diego Elio Pettenò1-2/+1
2013-08-03Update function names to follow PEP8.Diego Elio Pettenò1-3/+3
2013-08-03Add utf-8 encoding specification to all files.Diego Elio Pettenò1-0/+1
2013-08-03glucometer: add support for selecting output units on dump.Diego Elio Pettenò1-1/+4
2013-08-03glucometer: fix script to actually work and provide actions.Diego Elio Pettenò1-2/+13