st-time-entry
A Streamlit component that adds a modern time picker using MUI X TimePicker. Supports AM/PM and 24-hour formats, time range limits, and input validation.
Features
- Modern Material UI (MUI X) TimePicker in Streamlit
- AM/PM and 24-hour support
- Set default time and restrict selectable time range
- Disable input as needed
- Returns time as a string (e.g.,
"09:30 am")
Installation
pip install st-time-entry
Usage
import streamlit as st
from st_time_entry import st_time_entry
# Basic usage
selected_time = st_time_entry(
"Pick a start time",
key="time_entry_1",
)
st.write("Selected time:", selected_time)
Development
- Frontend: React + TypeScript + MUI X Date Pickers
- Backend: Python (Streamlit custom component)
License
This project is licensed under the GNU General Public License v3.0.
Acknowledgements
Based on streamlit/component-template.
Metadata
Release files for st-time-entry 0.4.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 | |
|---|---|---|---|
| st_time_entry-0.4.0.tar.gz | 1.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| st_time_entry-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.1 MB
Release files / st_time_entry-0.4.0.tar.gz
| Download URL | st_time_entry-0.4.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad47ace4e20c99ae80657589b065e4dbcc91bc012ffd4aaf3a77052ed6250315
|
|
BLAKE2b-256 checksum How to use checksums |
6078188820ef84fe315d7b18d94ed334db3b2b9ad8a7e23d4884bf16df990a62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2025.
Transparency logRelease files / st_time_entry-0.4.0-py3-none-any.whl
| Download URL | st_time_entry-0.4.0-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97f14f7a829e6904d79fce68da8c329df46f9880e60291e90205e44b1bfec315
|
|
BLAKE2b-256 checksum How to use checksums |
d890818a1b9983e3bc84b307ff44eff08f83d7a4407136f2ccc52e07f47a553f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2025.
Transparency log