HPI/my/core
seanbreckenridge 98b086f746
location fallback (#263)
see https://github.com/karlicoss/HPI/issues/262

* move home to fallback/via_home.py
* move via_ip to fallback
* add fallback model
* add stub via_ip file
* add fallback_locations for via_ip
* use protocol for locations
* estimate_from helper, via_home estimator, all.py
* via_home: add accuracy, cache history
* add datasources to gpslogger/google_takeout
* tz/via_location.py: update import to fallback
* denylist docs/installation instructions
* tz.via_location: let user customize cachew refresh time
* add via_ip.estimate_location using binary search
* use estimate_location in via_home.get_location
* tests: add gpslogger to location config stub
* tests: install tz related libs in test env
* tz: add regression test for broken windows dates

* vendorize bisect_left from python src
doesnt have a 'key' parameter till python3.10
2023-02-28 04:30:06 +00:00
..
__init__.py general: initial flake8 checks (for now manual) 2022-06-05 22:28:38 +01:00
__main__.py core: make hpi install more defensive, just warn on no requirements 2023-02-07 01:57:00 +00:00
cachew.py general: initial flake8 checks (for now manual) 2022-06-05 22:28:38 +01:00
cfg.py 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
common.py fix mypy in _identity 2022-10-19 00:06:23 +01:00
compat.py location fallback (#263) 2023-02-28 04:30:06 +00:00
core_config.py 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
dataset.py core/general: add assert_never + typing annotations for dataset 2022-06-03 23:49:27 +01:00
denylist.py location fallback (#263) 2023-02-28 04:30:06 +00:00
discovery_pure.py core: allow legacy modules to be used in 'hpi module install' for backwards compatibility 2022-06-07 22:59:08 +01:00
error.py source: propogate help url for config errors 2022-06-07 21:33:38 +01:00
freezer.py fix mypy errors 2021-03-22 06:34:07 +00:00
influxdb.py general: initial flake8 checks (for now manual) 2022-06-05 22:28:38 +01:00
init.py core: some cleanup for core/init and doctor; fix issue with compileall 2022-06-02 14:21:21 +01:00
kompress.py general: initial flake8 checks (for now manual) 2022-06-05 22:28:38 +01:00
konsume.py general: initial flake8 checks (for now manual) 2022-06-05 22:28:38 +01:00
legacy.py general: extract the hack to warn of legacy imports and fallback to core/legacy.py 2022-06-01 23:27:34 +01:00
logging.py fix spelling mistakes 2021-03-28 06:53:24 +01:00
orgmode.py general: fix mypy errors after mypy and pytz stubs updates 2021-12-19 18:53:29 +00:00
pandas.py general: initial flake8 checks (for now manual) 2022-06-05 22:28:38 +01:00
preinit.py cli: add 'config init' command 2020-05-25 12:25:41 +01:00
query.py general: initial flake8 checks (for now manual) 2022-06-05 22:28:38 +01:00
query_range.py general: initial flake8 checks (for now manual) 2022-06-05 22:28:38 +01:00
serialize.py core/serialize: serialize stdlib Decimal class 2022-10-19 00:07:30 +01:00
source.py source: propogate help url for config errors 2022-06-07 21:33:38 +01:00
sqlite.py my.telegram: initial module from telegram_backup 2023-02-19 01:20:38 +00:00
stats.py general: initial flake8 checks (for now manual) 2022-06-05 22:28:38 +01:00
structure.py core/structure: use logger, warn leftover files 2022-02-14 19:34:03 +00:00
time.py twitter.twint: localize timestamps correctly 2022-05-31 01:28:11 +01:00
util.py general: initial flake8 checks (for now manual) 2022-06-05 22:28:38 +01:00
warnings.py general: initial flake8 checks (for now manual) 2022-06-05 22:28:38 +01:00