Metadata-Version: 2.1
Name: dash-callbackmanager
Version: 2.0.0
Summary: Dash callback manager, group callbacks easier within code.
Home-page: https://github.com/envelop-risk/dash-callbackmanager
License: MIT
Keywords: dash,callback manager
Author: Matt Seymour
Author-email: matt@enveloprisk.com
Requires-Python: >=3.8,<3.11.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: dash (<4.0.0)
Project-URL: Repository, https://github.com/envelop-risk/dash-callbackmanager
Description-Content-Type: text/markdown

# dash-callbackmanager

As your dash application grows the management of callbacks becomes a bit of an overhead. The 
callback manager allows you to bundle collections of dash callbacks together allowing you to easily keep your
`app.py` clean.

## Installation:
```shell
pip install dash-callbackmanager
```

## Usage:
The callback manager allows you to easily slip out the callbacks into separate files.

```python
# callbacks.py

from dash_callbackmanager import CallbackManager

manager = CallbackManager()

@manger.callback()
def my_callback(Output("element", "children"), Input("other-element", "value")):
    ...
```

```python 
# app.py
from dash import Dash
from .callbacks import manager

app = Dash(__name__)

manager.register(app)
```
