Skip to main content

pieSparrow is a stupidly simple python package to create interactive HTML frontends and dashboards from Python environment.

Project description

pieSparrow

Version - 0.1.2, Release Date - 13-Nov-22

Website | Release Notes | Docs | Examples | GitHub


piesparrow is a stupidly simple python package to create interactive HTML frontends and dashboards. It is built on top of the javascript charting library Billboard.js while harnessing the power of custom light weight Sparrow CSS framework for styling and data processing capabilities of Python through Pandas. pieSparrow Code

piesparrow - Code in Python, Present in HTML

Just import pieSparrow into your python script and perform data processingthrough Pandas as usual. When you are ready to visualize, call the relatedfunctions from pieSparrow to design your interactive dashboards and compose the HTML files by running your parent script in Python.

import piesparrow as ps

ps.init(filename = 'hello_world', title = 'Hello World !')

ps.row (
    ps.h1('Hello World')
)
Terminal:
$ python helloWorld.py
myFolder
|- helloWorld.py
|- hello_world.html

Light and Dark Themes with multiple color options

piesparrow have built in five color themes with both light and dark options, themes can also be customized using external CSS.

Themes

Simple but flexible layouts

With the power of flexible grids having intuitive rows and columns structure, you can shape your dashboards how ever you want.

ps.row (
    ps.colsm(ps.h1('This is small column.')) +
    ps.colmd(ps.h1('This is medium column.'))
)

Typography at your service

Write what you want the way you want, four heading sizes and optionality of strong text made simple.

ps.row (
    ps.h1('This is H1 Text') +
    ps.h2('This is H2 Text') +
    ps.h3('This is H3 Text') +
    ps.h4('This is H4 Text') +
    ps.p('This is paragraph text') +
    ps.bold('This is bold text') +
    ps.link('https://piesparrow.com','This is a link')
)

Built in Charts

pieSparrow comes with the capability of charts through javascript out of the box, currently Bar, Line, Spline, Area, Pie and Donut charts are available alongside Gauge and KPI visual cards. We keep adding more chart type with new releases.

data = pd.read_csv('mock_data.csv')
ps.row (
    ps.chart(
        title = 'myChart',
        df = data,
        columns = ['Month','Data 1'],
        xcolumn = 'Month',
        type = 'bar'
    )
)

Bar Graph

See the Website , Docs or Examples to learn more.


copyrights © 2022 | developed by Daniyal M, released under MIT License.

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

piesparrow-0.1.2.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

piesparrow-0.1.2-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file piesparrow-0.1.2.tar.gz.

File metadata

  • Download URL: piesparrow-0.1.2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for piesparrow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a183e4fd347af00d9358e3120c02acb98ce24e6e09a681b5769fc17faa465ac8
MD5 70978407131526a12ddd5e54b00a3b93
BLAKE2b-256 f692b7da298b7d61aae1e7a30341d4c3a3765ca919e7b427f24bb90739950def

See more details on using hashes here.

File details

Details for the file piesparrow-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: piesparrow-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for piesparrow-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 623deccfcca99b64e32bf22adc7064e92b3f7ec4c7df9d7daeb15e1fb641715a
MD5 e10be419d0c1143a8ad230561f8755a6
BLAKE2b-256 f1c7572a3d08f318631cba26af7c7e01a41c0f16d83aab25f7ec5411a37a379b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page