AKArun K Somaninarunksoman.hashnode.dev路Oct 29, 2021 路 4 min readFastAPI Flashing Message like FlaskFastAPI is an ASGI framework for Python. Nowadays FastAPI is used a lot for creating fast, self-documented APIs. It also gives flexibility for Python programmers to use modern Python syntax like the type hinting. FastAPI integration with the template...01G
AKArun K Somaninarunksoman.hashnode.dev路Jul 18, 2021 路 4 min readSQLAlchemy Instead Flask-SQLAlchemy 馃: Part 1Let us extend the codes written in previous post. Here I will create a new directory called Models. In the Models directory, I will create a simple model called User in order to explain why I use SQLAlchemy over Flask-SQLAlchemy in upcoming projects...00
AKArun K Somaninarunksoman.hashnode.dev路Jul 17, 2021 路 3 min readDockerizing Flask Applicationinstalling Necessary Packages We have to create a virtual environment first. So run the following command: $ python -m venv venv Then activate the virtual environment using: For windows .\venv\Scripts\activate For Linux source venv/bin/activate Up...00
AKArun K Somaninarunksoman.hashnode.dev路Jul 10, 2021 路 4 min readFlask: URL RoutingFlask is an amazing python backend framework that gives lots of flexibility for developers. Here we are discussing different ways to do URL routing. In my opinion, we can classify Flask's view into two: Function-Based Views and Class-Based Views/ Pl...00