seanbreckenridge
7bf316eb9a
core/source: use import error ( #211 )
...
core/source: use import error
uses the more broad ImportError
instead of ModuleNotFoundError
reasoning being if some submodule
(the one I'm configuring currently is
my.twitter.twint) doesn't have additional
imports from another parser/DAL, but it
still has a config block, the user would
have to create a stub-config block in their
config to use the all.py file
2022-02-10 08:57:52 +00:00
Sean Breckenridge
7493770d4d
core: remove vendorized py37 isoformat code
2022-01-27 19:25:42 +00:00
Sean Breckenridge
fb49243005
core: add hpi query command ( #157 )
...
- restructure query code for cli, some test fixes
- initial query_range implementation
refactored functions in query some more
to allow re-use in range_range, select()
pretty much just calls out to a bunch
of handlers now
2021-04-06 17:19:58 +01:00
Sean Breckenridge
eb26cf8633
my.core.serialize: orjson with additional default and _serialize hook ( #140 )
...
basic orjson serialize, json.dumps fallback
Lots of surrounding changes from this discussion:
0593c69056
2021-03-20 00:48:03 +00:00
Dima Gerasimov
4012f9b7c2
core: more generic functions to jsonify data, rescuetime: fix influxdb filling
2021-02-14 16:20:38 +00:00
Dima Gerasimov
3a9e3e080f
my.time.tz: implement different policies for localizing
2020-11-01 01:51:10 +01:00
Dima Gerasimov
831fee42a1
core: minor error handling tweaks
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
ced93e6942
reflect cachew changes of exception handling and temporary suppression
2020-10-08 21:22:02 +02:00
Dima Gerasimov
6199ed7916
my.hypothesis: better mypy coverage
2020-09-29 19:44:45 +02:00
Dima Gerasimov
28fcc1d9b6
my.rescuetime: use rescuexport directly, add error handling & dataframe
2020-09-18 23:50:40 +01:00
Dima Gerasimov
63b848087d
my.jawbone: minor cleanup & refactoring, proper error propagation
2020-09-17 21:39:14 +01:00
Dima Gerasimov
99e50f0afe
core: experiments with attaching datetime information to errors
...
my.body.weigth: put datetime information in the error rows
2020-09-09 21:37:15 +01:00
Dima Gerasimov
6ecb953675
cleanup, mypy coverage & add common/error stubs
2020-05-06 22:54:14 +01:00
Dima Gerasimov
15444c7b1f
move common/error to my.core
2020-05-06 22:36:29 +01:00