Dima Gerasimov
7bfce72b7c
core: cleanup/sort imports according to ruff check --select I
2024-08-16 11:38:13 +01:00
Dima Gerasimov
7023088d13
core.common: deprecate outdated LazyLogger alias
2024-08-16 10:22:29 +01:00
Dima Gerasimov
614c929f95
core.common: move Json, datetime_aware, datetime_naive, is_namedtuple, asdict to my.core.types
2024-08-16 10:22:29 +01:00
Dima Gerasimov
7f8a502310
core.common: move assert_subpackage to my.core.internal
2024-08-16 10:22:29 +01:00
Dima Gerasimov
016f28250b
general: initial flake8 checks (for now manual)
...
fix fairly uncontroversial stuff in my.core like
- line spacing, which isn't too annoying (e.g. unlike many inline whitespace checks that break vertical formatting)
- unused imports/variables
- too broad except
2022-06-05 22:28:38 +01:00
Dima Gerasimov
68019c80db
core/influx: reuse _locate_functions_or_prompt to choose the data provider
2021-04-27 20:10:10 +01:00
Dima Gerasimov
0517f7ffb8
core/influxdb: add main method to create influx measurement and fill with values
...
allows running something like
python3 -m my.core.influxdb populate my.zotero
2021-04-27 20:10:10 +01:00
Sean Breckenridge
1b36bd4379
fix spelling mistakes
2021-03-28 06:53:24 +01:00
Dima Gerasimov
0585cc4a89
arbtt: feed data to influxdb
2021-02-25 19:56:35 +00:00
Dima Gerasimov
20585a3130
influxdb: WIP on magic automatic interface
...
to run:
python3 -c 'import my.core.influxdb as I; import my.hypothesis as H; I.magic_fill(H.highlights)'
2021-02-22 10:46:40 +00:00
Dima Gerasimov
bfec6b975f
influxdb: add helper to core + use it in bluemaestro/lastfm/rescuetime
2021-02-22 10:46:40 +00:00