Dash component to select date and times
Project description
dash-datepicker
This is a dash datetime range picker based on react-datetime. In contrast to the dash datepicker from dash-core-components, it is also possible to specify hours and minutes on a certain day.
Development
# Create and exec into docker image
docker-compose up
docker exec -it dash-datepicker bash
# From within the docker image run (only once when starting the project)
cookiecutter https://github.com/plotly/dash-component-boilerplate.git
# From within docker
cd dash_datetimepicker
# Start python example app
. venv/bin/activate
pip install -r requirements.txt
python usage.py
# Start react app
npm start
# Build datepicker
npm run build
Test/publish created package
# Test fresh build
deactivate
python setup.py sdist
pip install dist/dash_datetimepicker-0.0.2.tar.gz
python usage.py
# eventually create pypi account
twine upload dist/*
rm -rf dist
# eventually authenticate at npm
npm login
npm publish
# check published module
pip install dash_datetimepicker
python dash_datetimepicker/usage.py
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
dash_datetimepicker-0.0.2.tar.gz
(283.1 kB
view hashes)
Close
Hashes for dash_datetimepicker-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba80c8ba1d0cc4747d9d257186f01b3c46d0bd5eeef4cec2c68e714bc7958328 |
|
MD5 | 4adb83b8abb9f79e54cce77353d6430f |
|
BLAKE2b-256 | 501c3809cd8df648829601cb8e44dc25c33a58f4882e158fd9df944a0554e79a |