Django, Flask, FastAPI and aiogram
-
Initial Practice for Telegram bot using aiogram library
- Features include periodic time reports,
/timecommand,/pickcommand, and echo handler.
- Features include periodic time reports,
-
Development Environment
- Python 3.8.17 / aiogram 3.5.0 / python-dotenv 1.0.0 in local environment.
-
How to Run
- Installation :
pip install -r requirements.txt - Set environment variables in
.envfile:BOT_TOKENandUSER_ID - Run :
python ./main.py
- Installation :
-
Initial Practice of Flask and FastAPI
- Flask is simple but FastAPI supports asynchronous programming.
- The results are absolutely the same.
-
Development Environment
- Python 3.8.17 / Flask 3.0.3 / fastapi 0.111.0 / Jinja2 3.1.4 in Replit
-
How to Run
- Flask
- Installation :
pip install Flask - Run :
flask runorpython app.py
- Installation :
- FastAPI
- Installation :
pip install fastapi uvicorn jinja2 - Run :
fastapi runorpython main.py
- Installation :
- Flask

