Began work on main.py + Cleaned up requirements.txt
This commit is contained in:
parent
564abcb371
commit
e1e0d7b230
18
main.py
18
main.py
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user