Began work on main.py + Cleaned up requirements.txt

This commit is contained in:
Uthman Fatih 2025-10-12 20:29:51 +01:00
parent 564abcb371
commit e1e0d7b230
2 changed files with 27 additions and 1 deletions

18
main.py
View File

@ -4,3 +4,21 @@
# | |/ // // /_/ // // /___
# |___/___/\____/___/_____/
# © Uthmn 2025 under MIT license
import time
import services.apt
import services.mail
from dotenv import load_dotenv
from os import getenv
from os.path import dirname, join
# Load environment variables from .env file
dotenv_path = join(dirname(__file__), ".env")
load_dotenv(dotenv_path)
# TODO: Flag --now to run temporarily and just execute hourly tasks instantly then exit
# TODO: Logging
# TODO: Email alerts + structure
# TODO: Use typer for CLI

View File

@ -1,2 +1,10 @@
click==8.3.0
dotenv==0.9.9
markdown-it-py==4.0.0
mdurl==0.1.2
Pygments==2.19.2
python-dotenv==1.1.1
rich==14.2.0
shellingham==1.5.4
typer==0.19.2
typing_extensions==4.15.0