Flask example 1

from flask import Flask, request, render_template

app = Flask(__name__)

def my_form():
    return render_template('my-form.html')

@app.route('/', methods=['POST'])
def my_form_post():
    text = request.form['text']
    processed_text = text.upper()
    return processed_text

if __name__ == '__main__':
    app.run(host='localhost', port=80)

Request registration plate data:

import requests

url = "https://opendata.rdw.nl/resource/m9d7-ebf2.json"
plate = 'GB224X' #str(input("Enter registration number plate..."))
querystring = {}
querystring["kenteken"] = plate
#querystring = {"kenteken":"GB224X"}

headers = {
    'User-Agent': "PostmanRuntime/7.20.1",
    'Accept': "*/*",
    'Cache-Control': "no-cache",
    'Postman-Token': "43d07009-34de-4c57-99d9-af76e648cd9b,f85a65e3-2d6f-47df-813e-d4d592abff65",
    'Host': "opendata.rdw.nl",
    'Accept-Encoding': "gzip, deflate",
    'Connection': "keep-alive"

def rdw():
    response = requests.request("GET", url, headers=headers, params=querystring)
    data = response.text
    return data

Pandas & Seaborn – A guide to handle & visualize data in Python | Tryolabs Blog

An overview of Pandas, a Python library, which is old but gold and a must-know if you’re attempting to do any work with data in the Python world, and a glance of Seaborn, a Python library for making statistical visualizations. Read more about it in this blog post!