Skip to main content

Set favicon plugin for Dash applications using Dash Hooks.

Project description

dash-favicon-plugin

GitHub Ruff

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dash_favicon_plugin-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dash_favicon_plugin-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file dash_favicon_plugin-0.1.0.tar.gz.

File metadata

  • Download URL: dash_favicon_plugin-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.0

File hashes

Hashes for dash_favicon_plugin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e22e91a692668cf0d9a204222621c6d948ba6e08b62e7a4a223195dbe990b4ee
MD5 c2e792803f91f060c69d6460d6112d1b
BLAKE2b-256 9d9a9cc255fee86d4bbc968ae8aeffb5db0bb5da2f2f3f54430bc4785fdebe3a

See more details on using hashes here.

File details

Details for the file dash_favicon_plugin-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dash_favicon_plugin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30630b347cc1f8b95af73c856518c9d4d867315692b7df786d835396728b61a9
MD5 bf0a5eba7ed72701f975b5ead442ff48
BLAKE2b-256 9d16965e6736ed7a1e95aa565cc967586d2946952219522797836394c29518f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page