Set favicon plugin for Dash applications using Dash Hooks.
Project description
dash-favicon-plugin
Set favicon plugin for Dash applications using Dash Hooks.
Installation
pip install dash-favicon-plugin
Usage
from dash import Dash
# Import the favicon plugin
from dash_favicon_plugin import setup_favicon_plugin
# Enable the favicon plugin for the current app
setup_favicon_plugin(favicon=r"/assets/favicon.png")
app = dash.Dash(__name__)
# Rest of your app code...
Example
Run the included example:
python example.py
API Reference
setup_favicon_plugin()
This function enables the favicon feature for your Dash application.
| Parameter | Type | Default | Description |
|---|---|---|---|
favicon |
str |
- |
pathname of favicon, supporting svg, png, ico, gif formats. |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dash_favicon_plugin-0.1.1.tar.gz.
File metadata
- Download URL: dash_favicon_plugin-0.1.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c154adcdc16f12df4d8f62a671b3485975d1e15bba1c7398fa7ce5d9ffeb0200
|
|
| MD5 |
1ea44c46a286c55c635466e8a59f1c71
|
|
| BLAKE2b-256 |
55dfdf521702ddcbf4a9ec4ab1c446080848ac38aa37e2db6daa36467c4360ea
|
File details
Details for the file dash_favicon_plugin-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dash_favicon_plugin-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2abd914749a2341cbd1d01a6e6d32232d5b44d9850b1865710621c1ea1e0b736
|
|
| MD5 |
1c88ee7c74edb1077ce7b5880014c561
|
|
| BLAKE2b-256 |
2558be45d8cc23e6232aaeb21c33160dc11dfc898623855e2512a3ed0b15ed67
|