Initial fork commit

This commit is contained in:
2025-09-06 22:03:29 -04:00
commit 2d238cd339
1748 changed files with 932506 additions and 0 deletions

10
scripts/geodata/log.py Normal file
View File

@@ -0,0 +1,10 @@
import logging
import sys
def log_to_file(f, level=logging.INFO):
handler = logging.StreamHandler(f)
formatter = logging.Formatter('%(asctime)s %(levelname)s [%(name)s]: %(message)s')
handler.setFormatter(formatter)
logging.root.addHandler(handler)
logging.root.setLevel(level)