Skip to content

plotly/dash-stylish-header

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dash Hooks Demo

A stylish header component for Dash applications using Dash Hooks. You can check out this project on PyPi at: https://pypi.org/project/dash-stylish-header/0.0.1/

Installation

pip install dash-stylish-header

Usage

from dash import Dash
from dash_stylish_header import register_hooks

# Register the header with custom title
register_hooks(title="My Dash App")

app = Dash(__name__)
# Rest of your app code...

Example

Run the included example:

python example.py

Creating your own hook

  1. Fork this template
  2. Modify dash_stylish_header/ with your hook logic
  3. Update package name in pyproject.toml
  4. Test locally with pip install -e .
  5. Publish following steps below

Publishing to PyPI

We encourage publishing generalized plugins to PyPI so that they're easy for other Dash developers to use. See the Python Packaging User Guide for detailed documentation on uploading the generated wheel and source distributions. Before getting started, make sure you have a PyPI account and an API token, and make sure to set a unique name for your package.

  1. Prepare the package:

    pip install build twine
  2. Build the distribution:

    python -m build
  3. Upload to PyPI:

    python -m twine upload dist/*

About

An example of a Dash Hook for distribution on PyPi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages