Categories
Python

How to redirect URL in Flask Python with example

In this tutorial we are going to walk through simple steps on how to redirect an URL in Flask Python with HTTP status code. Before we start make sure that you import the redirect section from flask module Redirect With Status Code Below is an example on how to redirect an application route with status […]

Categories
Python

How to connect MySQL using Flask Python

Last updated on June 22nd, 2022 at 02:27 pmIn this tutorial we will deep dive in to how to establish connection between Python Flask and MySQL . In order to make things simpler lets do a step by step approach What is Flask Python? Install flask extensions to connect to MySQL Connecting to MySQL using […]

Categories
AWS Python

How to get temporary credentials using Python AWS IAM

Last updated on May 31st, 2022 at 08:27 amIn this tutorial we are going to see how to write a simple python script to generate temporary credentials from STS. There are two examples below on how to use those temporary credentials one is how to list objects inside an S3 bucket and other is launching […]

Categories
AWS Python Serverless

How to build serverless web app in Python using AWS Lambda API Gateway

Last updated on March 28th, 2022 at 01:55 pmIn this tutorial we are going to talk more about how to deploy a simple Python web application in AWS Lambda and access it through AWS API Gateway. We are using greedy path variable in API gateway to configure routes and integrated API Gateway with Lambda. Both […]