Additional useful components for Dash
Project description
dash useful components
dash useful components is a Dash component library.
Get started with:
- Install Dash and its dependencies: https://dash.plot.ly/installation
- Run
python usage.py
- Visit http://localhost:8050 in your web browser
Contributing
See CONTRIBUTING.md
Install dependencies
If you have selected install_dependencies during the prompt, you can skip this part.
-
Install npm packages
$ npm install
-
Create a virtual env and activate.
$ virtualenv venv $ . venv/bin/activate
Note: venv\Scripts\activate for windows
-
Install python packages required to build components.
$ pip install -r requirements.txt
-
Install the python packages for testing (optional)
$ pip install -r tests/requirements.txt
Create a production build and publish:
-
Build your code:
$ npm run build
-
Create a Python tarball
$ python setup.py sdist
This distribution tarball will get generated in the
dist/
folder -
Test your tarball by copying it into a new environment and installing it locally:
$ pip install dash_useful_components-0.0.3.tar.gz
-
If it works, then you can publish the component to NPM and PyPI:
- Publish on PyPI
$ twine upload dist/*
- Cleanup the dist folder (optional)
$ rm -rf dist
- Publish on NPM (Optional if chosen False in
publish_on_npm
)
Publishing your component to NPM will make the JavaScript bundles available on the unpkg CDN. By default, Dash serves the component library's CSS and JS locally, but if you choose to publish the package to NPM you can set$ npm publish
serve_locally
toFalse
and you may see faster load times.
- Publish on PyPI
-
Share your component with the community! https://community.plot.ly/c/dash
- Publish this repository to GitHub
- Tag your GitHub repository with the plotly-dash tag so that it appears here: https://github.com/topics/plotly-dash
- Create a post in the Dash community forum: https://community.plot.ly/c/dash
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for dash_useful_components-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 565591370ac532fcacb407ded2b5cb162b23ee3c90ea4343affe06e1d7135c43 |
|
MD5 | 5cded66d0546e6054bf30800d80dd255 |
|
BLAKE2b-256 | 2e38c627cbffed1e74fd4cdc3d0370d254c5992a01069d6d4bc25936960bd5d9 |