Skip to main content

Create Plotly Dash apps via templates

Project description

Bento

GitHub PyPI - Python Version PyPI Docs Code style: black Language grade: Python Total alerts GitHub commit activity

Create Plotly Dash apps via templates

This GIF shows the ideal Bento experience, how you can add components to a dashboard in real time. Adding two extra controls, fixing up the layout, and finally applying a dark theme were all simple, drop-in changes.

Bento is a templating engine built on Plotly Dash. It lets you write a high-level description of your desired interactive dashboard and generates the application code for you. Like its namesake, Bento focuses on convenience and organization. By providing a set of reusable building blocks and abstracting away some of the more complicated aspects, it aims to flatten the learning curve of dashboarding!

Features

  • Write 10x fewer lines of code for your app
  • Easily control the dashboard layout via a grid system
  • Leverage a library of pre-built compound objects (Bento's 'banks')
  • CSS-free experience -- simple theming and styling support, CSS is templated away
  • Out-of-the-box support for multi-page dashboards with an appbar
  • Manage deployments with Bento Builder
  • Encourage good coding practices, decoupling data prep and visualization

Gallery

For some example dashboards, I've put together a small gallery. You can click through the live examples linked in the readme and compare to the descriptors located in each of the associated folders in the repo.

Quickstart

Dependencies: Python 3.7+

Bento is available on PyPI, and the latest version can be installed with:

pip3 install bento-dash

To make sure everything is working, try running the demo app:

bento-demo

And navigate in your browser to localhost:8050.

Developing with Bento

If you're interested in creating and deploying a Bento dashboard, I recommend setting up a Docker-friendly environment. I created a repo that can get you going called Bento Builder. Some extra details are provided in the Bento Builder readme.

Contributing to Bento

As an early stage product, honest and direct feedback is extremely valuable. Don't hesitate to open an issue with suggestions until another forum is set up.

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

bento-dash-0.0.9.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

bento_dash-0.0.9-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file bento-dash-0.0.9.tar.gz.

File metadata

  • Download URL: bento-dash-0.0.9.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for bento-dash-0.0.9.tar.gz
Algorithm Hash digest
SHA256 87df98e7d87fb0e450c0062eda8befa5ee45fc2b6b24c1b8390bf645457d9d9f
MD5 1c25e9a76f1efc4f8e00d2617be1ef22
BLAKE2b-256 b38e51bae773e2600b73be13975808e6187015c978a5ac5ee2375b330d24e71d

See more details on using hashes here.

File details

Details for the file bento_dash-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: bento_dash-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for bento_dash-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6d4133f09b3a81061421abcd46c132bd34737484b59a2cd2f8ddcda73a75918b
MD5 b7cd13b00c179ae2ebd4171b15ed19b1
BLAKE2b-256 a03845b47ec1a0a82ea410ded76224b49b3ab6cf06f5f2044dbd93c965aaeead

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