Name | dashboard-builder JSON |
Version |
0.4.7
JSON |
| download |
home_page | |
Summary | A lightweight dashboard builder for data scientists. |
upload_time | 2023-10-13 17:01:55 |
maintainer | |
docs_url | None |
author | Hants Williams |
requires_python | >=3.9,<3.13 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Dashboard Builder
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
![Ruff Linting](https://github.com/hantswilliams/dashboard-builder/actions/workflows/ruff.yml/badge.svg)
![Google Doc Strings](https://img.shields.io/badge/Doc_Strings-Google-blue)
![Truffle Hog](https://github.com/hantswilliams/dashboard-builder/actions/workflows/trufflehog.yml/badge.svg)
[![Lisence: apache-2](https://img.shields.io/badge/Lisence:-Apache%202-red)](https://github.com/apache/.github/blob/main/LICENSE)
**[Documentation](https://dashboardbuilder.appliedhealthinformatics.com/)**
The `dashboard-builder` is a Python package designed to help you create interactive web dashboards with minimal effort, while still giving you *full access* to the underlining web framework supporting it - which is [Flask](https://flask.palletsprojects.com/). So whether you're looking to visualize datasets, create dynamic reports, or provide interactive analytics, this library streamlines the process, letting you focus on the data and logic, while it takes care of the presentation.
Our intended audience for this tool are python developers or data scientists that needs direct access to the web framework (e.g., [Flask](https://flask.palletsprojects.com/)) because of large amounts of custom code or required functionality, but still want a simple way of creating dashboards, similar to [Streamlit](https://streamlit.io/), [Dash](https://plotly.com/dash/) or [Shiny](https://shiny.posit.co/py/) - which make it harder to configure or customize the web framework. Flask is one of the most un-oppinionated web frameworks for python, which makes it a great choice.
## **Positioning of Dashboard Builder in the Data Visualization Ecosystem**
In the vast landscape of data visualization tools, Dashboard Builder has carved out a unique and essential space for developers and data professionals. Dashboard Builder is for those who seek the balance between flexibility and ease-of-use, offering a middle-ground solution that doesn't compromise on power or versatility. Here's how it fits in:
1. **Starting From Scratch: Web Frameworks**
At one end of the spectrum, there are the barebone web frameworks like Flask, Django, or FastAPI. These frameworks provide enormous flexibility, allowing developers to build almost anything they envision. However, this often comes at the cost of starting from scratch. For many, the complexity of setting up, designing, and integrating multiple components is a hurdle, especially when the primary goal is to visualize and interact with data efficiently.
2. **High-level Visualization Tools: Tableau and Power BI**
On the opposite end, there are high-level visualization platforms like Tableau or Power BI. These tools empower users to create dashboards by simply dragging and dropping. But this ease of use can come with limitations. Custom visualizations or interactions might not be feasible, and these platforms can come with hefty price tags.
3. **Middle-Ground Tools: Shiny, Streamlit, Dash, and others**
Somewhere in between, tools like Shiny, Streamlit, Dash, and Gradio have emerged. They offer Python or R developers the ability to quickly create interactive web applications with minimal web development. However, they often abstract away too much of the underlying structure. This abstraction can limit developers from customizing or extending their apps in ways not natively supported by these platforms.
4. **Dashboard Builder: The Goldilocks Zone**
This is where Dashboard Builder shines. It occupies what we like to call the "Goldilocks Zone." It's not as raw and challenging as starting with pure web frameworks, yet it doesn't confine you within rigid structures like high-level tools. At the same time, it offers more control and flexibility than middle-ground tools. With Dashboard Builder, developers retain the ability to modify and customize components to their needs, integrating various visualization libraries and web components. Yet, they don't have to grapple with the foundational setup, making it easier and faster to get started.
## **Key Features**:
### Native Visualizations with Familiar Tools:
Dashboard Builder empowers users to craft visuals using the full functionality of industry-standard libraries like *Matplotlib*, *Plotly*, and *Altair*. This means no compromises, no curbed features—just pure, unadulterated visual storytelling as these libraries intended.
### *No coding for HTML, CSS, or JS*
Once you've created your visualization, there's typically the daunting task of embedding it within a web interface, which requires wrangling with HTML, CSS, or even JavaScript. The dashboard builder removes this step, letting you focus solely on Python. With just your Python skills, you can craft a web-responsive, interactive, and visually appealing dashboard. But if you need to, you can still access the HTML, CSS, and JS to customize the dashboard to your needs.
### Modern *Styling* with Tailwind:
Leveraging the power of Tailwind CSS, Dashboard Builder offers dynamic and mobile-responsive layouts that ensure your visuals look vibrant and engaging across all devices. From widescreen monitors to compact mobile views, your dashboards will always adapt gracefully and retain their modern aesthetic appeal.
### Growing Component Library:
- *Input Elements*:
- Single select
- Radio button
- Slider
- Free text
- *Output Elements*:
- Visualizations
- Altair
- Matplotlib
- Plotly
- Markdown
- Free text
- Images
- Text
- Markdown
- *Container Related Elements*:
- Column
- Expander
- *Style Themes*:
- Default (light)
- Dark
- Pink
- Blue
- Red
- Yellow
- Green
- Default and custom templates
- Currently have two default templates to choose between for a dashboard page:
- `base`: contains a side-bar (on left hand side for placing interactive widgets) and a main output view
- `base_nosidebar`: contains a main output view only, no side bar; helpful for view-only dashboards with no need to interactivity
- Custom Templates
- You can create your own custom template and load it in. Generally speaking, you can make the template look however you want.
- The default base template that we use, that you can modify however you want is [found here](https://github.com/hantswilliams/dashboard-builder/blob/main/dashboard_builder/dashboard_templates/base.j2)
- You can then then set the custom folder where the template exists with the `dashboard_builder.config` parameter, and then call the `get_dashboard_template_custom` function to use your own template!
---
## **Example Dashboards**
1. Complex example of Hospital and Centers for Medicare and Medicaid (CMS) Data for Long Island, New York. It is deployed via GCP Cloud Run, [please click here](https://dashboard-builder-cms-longisland-ua432tkhwq-uc.a.run.app/). The associated github source code for this repo can found here [https://github.com/hantswilliams/dashboard-builder-cms-longisland](https://github.com/hantswilliams/dashboard-builder-cms-longisland).
## To do:
- [ ] Add more output visualization components that include:
- Folium
- GGPlot
- Bokeh
- Seaborn
- [ ] Add more input components that might include:
- Date picker
- File upload
- Checkbox
- Multi-select
- Color picker
- Number input
- [x] Address matplotlib issue for rendering on web framework
- [x] Add initial input components
- [x] Add initial output components
- [x] Create test files
- [x] Add github actions for linting and secret checks
- [x] Create build script
- [x] Create at least one basic 'base' template for the dashboard view
- [x] Incorporate some form of state management system
- [x] Create a simple app examples
- [x] Update below markdown/readme, double check it to make sure aligns with API
- [x] Create docusuraus documentation site
- [ ] Create video tutorials
---
---
Raw data
{
"_id": null,
"home_page": "",
"name": "dashboard-builder",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9,<3.13",
"maintainer_email": "",
"keywords": "",
"author": "Hants Williams",
"author_email": "hantsawilliams@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d1/fa/865ee2cda5461947793ab1605e31b248b844436ecb8c5ba93c960906e0ac/dashboard_builder-0.4.7.tar.gz",
"platform": null,
"description": "# Dashboard Builder\n\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n![Ruff Linting](https://github.com/hantswilliams/dashboard-builder/actions/workflows/ruff.yml/badge.svg)\n![Google Doc Strings](https://img.shields.io/badge/Doc_Strings-Google-blue)\n![Truffle Hog](https://github.com/hantswilliams/dashboard-builder/actions/workflows/trufflehog.yml/badge.svg)\n[![Lisence: apache-2](https://img.shields.io/badge/Lisence:-Apache%202-red)](https://github.com/apache/.github/blob/main/LICENSE)\n\n**[Documentation](https://dashboardbuilder.appliedhealthinformatics.com/)**\n\nThe `dashboard-builder` is a Python package designed to help you create interactive web dashboards with minimal effort, while still giving you *full access* to the underlining web framework supporting it - which is [Flask](https://flask.palletsprojects.com/). So whether you're looking to visualize datasets, create dynamic reports, or provide interactive analytics, this library streamlines the process, letting you focus on the data and logic, while it takes care of the presentation.\n\nOur intended audience for this tool are python developers or data scientists that needs direct access to the web framework (e.g., [Flask](https://flask.palletsprojects.com/)) because of large amounts of custom code or required functionality, but still want a simple way of creating dashboards, similar to [Streamlit](https://streamlit.io/), [Dash](https://plotly.com/dash/) or [Shiny](https://shiny.posit.co/py/) - which make it harder to configure or customize the web framework. Flask is one of the most un-oppinionated web frameworks for python, which makes it a great choice.\n\n## **Positioning of Dashboard Builder in the Data Visualization Ecosystem**\n\nIn the vast landscape of data visualization tools, Dashboard Builder has carved out a unique and essential space for developers and data professionals. Dashboard Builder is for those who seek the balance between flexibility and ease-of-use, offering a middle-ground solution that doesn't compromise on power or versatility. Here's how it fits in:\n\n1. **Starting From Scratch: Web Frameworks** \n At one end of the spectrum, there are the barebone web frameworks like Flask, Django, or FastAPI. These frameworks provide enormous flexibility, allowing developers to build almost anything they envision. However, this often comes at the cost of starting from scratch. For many, the complexity of setting up, designing, and integrating multiple components is a hurdle, especially when the primary goal is to visualize and interact with data efficiently.\n\n2. **High-level Visualization Tools: Tableau and Power BI** \n On the opposite end, there are high-level visualization platforms like Tableau or Power BI. These tools empower users to create dashboards by simply dragging and dropping. But this ease of use can come with limitations. Custom visualizations or interactions might not be feasible, and these platforms can come with hefty price tags.\n\n3. **Middle-Ground Tools: Shiny, Streamlit, Dash, and others** \n Somewhere in between, tools like Shiny, Streamlit, Dash, and Gradio have emerged. They offer Python or R developers the ability to quickly create interactive web applications with minimal web development. However, they often abstract away too much of the underlying structure. This abstraction can limit developers from customizing or extending their apps in ways not natively supported by these platforms.\n\n4. **Dashboard Builder: The Goldilocks Zone** \n This is where Dashboard Builder shines. It occupies what we like to call the \"Goldilocks Zone.\" It's not as raw and challenging as starting with pure web frameworks, yet it doesn't confine you within rigid structures like high-level tools. At the same time, it offers more control and flexibility than middle-ground tools. With Dashboard Builder, developers retain the ability to modify and customize components to their needs, integrating various visualization libraries and web components. Yet, they don't have to grapple with the foundational setup, making it easier and faster to get started.\n\n## **Key Features**: \n\n### Native Visualizations with Familiar Tools:\nDashboard Builder empowers users to craft visuals using the full functionality of industry-standard libraries like *Matplotlib*, *Plotly*, and *Altair*. This means no compromises, no curbed features\u2014just pure, unadulterated visual storytelling as these libraries intended.\n\n### *No coding for HTML, CSS, or JS* \nOnce you've created your visualization, there's typically the daunting task of embedding it within a web interface, which requires wrangling with HTML, CSS, or even JavaScript. The dashboard builder removes this step, letting you focus solely on Python. With just your Python skills, you can craft a web-responsive, interactive, and visually appealing dashboard. But if you need to, you can still access the HTML, CSS, and JS to customize the dashboard to your needs.\n\n### Modern *Styling* with Tailwind: \nLeveraging the power of Tailwind CSS, Dashboard Builder offers dynamic and mobile-responsive layouts that ensure your visuals look vibrant and engaging across all devices. From widescreen monitors to compact mobile views, your dashboards will always adapt gracefully and retain their modern aesthetic appeal.\n\n### Growing Component Library: \n- *Input Elements*: \n - Single select \n - Radio button \n - Slider\n - Free text\n \n- *Output Elements*: \n - Visualizations\n - Altair \n - Matplotlib \n - Plotly\n - Markdown \n - Free text \n - Images\n - Text\n - Markdown\n\n- *Container Related Elements*:\n - Column \n - Expander \n\n- *Style Themes*: \n - Default (light)\n - Dark \n - Pink\n - Blue\n - Red\n - Yellow\n - Green\n\n- Default and custom templates \n - Currently have two default templates to choose between for a dashboard page: \n - `base`: contains a side-bar (on left hand side for placing interactive widgets) and a main output view\n - `base_nosidebar`: contains a main output view only, no side bar; helpful for view-only dashboards with no need to interactivity\n - Custom Templates \n - You can create your own custom template and load it in. Generally speaking, you can make the template look however you want. \n - The default base template that we use, that you can modify however you want is [found here](https://github.com/hantswilliams/dashboard-builder/blob/main/dashboard_builder/dashboard_templates/base.j2)\n - You can then then set the custom folder where the template exists with the `dashboard_builder.config` parameter, and then call the `get_dashboard_template_custom` function to use your own template! \n\n\n--- \n\n## **Example Dashboards**\n\n1. Complex example of Hospital and Centers for Medicare and Medicaid (CMS) Data for Long Island, New York. It is deployed via GCP Cloud Run, [please click here](https://dashboard-builder-cms-longisland-ua432tkhwq-uc.a.run.app/). The associated github source code for this repo can found here [https://github.com/hantswilliams/dashboard-builder-cms-longisland](https://github.com/hantswilliams/dashboard-builder-cms-longisland). \n\n## To do: \n- [ ] Add more output visualization components that include:\n - Folium\n - GGPlot\n - Bokeh\n - Seaborn\n- [ ] Add more input components that might include: \n - Date picker\n - File upload\n - Checkbox\n - Multi-select\n - Color picker\n - Number input\n- [x] Address matplotlib issue for rendering on web framework\n- [x] Add initial input components\n- [x] Add initial output components\n- [x] Create test files \n- [x] Add github actions for linting and secret checks\n- [x] Create build script \n- [x] Create at least one basic 'base' template for the dashboard view \n- [x] Incorporate some form of state management system \n- [x] Create a simple app examples\n- [x] Update below markdown/readme, double check it to make sure aligns with API \n- [x] Create docusuraus documentation site \n- [ ] Create video tutorials \n---\n\n---\n",
"bugtrack_url": null,
"license": "",
"summary": "A lightweight dashboard builder for data scientists.",
"version": "0.4.7",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f647b7a5b3b8492acfa79ea87ebd51bd1766956eafa155c78e210350217d753d",
"md5": "5a37acaa93ea4eccfe9428941b6bb9f5",
"sha256": "4c6296e93ede28175741e958542be846a69a020146ab35eb6b194ecf885477bd"
},
"downloads": -1,
"filename": "dashboard_builder-0.4.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5a37acaa93ea4eccfe9428941b6bb9f5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<3.13",
"size": 28865,
"upload_time": "2023-10-13T17:01:54",
"upload_time_iso_8601": "2023-10-13T17:01:54.308766Z",
"url": "https://files.pythonhosted.org/packages/f6/47/b7a5b3b8492acfa79ea87ebd51bd1766956eafa155c78e210350217d753d/dashboard_builder-0.4.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d1fa865ee2cda5461947793ab1605e31b248b844436ecb8c5ba93c960906e0ac",
"md5": "ee53242ee0939a9a215711817e9b56c0",
"sha256": "1411d8aa237c2fa1ceee267df4bd1f9da065f88e20c4e8736a01a610b18ffc79"
},
"downloads": -1,
"filename": "dashboard_builder-0.4.7.tar.gz",
"has_sig": false,
"md5_digest": "ee53242ee0939a9a215711817e9b56c0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<3.13",
"size": 23332,
"upload_time": "2023-10-13T17:01:55",
"upload_time_iso_8601": "2023-10-13T17:01:55.961815Z",
"url": "https://files.pythonhosted.org/packages/d1/fa/865ee2cda5461947793ab1605e31b248b844436ecb8c5ba93c960906e0ac/dashboard_builder-0.4.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-13 17:01:55",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "dashboard-builder"
}