An open API service indexing awesome lists of open source software.

https://github.com/shreyansh26/pyscript-flask-integration-poc

A quick PoC demonstrating how PyScript can be used with Flask to handle variables and dataframes and display analytics over them through plots.
https://github.com/shreyansh26/pyscript-flask-integration-poc

flask matplotlib numpy pandas pyscript

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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.

![](featured.png)

## Usage

Simply run the following command to run the Flask app

```
python app.py
```

Then head to `localhost:5000`.

### Huge thanks to [pyscript](https://github.com/pyscript/pyscript) for this amazing project! :clap: :clap: