Skip to main content

Render chart from data

Project description

PyPI version Build Status codecov Codacy Badge

This is a web app designed to crunch data into charts, maybe like a dashboard.


Version 1

For this version the goals were:

  • Create an API in python that can be customized easily (finding an implenting a framework)

  • Provide a flexible api that can render csv files into charts (only basic ones will work)

    • Have the possibility to render more than one chart per page

    • Have the possibility to color the charts automatically

  • Provide an endpoint so that you can use http request to get the csv data into json

  • Provide an html view of the csv data

  • Have a start with SQL compatibilities

  • Have all functionality developed using TDD (test driven development) as much as possible


You can have a demo available at localhost:5001

python charpy/


Used for this project:


  • Flask - base of the microservice (Jinja2 for templating)

  • SQLAlchemy - for SQL database manipulation (not really implemented at the moment)

  • Pandas - for the dataframe object and data manipulation

  • dateutils - for the date and time parser


  • Chart.js - for displaying the charts

Other Alternatives

I want to display other alternatives because well, this is a bit missing in feature as of now, and you might want to know what is being developed and maintained.

  • plotly - Dash: flask framework using react and plotpy to display charts in a nice dashboard.

  • anaconda - Bokeh depends on Jinja2 for templating, bokeh server and js library for chart

  • jwkvam - bowtie:, flask and react to create dashboard

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

charpy-1.0.0.tar.gz (18.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page