[Tutor] How to generate Dashboard kind of report using python.

Alan Gauld alan.gauld at yahoo.co.uk
Mon Nov 23 20:34:12 EST 2020


On 24/11/2020 00:31, Venku Prasad wrote:

> I am new to python and need to generate dashboard kind of reports using
> python.

Normally dashboards are web pages these days and that means you
code the UI in Javascript using AJAX calls to a backend server. The
server application could be written in Python and would serve
up a dataset of some kind(a tuple of dicts for example)
formatted in JSON.

> I need to keep report side by side bar chart,pie chart along with detail
> report.
> Please find attached sample data.

This is a text only list so any kind of binary attachment
(Word doc, screenshot etc) gets stripped by the server
for security reasons.

If you are building a desktop app then the UI will depend
to some extent on the GUI framework you choose
 - Tkinter, wxPython, GTk, Qt etc.

There are tools for generating the graphs (eg gnuplot,
matplotlib etc), usually these can be presented on a
canvas in your GUI. But so much depends on the nature
of your app and the GUI framework and even how the data
is stored and managed - SQL or noSQL, R Dataframes, Flat files...

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list