Open in app

Sign In

Write

Sign In

Ahmed Nafies
Ahmed Nafies

310 Followers

Home

About

Mar 28, 2022

[Tutorial] FastAPI with SQLAlchemy Async ORM and Alembic

If you go through the FastAPI docs, you will see that the recommended way to use SQLAlchemy asynchronously is by using the package databases and SQLAlchemy core since SQLAlchemy ORM did not have support for async operations. I have already created a tutorial describing how to use FastAPI with databases…

Python

6 min read

[Tutorial]FastAPI with SQLAlchemy Async ORM and Alembic
[Tutorial]FastAPI with SQLAlchemy Async ORM and Alembic
Python

6 min read


May 23, 2021

SQLAlchemy Async ORM is Finally Here!

[Tutorial] Here is how to work with the new async SQLAlchemy ORM I think the whole python web development community has been waiting for this change for a while and I personally was extremely happy to hear about the long awaited async orm functionality in SQLAlchemy when the beta version…

Python

5 min read

SQLAlchemy Async ORM is Finally Here!
SQLAlchemy Async ORM is Finally Here!
Python

5 min read


Oct 23, 2020

Python With Docker-Compose | FastAPI [Part-2]

Simplify your web development with docker and docker-compose Intro In this article we will cover how to create a python based REST API and utilise docker-compose to improve both development and production. However before you start reading this article, I would recommend understanding how to use python with docker in part-1. Docker Compose …

Programming

4 min read

Python With Docker-Compose | FastAPI [Part-2]
Python With Docker-Compose | FastAPI [Part-2]
Programming

4 min read


Oct 22, 2020

Python With Docker | FastAPI [Part-1]

Simplify your python web-development with FastAPI and docker — Intro In any web development project, you would usually have many components, a database or multiple databases, a cronjob, a backend, a frontend.. etc. Setting up databases takes time and in case of change for example moving away from Postgres to MariaDB would require uninstalling Postgres and installing MariaDB. Let’s say…

Programming

6 min read

Python With Docker | FastAPI [Part-1]
Python With Docker | FastAPI [Part-1]
Programming

6 min read


Jul 29, 2020

Pip, Pipenv, Poetry or Conda

Which package manager to use in 2020? Intro The majority of developers when they get introduced to python, most probably pip is first tool they learn to use to manage packages. …

Python

6 min read

Pip, Pipenv, Poetry or Conda
Pip, Pipenv, Poetry or Conda
Python

6 min read


Jul 21, 2020

FastAPI with SQLAlchemy, PostgreSQL, Alembic and Docker [Part-2] (asynchronous version)

Intro The purpose of this article is to create a simple guide on how to use FastAPI with relational databases asynchronously and use Alembic for migrations. Before you go ahead with this tutorial please check part-1. Here is the full working code on github Update! SQLAlchemy ORM now has support for…

Python

3 min read

[Tutorial] FastAPI SQLAlchemy, PostgreSQL, Alembic and Docker Part-2 (asynchronous version)
[Tutorial] FastAPI SQLAlchemy, PostgreSQL, Alembic and Docker Part-2 (asynchronous version)
Python

3 min read


Jun 17, 2020

Parsing REST API Payload and Query Parameters With Flask.

The easiest way for parsing request payload and query parameters Intro For a very long time Flask was my first choice of framework when it came to building micro-services (until python 3.6 and async/await came to life). I have used Flask with a different number of extensions depending on the situation…

Flask

3 min read

Parsing REST API Payload and Query Parameters With Flask.
Parsing REST API Payload and Query Parameters With Flask.
Flask

3 min read


Mar 12, 2020

Getting Corona Virus (COVID-19) Stats Using Python

The easiest way to get corona virus current statistics using python, data is based on John Hopkins University. Intro The corona virus is spreading in an unexpectedly unstoppable way. There are great efforts being done to stop the spread of this virus. I wanted to be a part of this and…

Python

2 min read

Getting Corona Virus (COVID-19) stats using Python
Getting Corona Virus (COVID-19) stats using Python
Python

2 min read


Mar 5, 2020

My Top 10 Visual Studio Code Extensions for Python in 2020

This is my top 10 list of visual studio code extensions in 2020 for python. 1. Python extension for Visual Studio Code by Microsoft Python A Visual Studio Code extension with rich support for the Python language (for all actively supported versions of the…marketplace.visualstudio.com

Python

4 min read

My Top 10 Visual Studio Code Extensions for Python in 2020
My Top 10 Visual Studio Code Extensions for Python in 2020
Python

4 min read


Mar 4, 2020

Code Documentation of the Future — MkDocs-Material Tutorial

Tutorial for Mkdocs with material theme and hosting on github pages Intro Everyone loves frameworks and packages that have a good documentation. There are a lot of frameworks that I love their documentation, for example Django, React, Angular and many more. However, FastAPI and Pyndatic specially stood out from the rest…

Python

3 min read

Code Documentation of the Future — MkDocs-Material Tutorial
Code Documentation of the Future — MkDocs-Material Tutorial
Python

3 min read

Ahmed Nafies

Ahmed Nafies

310 Followers

Software Developer

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech