Skip to content

CNFeffery/dash-console-filter-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages