Skip to content

shreyansh26/PyScript-Flask-Integration-PoC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyScript-Flask Integration PoC

The PoC aims to show how to use PyScript with Flask. The Flask server sends some data to the template, PyScript reads it using Pandas and makes a Matplotlib plot on the data. Additionally, I also show how more plots can be displayed on the webpage easily through the PyScript support for Numpy and Matplotlib.

Usage

Simply run the following command to run the Flask app

python app.py

Then head to localhost:5000.

Huge thanks to pyscript for this amazing project! 👏 👏

About

A quick PoC demonstrating how PyScript can be used with Flask to handle variables and dataframes and display analytics over them through plots.

Topics

Resources

License

Stars

Watchers

Forks