Moved printing into its own separate project called frank. It also has its own toml and deployement system.

It also works on a raspberry pi
This commit is contained in:
2021-03-23 18:18:33 +05:30
parent 0b30ce258c
commit f4caa19bb2
17 changed files with 184 additions and 67 deletions

16
frank/config.py Normal file
View File

@ -0,0 +1,16 @@
from dotenv import load_dotenv
from pydantic import BaseSettings
class Settings(BaseSettings):
REDIS_HOST: str = "127.0.0.1"
REDIS_PORT: int = 6379
QUEUE_NAME: str = "arq:queue"
class Config:
case_sensitive = True
env_file = ".env"
load_dotenv()
settings = Settings()