Registry / analytics / gov-uk-dashboards

gov-uk-dashboards

JSON →
library32.2.0pypypiunverified

Provides access to functionality common to creating a data dashboard for GOV.UK. Version 32.2.0, released as part of the gov-uk-dashboards project maintained by the UK Government Digital Service.

pip install gov-uk-dashboards
INSTALL
IMPORT
SIG · GOV-UK-DASHBOARDS
G
gov-uk-dashboards
analyticspythonv32.2.0
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.

dashboard
from gov_uk_dashboards import dashboard
from gov_uk_dashboards import dashboard

Minimal example creating a dashboard with one section. Assumes Flask backend.

from gov_uk_dashboards import dashboard from gov_uk_dashboards.dash_app import setup_dash app, server = setup_dash(__name__) dashboard.add_section(app, 'Hello GOV.UK') if __name__ == '__main__': app.run(debug=True)
Debug
Known issues
breakingVersion 30+ changed the import path for dash setup: previously `from gov_uk_dashboards import dash_app` no longer works. Use `from gov_uk_dashboards.dash_app import setup_dash`.
fix
Update imports to reference the subpackage explicitly.
affects: >=30.0.0
gotchaThe library is tightly coupled to a specific version of Dash and Plotly. Installing alongside other versions may cause dependency conflicts.
fix
Use a virtual environment and check requirements.txt or setup.py for pinned versions.
affects: all
deprecatedThe `dashboard.add_chart()` function is deprecated in favor of `dashboard.add_chart_section()` or `dashboard.add_graph()`.
fix
Replace calls to `add_chart()` with the recommended section-based methods.
affects: >=28.0.0
Upgrade
Version history
32.2.0latest on PyPI · released Jun 2, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
OpenAI (training)
1
Resources

No resource links recorded.

gov-uk-dashboards — pip install gov-uk-dashboards · libregistry