Skip to main content

dash-offline-detect-plugin

GitHub PyPI Ruff

English | 简体中文

Offline detect plugin for Dash applications using Dash Hooks.

Installation

pip install dash-offline-detect-plugin

Usage

from dash import Dash

# Import the offline detect plugin
from dash_offline_detect_plugin import setup_offline_detect_plugin

# Enable the offline detect plugin for the current app
setup_offline_detect_plugin()

app = Dash(__name__)

# Rest of your app code...

Example

Run the included example:

python example.py

API Reference

setup_offline_detect_plugin()

This function enables the offline detection feature for your Dash application.

Parameter Type Default Description
interval int 5000 Interval of detection in browser (milliseconds). Controls how frequently the browser checks if the backend service is available.
title str "Service Unavailable" Title of the overlay displayed when the service is unavailable.
description str "Unable to connect to the backend service, trying to reconnect..." Description text displayed in the overlay when the service is unavailable.

Metadata

Release files for dash-offline-detect-plugin 0.1.4

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

Source distribution (sdist)

Source distribution for dash-offline-detect-plugin 0.1.4
File Size Uploaded Provenance Actions
dash_offline_detect_plugin-0.1.4.tar.gz 4.2 kB Without provenance Details for dash_offline_detect_plugin-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dash-offline-detect-plugin 0.1.4
File Interpreter ABI Platform Actions
dash_offline_detect_plugin-0.1.4-py3-none-any.whl Python 3 none any Details for dash_offline_detect_plugin-0.1.4-py3-none-any.whl

Total release size: 9.0 kB

Release files / dash_offline_detect_plugin-0.1.4.tar.gz

Download URL dash_offline_detect_plugin-0.1.4.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
be5dc08df270bed0fc134d5a715a4eb7a2eb6c1afcd39083ca4e18ba63bb81a0
BLAKE2b-256 checksum
How to use checksums
1f8963ed995067de9ca40a9f14961d6dffff5d06d5414608147daf3dcbc160fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.18

Release files / dash_offline_detect_plugin-0.1.4-py3-none-any.whl

Download URL dash_offline_detect_plugin-0.1.4-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de9ac90ba16beb05b5e8725ede8c458951bf4a864dbc53ff9cd150e152311d13
BLAKE2b-256 checksum
How to use checksums
3e539086771904cde9c9d331634c4d74d4d7b504c9bd2d4d9757e58721bd9019
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.18

Security for dash-offline-detect-plugin 0.1.4

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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