Amal is a full-stack developer interested in deep learning for computer vision and autonomous vehicles. He enjoys working with Python, PyTorch, Go, FastAPI, and Docker. He writes to learn and is a professional introvert.
Add session-based authentication to a Single-Page Application (SPA) powered by Flask and Svelte.
This article looks at what CSRF is and how to prevent a CSRF attack in Flask.
How property-based testing via Hypothesis and Schemathesis can be used to test FastAPI
This post looks at how to speed up CPU-bound and IO-bound operations with multiprocessing, threading, and AsyncIO.
Interested in moving from Flask to FastAPI? This article compares and contrasts common patterns in both Flask and FastAPI.
Serve up a style transfer machine learning model with FastAPI and Streamlit.