import os import logging from dotenv import load_dotenv load_dotenv() DB_HOST = os.environ.get("DB_HOST") DB_PORT = os.environ.get("DB_PORT") DB_NAME = os.environ.get("DB_NAME") DB_USER = os.environ.get("DB_USER") DB_PASS = os.environ.get("DB_PASS") SECRET_AUTH_TOKEN = os.environ.get("SECRET_AUTH_TOKEN") SECRET_VERIFICATE_TOKEN = os.environ.get("SECRET_VERIFICATE_TOKEN") DEVICE_START_COUNTER = os.environ.get("DEVICE_START_COUNTER") logging.getLogger('passlib').setLevel(logging.ERROR)