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.1.tar.gz (2.8 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.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

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

Hashes for dash_favicon_plugin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c154adcdc16f12df4d8f62a671b3485975d1e15bba1c7398fa7ce5d9ffeb0200
MD5 1ea44c46a286c55c635466e8a59f1c71
BLAKE2b-256 55dfdf521702ddcbf4a9ec4ab1c446080848ac38aa37e2db6daa36467c4360ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dash_favicon_plugin-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2abd914749a2341cbd1d01a6e6d32232d5b44d9850b1865710621c1ea1e0b736
MD5 1c88ee7c74edb1077ce7b5880014c561
BLAKE2b-256 2558be45d8cc23e6232aaeb21c33160dc11dfc898623855e2512a3ed0b15ed67

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