Awesome Panel Extensions Package - Change Log

In order to facility more rapid experimentation with and distribution of Panel extensions I’ve created and now launch the awesome-panel-extensions package.

The intent is to share extensions that maybe do not fit into Panel it self but have interest for me or the community or alternatively some extensions that might not be ready for Panel yet but needs to get out there and receive feedback to eventually reach a level where they can be contributed to Panel.

But who knows how this will develop over time. :slight_smile:

Please note that some of the extensions might make their way to Panel, a separate package, be deleted or change over time. So if you get something working consider whether it is important to pin the package version or maybe just copy the code into your project.

Feel free to share your comments, suggestions, ideas etc. Feel free to help improve the documentation, contribute your own extensions etc.

Repository: https://github.com/MarcSkovMadsen/awesome-panel-extensions
PyPi: https://pypi.org/project/awesome-panel-extensions/
Docs: https://awesome-panel.readthedocs.io/en/latest/packages/awesome-panel-extensions/index.html

PandasProfilerReport Added

I’ve added the first extension. It’s a PandasProfilerReport pane that allows you to show a ProfileReport in Panel.

PandasProfileReportNotebook

Check out the reference guide on binder

or use it via awesome_panel_extensions.pane.PandasProfileReport.

Comments or suggestions are very welcome.

WebComponent Added

You can think of the WebComponent pane as a HTML pane that supports bidirectional communication and large data transfer.

The WebComponent pane makes it really, really easy using Python and a minimal amount of html, css or .js knowledge to extend Panel with your favorite .js widgets or libraries.

Do you want a Panel app that follow the Material, SAP Fiori or Uber Design Specification? Just use the WebComponent pane and implement the widgets you need.

The WebComponent pane is on the roadmap for panel. You can check out the progress via Github PR 1252

Checkout the reference guide on binder

or use it via awesome_panel_extensions.web_component.WebComponent.

… also added to the Awesome Panel Extension Guide

If you wan’t to learn about the different ways of extending Panel then checkout the Awesome Panel Extensions Guide.

There is a specific guide on WebComponent Extensions here. The below example is from this guide.

The core of the code is as simple as

class MWCButton(WebComponent):
    html = param.String("<mwc-button></mwc-button")
    attributes_to_watch = param.Dict({"label": "name", "icon": "icon", "raised":"raised"})
    events_to_watch = param.Dict({"click": "clicks"})

    raised=param.Boolean(default=True)
    icon=param.ObjectSelector(default="favorite", objects=MWC_ICONS, allow_None=True)
    clicks = param.Integer()

    height = param.Integer(default=30)

mwc_button = MWCButton(name="Click Me!")
1 Like

LinkButtons Added

I wanted to enable a standard header with links to binder etc. in the notebook examples. So I created the concept of LinkButtons and added some to the package.

For now I’ve added ImageLinkButton, BinderLinkButton, NBViewerLinkButton and PanelLinkButton.

I guess also some “social” buttons like twitter, linkedin, facebook,reddit etc. could be added.

Checkout the reference notebook on binder

or use them via awesome_panel_extensions.widgets.link_buttons.

Let me know what you think.

1 Like

MaterialButton Added

In anticipation of the upcoming MaterialTemplate shipping with Panel 0.10, I’ve started working on Material widgets. They are based on Material Web Components.

I’ve added a MaterialButton to the awesome-panel-extensions package

MaterialButton

Check it out on binder

or use it via awesome_panel_extensions.frameworks.material.Button.

PerspectiveViewer Added

The PerspectiveViewer is perfect for interactive, streaming analytics of large amounts of data.

perspective-viewer

Check it out on binder

or use it via awesome_panel_extensions.widgets.PerspectiveViewer.

There are many things about the implementation of the PerspectiveViewer that could be improved. But it’s good enough for my use cases. If you want it improved or in included with Panel please create a feature request on Github. Thanks.

2 Likes

This is awesome! Combining the speed of Perspective and the convenience of serving apps with Panel would be a game-changer!
Would love to have this natively supported in Panel, @philippjfr : )

Great work @Marc!!

1 Like

Added Material Select and IntSlider

Feel free to share my tweets if you think they are awesome.


2 Likes

Added Material LinearProgress and CircularProgress

Feel free to share this tweet if you like.