Dima Gerasimov
c08ddbc781
general: small updates for typing while trying out pyright
2024-08-28 04:06:32 +01:00
Dima Gerasimov
9e72672b4f
legacy google takeout: fix timezone localization
2024-08-03 16:50:09 +01:00
karlicoss
8c2d1c9463
general: use less explicit kompress boilerplate in modules
...
now get_files/kompress library can handle it transparently
2023-10-20 21:13:59 +01:00
Dima Gerasimov
c12224af74
misc: replace uses of pytz.utc with timezone.utc where it makes sense
2023-06-09 03:31:13 +01:00
Sean Breckenridge
5ecd4b4810
cleanup; remove unused imports
2021-04-02 08:38:06 +01:00
Dima Gerasimov
ce157c47cc
google.takeout: support another reported time format
...
https://github.com/karlicoss/HPI/issues/114
2021-03-08 00:40:19 +00:00
Dima Gerasimov
1fd2a9f643
core/time: more flexible support for resolving TZ abbreviation -> TZ ambiguities
...
addresses https://github.com/karlicoss/HPI/issues/103
for now via experimental time.tz.force_abbreviations config variable
not sure if this whole things is doomed to be resolved properly
2021-03-08 00:40:19 +00:00
Dima Gerasimov
15789a4149
kyhton.kompress: move to core (with a fallback, used in promnesia)
2020-10-29 03:13:18 +01: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
8b8a85e8c3
kompress.kopen improvements
...
- tests
- uniform handling for bytes/str, always return utf8 str by default
2020-05-04 08:37:36 +01:00
Dima Gerasimov
51ae8601b4
Update docstrings and add links
2020-04-26 16:50:06 +01:00
Dima Gerasimov
a84b51807f
more takeout to a separate subpackage
2020-04-24 18:10:33 +01:00