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. |
Metadata
Release files for dash-console-filter-plugin 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dash_console_filter_plugin-0.1.1.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dash_console_filter_plugin-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / dash_console_filter_plugin-0.1.1.tar.gz
| Download URL | dash_console_filter_plugin-0.1.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1845c55cadb093dd3222a20a5cf006c4bb0bf18cc85ed62afa0ea744dedcc6f3
|
|
BLAKE2b-256 checksum How to use checksums |
e7b6aaf2a048827537cd1637108d3f2c35be9b0be1115c27b4aa4d7c995a026f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|
Release files / dash_console_filter_plugin-0.1.1-py3-none-any.whl
| Download URL | dash_console_filter_plugin-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffac1ae20ba0992722b3ce7d4b9c0f91fd6afa130dd9d56dadaa598ec2a24809
|
|
BLAKE2b-256 checksum How to use checksums |
85f18d140932078ef52ed85adcae842f992cfdefebc7b0c3d49d41741fee76db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|