Registry / web-framework / dash-renderer

dash-renderer

JSON →
library1.9.1pypypi✓ verified 85d ago

Front-end component renderer for Dash, part of the Plotly Dash ecosystem. Version 1.9.1 is the latest; it is bundled with Dash and released alongside Dash core library. The package is in maintenance mode; new features are added to Dash itself.

pip install dash-renderer
INSTALL
IMPORT
SIG · DASH-RENDERER
D
dash-renderer
web-frameworkpythonv1.9.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dash_renderer
import dash_renderer
from dash_renderer import renderer
dash-renderer is imported as a module, not a class; it's auto-registered when dash is imported.

Dash apps automatically use dash-renderer for front-end rendering; no direct import required.

import dash import dash_core_components as dcc import dash_html_components as html app = dash.Dash(__name__) app.layout = html.Div([ dcc.Input(id='input', type='text'), html.Div(id='output') ]) if __name__ == '__main__': app.run(debug=True)
Debug
Known issues
deprecateddash-renderer is deprecated in favor of Dash's built-in renderer. Version 1.9.1 is the final release.
fix
Do not install dash-renderer separately; use Dash (>=2.0.0) which includes its own renderer.
affects: >=2.0.0 of Dash
gotchaImporting dash_renderer directly is unnecessary and may cause confusion. It's automatically loaded when you import dash.
fix
Simply import dash; do not add any dash-renderer import.
affects: all
breakingdash-renderer v1.9.1 is not compatible with Python 2.7 or older versions of React.
fix
Use Python 3.5+ and ensure you are using a compatible version of Dash.
affects: 1.9.1
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'dash_renderer'
Trying to import dash_renderer before installing dash or dash-renderer.
fix
Install dash (which includes dash-renderer) with 'pip install dash'.
ImportError: cannot import name 'renderer' from 'dash_renderer'
Wrong import path; dash_renderer is a module, not a package with a renderer class.
fix
Do not import anything from dash_renderer; it's used internally by Dash.
dash-renderer has no attribute 'frontend'
Attempting to access the renderer directly.
fix
Access the renderer through the Dash app object if needed (e.g., app.renderer).
Upgrade
Version history
1.9.1latest on PyPI · released Apr 8, 2021
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Resources
dash-renderer — pip install dash-renderer · libregistry