Skip to main content

A plugin to filter the error messages in the console of the browser for Dash applications using Dash Hooks.

Project description

dash-console-filter-plugin

GitHub PyPI Ruff

English | 简体中文

Console message filtering plugin for Dash applications using Dash Hooks. This plugin allows you to filter specific error messages in the browser console.

Installation

pip install dash-console-filter-plugin

Usage

import dash

# Import the console filter plugin
from dash_console_filter_plugin import setup_console_filter_plugin

# Enable the console filter plugin for the current app
setup_console_filter_plugin(keywords=["test warning message"])

app = dash.Dash(__name__)

# Rest of your app code...

Example

Run the included example:

python example.py

API Reference

setup_console_filter_plugin()

This function enables the console message filtering feature for your Dash application.

Parameter Type Default Description
keywords List[str] None List of keywords to filter, messages containing any of these keywords in the console of the browser will be filtered.

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_console_filter_plugin-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

dash_console_filter_plugin-0.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file dash_console_filter_plugin-0.1.1.tar.gz.

File metadata

File hashes

Hashes for dash_console_filter_plugin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1845c55cadb093dd3222a20a5cf006c4bb0bf18cc85ed62afa0ea744dedcc6f3
MD5 e418e3f8266a28062a274668bf14389d
BLAKE2b-256 e7b6aaf2a048827537cd1637108d3f2c35be9b0be1115c27b4aa4d7c995a026f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dash_console_filter_plugin-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ffac1ae20ba0992722b3ce7d4b9c0f91fd6afa130dd9d56dadaa598ec2a24809
MD5 73dca014e5b1e0cca788c7d054fb7961
BLAKE2b-256 85f18d140932078ef52ed85adcae842f992cfdefebc7b0c3d49d41741fee76db

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