stolichki/main.py

17 lines
375 B
Python

import sys
from loguru import logger
from stolichki.parsers.city import CityParser
from stolichki.types.city import City
@logger.catch
def main():
city = City(111, "Бутово", 1, [])
result = CityParser(city).parse()
print(result)
if __name__ == "__main__":
logger.add(sys.stderr, level="DEBUG", backtrace=True, enqueue=True) #type: ignore
main()