Streamlit DateTime Range Picker
Project Introduction
streamlit-datetime-range-picker is a datetime range picker designed for use with Streamlit. It allows users to easily select a range of dates and times.
Installation
Install the package using the following command:
pip install streamlit-datetime-range-picker
Usage
import streamlit as st
from streamlit_datetime_range_picker import datetime_range_picker
# Use datetime_range_picker to create a datetime range picker
datetime_string = datetime_range_picker(start=-30, end=0, unit='minutes', key='range_picker',
picker_button={'is_show': True, 'button_name': 'Refresh last 30min'})
if datetime_string is not None:
start_datetime = datetime_string[0]
end_datetime = datetime_string[1]
Parameter
start: Default start time, type: int, default value: -30.end: Default end time, type: int, default value: 0.unit: Default time unit, type: str, options: milliseconds, seconds, minutes, hours, days, weeks, months, years.key: Picker key, default value: None.picker_button: Refresh button configuration, type: {'is_show': bool, 'button_name': str}, default values: False and 'Refresh last 30min'. When the button is clicked, it refreshes the selected time range.- The return value of datetime_range_picker is of type str.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Metadata
Release files for streamlit-datetime-range-picker 0.0.1
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 |
|---|---|---|---|---|
| streamlit-datetime-range-picker-0.0.1.tar.gz | 889.0 kB | Without provenance | Details for streamlit-datetime-range-picker-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| streamlit_datetime_range_picker-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for streamlit_datetime_range_picker-0.0.1-py3-none-any.whl |
Total release size: 1.8 MB
Release files / streamlit-datetime-range-picker-0.0.1.tar.gz
| Download URL | streamlit-datetime-range-picker-0.0.1.tar.gz |
|---|---|
| Size | 889.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2aad1512d8db8979f968bcc3ce8650369403ecc415412d491ae0e9119d9f1b6e
|
|
BLAKE2b-256 checksum How to use checksums |
a69f66358627991f215ef6c3f0327aae8b5ece42f4597982e647f053fcadd62c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / streamlit_datetime_range_picker-0.0.1-py3-none-any.whl
| Download URL | streamlit_datetime_range_picker-0.0.1-py3-none-any.whl |
|---|---|
| Size | 897.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51f2329c712a1832dfc2a7398b20fc5edd8c1479ba6e17b57bf2cd02379527ae
|
|
BLAKE2b-256 checksum How to use checksums |
748986b456e14c958ef4b2ddf51b37a3ce73e71641e57e7e5f15940eddcc84c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Security for streamlit-datetime-range-picker 0.0.1
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.