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.6.tar.gz
python usage.py
# eventually create pypi account
twine check dist/*
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.7.tar.gz
(284.5 kB
view details)
File details
Details for the file dash_datetimepicker-0.0.7.tar.gz
.
File metadata
- Download URL: dash_datetimepicker-0.0.7.tar.gz
- Upload date:
- Size: 284.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69ce6b78e1902c1db69843208a639505b22f4ec03b8502f2d958d11edb16e23f |
|
MD5 | f3407983f52d09cddce86b3f65c46053 |
|
BLAKE2b-256 | 510c38d07811b34ed7431fe73bf36eda68aa6c888773aaa00f3df3f5d7ca1d04 |