Dima Gerasimov
cc127f1876
kython.klogging
...
- move to core
- add a proper description why it's useful
- make default level INFO
- use HPI_LOGS variable for easier log level control (abdc6df1ea
)
2020-10-29 03:13:18 +01:00
Dima Gerasimov
a946e23dd3
core.pandas: dump the timezones in check_dateish
2020-10-21 01:29:29 +02:00
Dima Gerasimov
831fee42a1
core: minor error handling tweaks
2020-10-21 01:29:29 +02:00
Dima Gerasimov
2a2478bfa9
core: update cachew annotations
...
orgmode: expose method to construct cacheable note
2020-10-21 01:29:29 +02:00
Dima Gerasimov
bdfac96352
core.error: more generic sort_res_by
2020-10-21 01:29:29 +02:00
Dima Gerasimov
fa5e181cf8
core: minor helpers for error handling
2020-10-21 01:29:29 +02:00
Dima Gerasimov
d059e4aaf4
add taplog provider
2020-10-21 01:29:29 +02:00
Dima Gerasimov
ed47e98d5c
my.body.sleep: integrate with optional temperature data
2020-10-12 21:48:04 +02:00
Dima Gerasimov
725597de97
add my.body.sleep, combine together emfit/jawbone
2020-10-12 21:48:04 +02:00
Dima Gerasimov
e8e4994c02
google.takeout.paths: return Optional if there are no takeouts
2020-10-12 21:48:04 +02:00
Dima Gerasimov
4666378f7e
my.location.home: simplify config format, make it a bit more robust + tests
2020-10-12 09:05:11 +02:00
Dima Gerasimov
d8ed780e36
my.orgmode: cache entries
2020-10-11 18:44:37 +02:00
Dima Gerasimov
1ded99c61c
my.notes.orgmode: move to my.orgmode
2020-10-11 18:44:37 +02:00
Dima Gerasimov
649537deca
my.notes.orgmode: make a bit more iterative
2020-10-11 18:44:37 +02:00
Dima Gerasimov
6a1a006202
core: add DataFrame support to stat
2020-10-11 18:44:37 +02:00
Dima Gerasimov
209cffb476
doctor: print import order
2020-10-09 23:22:00 +02:00
Dima Gerasimov
96113ad5ae
my.calendar.holidays: unhardcode calendar, detect it from the location data
2020-10-09 23:22:00 +02:00
Dima Gerasimov
bdb5dcd221
my.calendar.holidays: cleanup + ci/stats + split off private data handling to https://github.com/karlicoss/hpi-personal-overlay
2020-10-09 23:22:00 +02:00
Dima Gerasimov
1f9be2c236
fix after mypy version update
2020-10-09 22:09:19 +02:00
Dima Gerasimov
35b91a6fa2
timezone provider: add stat(), use cachew (daily resolution)
2020-10-09 22:09:19 +02:00
Dima Gerasimov
dfea664f57
add my.location.home, use it as location/timezone fallback
2020-10-09 22:09:19 +02:00
Dima Gerasimov
1f2e595be9
Initial my.time.tz provider, infer from location with daily resolution
2020-10-09 22:09:19 +02:00
Dima Gerasimov
dc2518b348
my.location.google: cleanup old stuff related to tagging, definitely doesn't belong to this module
2020-10-08 21:31:26 +02:00
Dima Gerasimov
ba9acc3445
my.location: let takeout provider be in a separate my.location.google; add CI test & enable mypy
2020-10-08 21:31:26 +02:00
Dima Gerasimov
90ada92110
bluemaestro: include humidity, pressure and dewpoint data
2020-10-08 21:22:02 +02:00
Dima Gerasimov
ced93e6942
reflect cachew changes of exception handling and temporary suppression
2020-10-08 21:22:02 +02:00
Dima Gerasimov
d3f2551560
core.pandas: check index in check_dataframe
2020-10-04 01:40:52 +02:00
Dima Gerasimov
5babbb44d0
my.bluemaestro: workaround weird timestamps by keeping track of the latest timestamp
2020-10-04 01:40:52 +02:00
Dima Gerasimov
8e8d9702f3
my.bluemaestro: investigation of weird timestamps
2020-10-04 01:40:52 +02:00
Dima Gerasimov
6242307d7a
my.bluemaestro: run against testdata, add on CI
2020-10-04 01:40:52 +02:00
Dima Gerasimov
e63c159b80
my.body.exercise: add more annotations & ci check
2020-10-03 18:24:08 +02:00
Dima Gerasimov
06ee72bc30
core: more type annotations
2020-10-03 18:24:08 +02:00
Sean Breckenridge
44b756cc6b
smscalls: use stdlib for tz, attach readable date
...
pytz is overkill for this, use the builin
datetime.timezone module (since py ver 3.2)
attach the readable datetime
like 'Sep 12, 2020 9:12:19 AM' to each
of the calls/messages
2020-10-02 19:11:48 +02:00
Sean Breckenridge
160582b6cf
parse sms messages from xml files
2020-10-02 19:11:48 +02:00
Dima Gerasimov
d8841d0d7a
my.endomondo: add fake data generator, test mypy
2020-10-02 00:37:08 +02:00
Dima Gerasimov
1c20eb27aa
CI: add mypy checks for my.reddit, my.pocket and my.github.ghexport
2020-09-30 23:33:06 +02:00
Dima Gerasimov
0682919449
general: use module dependencies as proper PIP packages + fallback
2020-09-30 23:33:06 +02:00
Sean Breckenridge
c68d81a8ca
supress conflicting regex warning
2020-09-30 22:58:48 +02:00
Dima Gerasimov
ed25fc2eeb
cli: tabulate warnings for cleaner visual output; add --quick flag for doctor
2020-09-30 21:54:09 +02:00
Dima Gerasimov
fd41caa640
core: add __NOT_HPI_MODULE__ flag to mark utility files etc
...
(more of an intermediate solution perhaps)
2020-09-30 21:54:09 +02:00
Dima Gerasimov
3b9941e9ee
cli: add --all for doctor/modules command
2020-09-30 21:54:09 +02:00
Dima Gerasimov
4b49add746
core: more consistent module detection logic
2020-09-30 21:54:09 +02:00
Dima Gerasimov
c79ffb50f6
core: add tests for core_config
2020-09-30 21:54:09 +02:00
Dima Gerasimov
70c801f692
core: add 'core' config section, add disabled_modules/enabled_modules configs, use them for hpi modules and hpi doctor
2020-09-30 21:54:09 +02:00
Dima Gerasimov
f939daac99
ci: upload mypy coverage artifacts
2020-09-29 20:43:34 +02:00
Dima Gerasimov
dc642b5a6d
my.instapaper: add stat; add mypy checks on CI
2020-09-29 20:43:34 +02:00
Dima Gerasimov
3404b3fcf1
my.instapaper: use instapexport from PIP package
2020-09-29 20:43:34 +02:00
Dima Gerasimov
24fb983399
ci: add mypy for my.hypothesis
2020-09-29 19:44:45 +02:00
Dima Gerasimov
6199ed7916
my.hypothesis: better mypy coverage
2020-09-29 19:44:45 +02:00
Dima Gerasimov
deefa9fbbc
Use hypexport package in demo.py, clean up tox
2020-09-29 19:44:45 +02:00