Skip to content
A Flask application with React frontend. This app uses React Victory Charts to demonstrate data visualization ideas.
Python HTML JavaScript Mako Dockerfile Shell CSS
Branch: master
Clone or download
Pull request Compare This branch is 11 commits ahead, 8 commits behind miguelgrinberg:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
deployment
migrations
.gitattributes
.gitignore
Dockerfile
LICENSE
Procfile
README.md
Stark_Industries.json
Vagrantfile
WayneCorp.json
babel.cfg
boot.sh
config.py
microblog.py
requirements.txt
tests.py

README.md

Flask Data Visualization:

This is the code base for my PyCon Ireland 2019 presentation.

For more information and to view my PyCon IE presentation visit my blog:

This project is a fork of Miguel Grinbergs Mocroblog project:

See bottom of README for details.

How to run:

Set environment variables:

set FLASK_APP=microblog.py

set FLASK_ENV=development

Run command:

flask run

View Finance charts:

Here are some example routes.

The development of these routes was discussed in my PyCon Ireland talk:

Company 1:

http://127.0.0.1:5000/finance/1/2018

Company 2:

http://127.0.0.1:5000/finance/2/2017

To directly view the JSON response from an aPI reuest:

http://127.0.0.1:5000/api_1_0/get_finances/1/2018

To view some chart examples:

All Victory Chart code within these routes was directly copied from: https://github.com/FormidableLabs/victory

http://127.0.0.1:5000/chart_examples

.

.

.

.

Below follows oiginal README.md:

Welcome to Microblog!

This is an example application featured in my Flask Mega-Tutorial. See the tutorial for instructions on how to work with it.

You can’t perform that action at this time.