import time def now_ts() -> int: return int(time.time() * 1000)