Skip to main content

A web-based dashboard to analyzing your data with Python

Project description

A web-based dashboard to analyzing your data with Python

image0 PyPI Requires




pip3 install boardify


from boardify import *

# Class for the dashboard
class FruitDashboard(BasicDashboard):
    def config(self): = "Fruit Company"

        # Add Blocks to the dashboard

# Block contains HTML Code
class Products(BasicBlock):
    def config(self): = "Products"
        self.description = "A list of our products"

    def data(self):
        return """<ul>

# Block renders a bar chart
class NicestFruit(BasicBlock):
    def config(self): = "Nicest Fruit"
        self.description = "A survey of 145 people asked them "                 ""Which is the nicest fruit?""

    def data(self):
        # Define the data for the chart
        data = {
            "datasets": {
                "Survey One": [35, 20, 45, 10, 30, 5],
                "Survey Two": [30, 25, 60, 5, 35, 0],
            "labels": ["Apple",
            "background_color": ["rgb(128, 18, 2)",
                                 "rgb(244, 132, 0)",
                                 "rgb(246, 221, 0)",
                                 "rgba(83, 65, 25, 0.97)",
                                 "rgb(35, 123, 214)",
                                 "rgb(99, 74, 161)"]

        # Generate the bar chart
        return BarChart(data).generate()

# Run the server
dashboard = FruitDashboard()

Open the dashboard at http://localhost:7000

Made with


This project is licensed under the MIT License - see the LICENSE file for details

Project details

Download files

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

Files for boardify, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size boardify-0.4.0.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page