![pieSparrow](https://piesparrow.itsdaniyalm.com/images/logo_button.png)
Version - 0.1.2, Release Date - 13-Nov-22
[Website](https://piesparrow.itsdaniyalm.com) | [Release Notes](https://piesparrow.itsdaniyalm.com/release_notes.html) | [Docs](https://piesparrow.itsdaniyalm.com/docs.html) | [Examples](https://piesparrow.itsdaniyalm.com/examples.html) | [GitHub](https://github.com/itsdaniyalm/piesparrow)
---
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](https://piesparrow.itsdaniyalm.com/images/header_new.png)
## 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](https://piesparrow.itsdaniyalm.com/images/chart_themes.png)
## 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](https://piesparrow.itsdaniyalm.com/images/readme_graph.png)
---
See the [Website](https://piesparrow.itsdaniyalm.com) , [Docs](https://piesparrow.itsdaniyalm.com/docs.html) or [Examples](https://piesparrow.itsdaniyalm.com/examples.html) to learn more.
---
copyrights © 2022 | developed by [Daniyal M](https://itsdaniyalm.com), released under MIT License.
Raw data
{
"_id": null,
"home_page": "",
"name": "piesparrow",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "python,html,frontend,dashboard,data analysis,visualization,website,charts,javascript",
"author": "",
"author_email": "Daniyal M <hello@itsdaniyalm.com>",
"download_url": "https://files.pythonhosted.org/packages/f6/92/b7da298b7d61aae1e7a30341d4c3a3765ca919e7b427f24bb90739950def/piesparrow-0.1.2.tar.gz",
"platform": null,
"description": "![pieSparrow](https://piesparrow.itsdaniyalm.com/images/logo_button.png) \r\n\r\n\r\nVersion - 0.1.2, Release Date - 13-Nov-22\r\n\r\n[Website](https://piesparrow.itsdaniyalm.com) | [Release Notes](https://piesparrow.itsdaniyalm.com/release_notes.html) | [Docs](https://piesparrow.itsdaniyalm.com/docs.html) | [Examples](https://piesparrow.itsdaniyalm.com/examples.html) | [GitHub](https://github.com/itsdaniyalm/piesparrow)\r\n\r\n---\r\npiesparrow 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.\r\n![pieSparrow Code](https://piesparrow.itsdaniyalm.com/images/header_new.png)\r\n\r\n## piesparrow - Code in Python, Present in HTML\r\nJust 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.\r\n\r\n```\r\nimport piesparrow as ps\r\n\r\nps.init(filename = 'hello_world', title = 'Hello World !')\r\n\r\nps.row (\r\n ps.h1('Hello World')\r\n)\r\n```\r\n```\r\nTerminal:\r\n$ python helloWorld.py\r\n```\r\n```\r\nmyFolder\r\n|- helloWorld.py\r\n|- hello_world.html\r\n```\r\n## Light and Dark Themes with multiple color options\r\npiesparrow have built in five color themes with both light and dark options, themes can also be customized using external CSS.\r\n\r\n![Themes](https://piesparrow.itsdaniyalm.com/images/chart_themes.png) \r\n\r\n## Simple but flexible layouts\r\nWith the power of flexible grids having intuitive rows and columns structure, you can shape your dashboards how ever you want.\r\n\r\n```\r\nps.row (\r\n ps.colsm(ps.h1('This is small column.')) +\r\n ps.colmd(ps.h1('This is medium column.'))\r\n)\r\n```\r\n## Typography at your service\r\nWrite what you want the way you want, four heading sizes and optionality of strong text made simple.\r\n\r\n```\r\nps.row (\r\n ps.h1('This is H1 Text') +\r\n ps.h2('This is H2 Text') +\r\n ps.h3('This is H3 Text') +\r\n ps.h4('This is H4 Text') +\r\n ps.p('This is paragraph text') +\r\n ps.bold('This is bold text') +\r\n ps.link('https://piesparrow.com','This is a link')\r\n)\r\n```\r\n## Built in Charts\r\npieSparrow 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.\r\n```\r\ndata = pd.read_csv('mock_data.csv')\r\nps.row (\r\n ps.chart(\r\n title = 'myChart',\r\n df = data,\r\n columns = ['Month','Data 1'],\r\n xcolumn = 'Month',\r\n type = 'bar'\r\n )\r\n)\r\n```\r\n![Bar Graph](https://piesparrow.itsdaniyalm.com/images/readme_graph.png) \r\n---\r\nSee the [Website](https://piesparrow.itsdaniyalm.com) , [Docs](https://piesparrow.itsdaniyalm.com/docs.html) or [Examples](https://piesparrow.itsdaniyalm.com/examples.html) to learn more.\r\n\r\n---\r\ncopyrights \u00a9 2022 | developed by [Daniyal M](https://itsdaniyalm.com), released under MIT License.\r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "pieSparrow is a stupidly simple python package to create interactive HTML frontends and dashboards from Python environment.",
"version": "0.1.2",
"split_keywords": [
"python",
"html",
"frontend",
"dashboard",
"data analysis",
"visualization",
"website",
"charts",
"javascript"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "e10be419d0c1143a8ad230561f8755a6",
"sha256": "623deccfcca99b64e32bf22adc7064e92b3f7ec4c7df9d7daeb15e1fb641715a"
},
"downloads": -1,
"filename": "piesparrow-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e10be419d0c1143a8ad230561f8755a6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 11531,
"upload_time": "2022-12-13T08:51:19",
"upload_time_iso_8601": "2022-12-13T08:51:19.769242Z",
"url": "https://files.pythonhosted.org/packages/f1/c7/572a3d08f318631cba26af7c7e01a41c0f16d83aab25f7ec5411a37a379b/piesparrow-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "70978407131526a12ddd5e54b00a3b93",
"sha256": "a183e4fd347af00d9358e3120c02acb98ce24e6e09a681b5769fc17faa465ac8"
},
"downloads": -1,
"filename": "piesparrow-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "70978407131526a12ddd5e54b00a3b93",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 7368,
"upload_time": "2022-12-13T08:51:21",
"upload_time_iso_8601": "2022-12-13T08:51:21.375616Z",
"url": "https://files.pythonhosted.org/packages/f6/92/b7da298b7d61aae1e7a30341d4c3a3765ca919e7b427f24bb90739950def/piesparrow-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-13 08:51:21",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "piesparrow"
}