jQuery AJAX based Voting or Rating System using Flask and MySQL

Introduction In this post we will see how to create voting or rating system using Flask, MySQL and AJAX. We post tutorials, articles or blogs either on our own blog site or as a guest user to other sites. Sometimes we need to let user rate on our tutorials or articles or blogs so that we know how much that…

How to send Bulk Emails with Attachments using Python and Flask

Introduction In this tutorial I will show you how to send bulk emails with attachments using Python and Flask API. Flask API will be used to build the web based application and using Python’s email library I will send the email to multiple recipients. So sending bulk emails means sending an email to multiple recipients. If you want you may…

AJAX jQuery based XChart Example using Python Flask MySQL

Introduction In this example we will see how to display data on XChart using AJAX, jQuery, Python Flask and MySQL. XChart displays different statistical data on different chart types such as column chart, bar chart, line chart, pie chart etc. This tutorial shows step by step so that we can understand how it happens. It displays the data for site…

How to deploy Python Flask MySQL based application in Heroku Cloud

Introduction In this example I will show you thorough example on how to deploy Python Flask MySQL based application in Heroku Cloud. I will use free account to use the cloud services from Heroku. I will show you how to import existing MySQL database into Heroku. I will also tell how to turn on/off the app in maintenance mode. I…

Generate PDF Report from MySQL Database using Python Flask

Introduction We will create an example on how to generate PDF report from MySQL database using Python Flask. We will create a web application using light-weight web framework called Flask. We will generate the pdf file on the fly from MySQL database in this web application. A download link will be provided on front-end or UI on which end users…

Generate Excel Report from MySQL Database using Python Flask

Introduction Here I am going to show you how to generate excel report from MySQL database using Python Flask. We will create a web application using light-weight web framework called Flask. We will generate the excel file on the fly from MySQL database in this web application. A download link will be provided on front-end or UI on which end…

Generate CSV Report from MySQL Database using Python Flask

Introduction Here I am going to show you how to generate CSV report from MySQL database using Python Flask. We will create a web application using light-weight web framework called Flask. We will generate the CSV (comma separated values) file on the fly from MySQL database in this web application. A download link will be provided on front-end or UI…

How To Download File Using Python Flask

Introduction Here I am going to show a simple example on how to download a file from web application using Python Flask. I will download the file which is kept in the server location. The file could be of any type of file, i.e., pdf, text, excel, word etc. In this example there will be a simple UI (user Interface),…

AJAX Based Login Logout Using Flask MySQL

Login Logout App I will create an example to show you how to build jQuery AJAX based login logout using Python Flask MySQL. Flask is a light-weight framework for building rapid web application whose data are stored into MySQL database server. I will use HTML, AJAX technique using jQuery technology to call the REST API for login and logout endpoints….

jQuery AJAX based Registration System using Python Flask MySQL

Introduction This guide will walk you through how to build jQuery AJAX based registration system using Python Flask MySQL. In this example I am going to build REST API that will be called from front-end technologies – jQuery, HTML including AJAX technique. I will determine registration process based on various http status codes such as 200 – success, 400 –…