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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dash_console_filter_plugin-0.1.1.tar.gz.
File metadata
- Download URL: dash_console_filter_plugin-0.1.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1845c55cadb093dd3222a20a5cf006c4bb0bf18cc85ed62afa0ea744dedcc6f3
|
|
| MD5 |
e418e3f8266a28062a274668bf14389d
|
|
| BLAKE2b-256 |
e7b6aaf2a048827537cd1637108d3f2c35be9b0be1115c27b4aa4d7c995a026f
|
File details
Details for the file dash_console_filter_plugin-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dash_console_filter_plugin-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffac1ae20ba0992722b3ce7d4b9c0f91fd6afa130dd9d56dadaa598ec2a24809
|
|
| MD5 |
73dca014e5b1e0cca788c7d054fb7961
|
|
| BLAKE2b-256 |
85f18d140932078ef52ed85adcae842f992cfdefebc7b0c3d49d41741fee76db
|