Survey dashboard
A dashboard to display survey data in an interactive way.
Overview
This repository contains a dashboard using Panel and Bokeh, developed to display data from HMC surveys in an interactive exploratory way. It is designed such that the code for the interactive visualizations might be reused for other projects. Example of a deployed version can be found here
Some impressions:
Installation
After downloading the git repository you can install the software either with pip or poetry. We recommend setting it up in a separate python virtual environment.
pip install survey_dashboard
or
poetry install .
Usage
After installation you can start the app, i.e the panel server/bokeh server.
panel serve --port 50006 survey_dashboard/
If you have given the dashboard a specific layout like the layout specific to HMC, which is on the hmc_specific branch, you might have to link to to a specific template.
panel serve --port 50006 survey_dashboard/ --static-dirs en_files=./survey_dashboard/hmc_layout/static/en_files
- Navigate to
http://localhost:50006/in your browser.
Deployment
To embed the dashboard into any website, first you have to host a bokeh server with this application somewhere and then you can embed it with bokehs sever_document function see
Do steps under usage above, but for a public exposed URL, or what ever is used for deployment.
The Language verison of the dashboard can be set with the environment variable: 'L
Add the code from 'script' to you website:
from bokeh.embed import server_document
script = server_document("url_to_running_server")
script
Copyright and Licence
See LICENSE.
Main used libraries and dependencies
The following libraries are used directly (i.e. not only transitively) in this project:
Acknowledgements
This project was developed at the Institute for Materials Data Science and Informatics (IAS-9) of the Jülich Research Center and funded by the Helmholtz Metadata Collaboration (HMC), an incubator-platform of the Helmholtz Association within the framework of the Information and Data Science strategic initiative.
Metadata
Release files for survey-dashboard 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| survey_dashboard-0.1.0.tar.gz | 1.5 MB | Without provenance | Details for survey_dashboard-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| survey_dashboard-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for survey_dashboard-0.1.0-py3-none-any.whl |
Total release size: 3.0 MB
Release files / survey_dashboard-0.1.0.tar.gz
| Download URL | survey_dashboard-0.1.0.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1a1c71405659c4d9f1222dda0f7b4d7c9359460c7903917f860ecb24feceb93
|
|
BLAKE2b-256 checksum How to use checksums |
8f9c65eb67115fc8722b33e658237ef6ac4e867529757cdd72a201f1d5cd5563
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Release files / survey_dashboard-0.1.0-py3-none-any.whl
| Download URL | survey_dashboard-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7de338af7e2b1d050eec0931a6395f6e8f537a42e7633eba66d4a03e9da190e5
|
|
BLAKE2b-256 checksum How to use checksums |
fbbff0fd5c53bb7142b5dfb35b155dd7bdb36c019343b6334ddd9defadf5e693
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Security for survey-dashboard 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.