WSGI vs ASGI: How Python Web Applications Really Work

Posted on Tue 30 December 2025 in Python • Tagged with python, api, uvicorn, gunicorn

WSGI vs ASGI: How Python Web Applications Really Work

When building Python web applications, most of us focus on the frameworks we know and love—Flask, Django, FastAPI, and the like. But here's something I've learned over the years: these frameworks don't actually handle HTTP traffic directly.

Instead, they rely …


Continue reading

Configurable Virtual Environments

Posted on Fri 12 September 2025 in Python • Tagged with python, pipenv, virtualenv

Virtual environments are essential components of any Python project. When it comes to implementing them, we consider various tools such as pipenv, requirements.txt, etc.

To cater to our project requirements, we install various packages. However, it’s important to note that some packages are only necessary for specific aspects …


Continue reading

Python Application Configuration

Posted on Fri 12 September 2025 in Python • Tagged with python, configuration, environment-variables, configparser, python-decouple, best-practices

A comprehensive guide to managing configuration and environment variables in Python applications, comparing ConfigParser and python-decouple approaches.


Continue reading