Commit graph

56 commits

Author SHA1 Message Date
Sean Breckenridge
c19cae2c88 err shouldnt happen if user has home configured 2023-02-22 19:07:58 -08:00
Sean Breckenridge
eeea347025 mypy ignore 2023-02-22 05:21:23 -08:00
Sean Breckenridge
b7d1012bf5 use estimate_location in via_home.get_location 2023-02-22 04:56:15 -08:00
Sean Breckenridge
0a48393589 add via_ip.estimate_location using binary search 2023-02-22 04:51:57 -08:00
Sean Breckenridge
7aed18042d fallback.all: create top-level import_source functions 2023-02-21 19:52:46 -08:00
Sean Breckenridge
da8f541cdc convert fallback location estimators to be iterators 2023-02-21 19:37:27 -08:00
Sean Breckenridge
43005de5e4 deprecated via_ip should still have REQUIRES 2023-02-21 02:09:15 -08:00
Sean Breckenridge
00c135c460 rename dateishexact to dateish 2023-02-21 02:02:03 -08:00
Sean Breckenridge
2fa0b5cef8 add denylist implementation 2023-02-21 01:28:53 -08:00
Sean Breckenridge
ce2a42c45a gpslogger: sort input by splitting on device id 2023-02-16 02:28:44 -08:00
Sean Breckenridge
fdfd22bef2 add datasources to gpslogger/google_takeout 2023-02-16 02:25:15 -08:00
Sean Breckenridge
36beab5f17 via_home: add accuracy, cache history 2023-02-15 22:28:07 -08:00
Sean Breckenridge
02ea0b26dd make mypy error more specific 2023-02-15 21:36:58 -08:00
Sean Breckenridge
5b8b1d3bbf remove todo 2023-02-15 21:28:48 -08:00
Sean Breckenridge
9769748939 estimate_from helper, via_home estimator, all.py 2023-02-15 21:26:05 -08:00
Sean Breckenridge
52b6acbcbf use protocol for locations 2023-02-03 18:59:41 -08:00
Sean Breckenridge
24c87e423b use __future__ annotations 2023-01-30 15:22:30 -08:00
Sean Breckenridge
31981b8f34 add fallback_locations for via_ip 2023-01-27 11:46:22 -08:00
Sean Breckenridge
f2c9715dbc add stub via_ip file 2023-01-27 11:17:35 -08:00
Sean Breckenridge
138afb68a7 add fallback model 2023-01-27 11:17:21 -08:00
Sean Breckenridge
a4468a42da move via_ip to fallback 2023-01-27 10:54:45 -08:00
Sean Breckenridge
3638964e98 move home to fallback/via_home.py 2023-01-27 10:52:24 -08:00
Sean Breckenridge
19da373a0a location: remove duplicate via_ip import 2022-05-27 22:48:14 +01:00
seanbreckenridge
2cb836181b
location: add all.py, using takeout/gpslogger/ip (#237)
* location: add all.py, using takeout/gpslogger/ip, update docs
2022-04-26 21:11:35 +01: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
5ecd4b4810 cleanup; remove unused imports 2021-04-02 08:38:06 +01:00
Sean Breckenridge
1b36bd4379 fix spelling mistakes 2021-03-28 06:53:24 +01:00
Dima Gerasimov
5ef638694e minor requirements updates 2021-03-08 00:40:19 +00:00
Dima Gerasimov
86497f9b13 new: basic arbtt module 2021-02-25 19:56:35 +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
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
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
ced93e6942 reflect cachew changes of exception handling and temporary suppression 2020-10-08 21:22:02 +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
efea669a3e my.location: some cleanup and speedups 2020-09-09 21:37:15 +01:00
Dima Gerasimov
c54d85037c core: add base cachew directory 2020-07-31 12:22:13 +01: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
Dima Gerasimov
60ccca52ad more takeout tweaks and comments 2020-04-24 15:57:44 +01:00
Dima Gerasimov
1273b0ca61 update docstrings 2020-04-13 23:48:58 +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
d6a5795be5 use mcachew 2020-02-26 22:31:44 +01:00
Dima Gerasimov
a665cf528c use lazylogger 2020-02-26 22:24:41 +01:00
Dima Gerasimov
f71ff39aad Fix separate takeout archives for location provider 2020-02-26 22:02:55 +01:00