Skip to main content

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

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.

Metadata

Release files for bento-dash 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bento-dash 0.0.9
File Size Uploaded
bento-dash-0.0.9.tar.gz 2.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for bento-dash 0.0.9
File Interpreter ABI Platform
bento_dash-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 MB

Release files / bento-dash-0.0.9.tar.gz

Download URL bento-dash-0.0.9.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
87df98e7d87fb0e450c0062eda8befa5ee45fc2b6b24c1b8390bf645457d9d9f
BLAKE2b-256 checksum
How to use checksums
b38e51bae773e2600b73be13975808e6187015c978a5ac5ee2375b330d24e71d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / bento_dash-0.0.9-py3-none-any.whl

Download URL bento_dash-0.0.9-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6d4133f09b3a81061421abcd46c132bd34737484b59a2cd2f8ddcda73a75918b
BLAKE2b-256 checksum
How to use checksums
a03845b47ec1a0a82ea410ded76224b49b3ab6cf06f5f2044dbd93c965aaeead
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page