new: basic arbtt module

This commit is contained in:
Dima Gerasimov 2021-02-22 19:54:28 +00:00 committed by karlicoss
parent ad924ebca8
commit 86497f9b13
7 changed files with 107 additions and 3 deletions

View file

@ -41,6 +41,7 @@ TsLatLon = Tuple[int, int, int]
def _iter_via_ijson(fo) -> Iterable[TsLatLon]:
# ijson version takes 25 seconds for 1M items (without processing)
# todo extract to common?
try:
# pip3 install ijson cffi
import ijson.backends.yajl2_cffi as ijson # type: ignore