Commit graph

21 commits

Author SHA1 Message Date
Dima Gerasimov
c45c51af22 core.common: move stats-related stuff to my.core.stats and add more thorough tests/docs
deprecate core.common.stat and core.common.Stats with backwards compatibility
2024-08-16 10:22:29 +01:00
Dima Gerasimov
973c4205df core: cleanup deprecations, exclude from type checking and show runtime warnings
among affected things:

- core.common.assert_never
- core.common.cproperty
- core.common.isoparse
- core.common.mcachew
- core.common.the
- core.common.tzdatetime
- core.compat.sqlite_backup
2024-08-16 10:22:29 +01:00
Dima Gerasimov
dff31455f1 general: switch to make_logger in a few modules, use a bit more consistent logging, rely on default INFO level 2023-06-21 18:42:15 +01:00
Dima Gerasimov
5fe21240b4 core: move mcachew into my.core.cachew; use better typing annotations (copied from cachew) 2023-06-08 01:29:49 +01:00
Dima Gerasimov
0e884fe166 core/modules: switch away from using override_config to tmp_config in some tests & faka data generators 2023-02-09 02:35:09 +00:00
Sean Breckenridge
5ecd4b4810 cleanup; remove unused imports 2021-04-02 08:38:06 +01:00
Dima Gerasimov
bfec6b975f influxdb: add helper to core + use it in bluemaestro/lastfm/rescuetime 2021-02-22 10:46:40 +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
07f901e1e5 core: helpers for automatic dataframes from sequences of NamedTuple/dataclass
also use in my.rescuetime
2021-02-14 16:20:38 +00:00
Dima Gerasimov
ced93e6942 reflect cachew changes of exception handling and temporary suppression 2020-10-08 21:22:02 +02:00
Dima Gerasimov
06ee72bc30 core: more type annotations 2020-10-03 18:24:08 +02:00
Dima Gerasimov
109edd9da3 general: add compat module and helper for easy backwards compatibiltity for pre-PIP dependencies
my.hypothesis: use hypexport as a proper PIP package + fallback
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
ef72ac3386 core: add initial config hacking helper
rescuetime: initial fake data generator
2020-09-18 23:50:40 +01:00
Dima Gerasimov
975f9dd110 rescuetime: get rid of kython, use cachew 2020-08-20 21:30:52 +01:00
Dima Gerasimov
78dbbd3c55 prettify emfit provider 2020-05-03 13:42:31 +01:00
Dima Gerasimov
e5b3a1e91e use my.config instead of mycfg; minor cleanups and docstrings 2020-04-12 00:22:10 +01:00
Dima Gerasimov
c96958be9c handle errors in my.rescuetime more carefully 2020-03-14 15:08:07 +00:00
Dima Gerasimov
066641a4ce Rename my_configuration to mycfg for brevity 2019-12-19 20:14:26 +00:00
Dima Gerasimov
cef3229d61 take hours timedelta 2019-12-01 11:40:06 +01:00
Dima Gerasimov
00007dabe6 Prettify rescuetime provider, interact with export module 2019-11-27 15:00:52 +01:00