charpy

Web app to display data

MIT License

Downloads
495
Stars
2

Charpy

|PyPI version| |Build Status| |codecov| |Codacy Badge|

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

Release

Version 1


For this version the goals were:

-  Create an API in python that can be customized easily (finding and
   implementing 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

Demo
----

You can have a demo available at
`localhost:5001 <http://127.0.0.1:5001/>`__

.. code:: bash

    python charpy/factory.py

Dependencies
------------

Used for this project:

Python
~~~~~~

-  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

Javascript
  • 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 <https://github.com/plotly/dash>__: flask framework
    using react and plotpy to display charts in a nice dashboard.
  • anaconda - Bokeh <https://github.com/bokeh/bokeh/>__ depends on
    Jinja2 for templating, bokeh server and js library for chart
  • jwkvam - bowtie <https://github.com/jwkvam/bowtie>__: sockets.io,
    flask and react to create dashboard

.. |PyPI version| image:: https://badge.fury.io/py/charpy.svg :target: https://badge.fury.io/py/charpy .. |Build Status| image:: https://travis-ci.org/sylhare/charpy.svg?branch=master :target: https://travis-ci.org/sylhare/charpy .. |codecov| image:: https://codecov.io/gh/sylhare/charpy/branch/master/graph/badge.svg :target: https://codecov.io/gh/sylhare/charpy .. |Codacy Badge| image:: https://api.codacy.com/project/badge/Grade/7ecd2366da08459aa8c7af9c489dc65c :target: https://www.codacy.com/app/sylhare/charpy?utm_source=github.com&utm_medium=referral&utm_content=sylhare/charpy&utm_campaign=Badge_Grade

Package Rankings
Top 21.04% on Pypi.org