streamlit-jp-date-input
日本語カレンダー付き日付選択コンポーネントです。Streamlit アプリに和暦スタイルのカレンダー UI を追加できます。
インストール
pip install streamlit-jp-date-input
使い方
import streamlit as st
from streamlit_jp_date_input import jp_date_input
date = jp_date_input("日付を選択", min_date="2020-01-01", max_date="2030-12-31")
st.write("選択日:", date)
パラメータ
| パラメータ | 型 | 説明 |
|---|---|---|
label |
str |
入力フィールドのラベル |
value |
str | None |
初期選択日付(YYYY-MM-DD 形式) |
min_date |
str | None |
選択可能な最小日付(YYYY-MM-DD 形式) |
max_date |
str | None |
選択可能な最大日付(YYYY-MM-DD 形式) |
key |
str | None |
コンポーネントを一意に識別するキー |
戻り値
選択された日付(YYYY-MM-DD 形式の str)、未選択の場合は None。
jp_date_input
st.date_input
Metadata
Release files for streamlit-jp-date-input 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| streamlit_jp_date_input-0.1.4.tar.gz | 63.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamlit_jp_date_input-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 127.4 kB
Release files / streamlit_jp_date_input-0.1.4.tar.gz
| Download URL | streamlit_jp_date_input-0.1.4.tar.gz |
|---|---|
| Size | 63.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f1ddec9428ecea516f92173406b1f85e9366cd158eee21d565018c374b5273a
|
|
BLAKE2b-256 checksum How to use checksums |
1bce9501edfc4e229b2faaaba968b6fd2a5052a8205a0d7d13ea4f4bf6f43937
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / streamlit_jp_date_input-0.1.4-py3-none-any.whl
| Download URL | streamlit_jp_date_input-0.1.4-py3-none-any.whl |
|---|---|
| Size | 63.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51045668204269fe3528e4179cb2bc6587e8a6b11098f4a5a869dd16f228ab72
|
|
BLAKE2b-256 checksum How to use checksums |
0ab4b7f3f9f1e762258334308566bfd4e2c4519e9fe167835e2a92d024328495
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|