Skip to main content

PyXLL-Dash

Plotly Dash Integration for Microsoft Excel.

See the Plotly Dash Apps In Excel.

Installation

To install this package use:

pip install pyxll-dash

The PyXLL Excel add-in must also be installed. See PyXLL.

Usage

Once installed, the pyxll.plot function can be called with a dash app object.

Calling pyxll.plot with a dash app object from a PyXLL function will display the app in an embedded web control in Excel in the same way as other supported PyXLL plot types.

See PyXLL Plotting for details of how to use the pyxll.plot function.

Example

from pyxll import xl_func, plot
from dash import Dash, html, dcc, callback, Output, Input
import plotly.express as px
import pandas as pd


@xl_func
def dash_app():

    df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/gapminder_unfiltered.csv')

    app = Dash()

    app.layout = [
        html.H1(children='Title of Dash App', style={'textAlign':'center'}),
        dcc.Dropdown(df.country.unique(), 'Canada', id='dropdown-selection'),
        dcc.Graph(id='graph-content')
    ]

    @app.callback(
        Output('graph-content', 'figure'),
        Input('dropdown-selection', 'value')
    )
    def update_graph(value):
        dff = df[df.country==value]
        return px.line(dff, x='year', y='pop')

    # Show the dash app in Excel using PyXLL's plot function.
    # This requires the "pyxll-dash" package to be installed.
    plot(app)

    return app

Metadata

Release files for pyxll-dash 0.0.1

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

Source distribution (sdist)

Source distribution for pyxll-dash 0.0.1
File Size Uploaded Provenance
pyxll_dash-0.0.1.tar.gz 4.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyxll-dash 0.0.1
File Interpreter ABI Platform
pyxll_dash-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / pyxll_dash-0.0.1.tar.gz

Download URL pyxll_dash-0.0.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a582dda25759c9bf5cf380a8d809837c7f41e523a8e6ceb3e48735799fbcd735
BLAKE2b-256 checksum
How to use checksums
1c07ffd89a0a470c1bbed3c242a6b374a664bd3440e99bedb217c761ffcca14a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2025.

Transparency log

Release files / pyxll_dash-0.0.1-py3-none-any.whl

Download URL pyxll_dash-0.0.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f153305544ddb6f690687f7cd9ee87674bef276c3ffa0aef0600f493893b51d
BLAKE2b-256 checksum
How to use checksums
ff5d9d37cb66f774e455b2b4da400c35ef67640f792a06a3c52f8c3de08c90a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2025.

Transparency log

Security for pyxll-dash 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyxll_dash-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files Full provenance

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