Japanese calendar date input component for Streamlit
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlit_jp_date_input-0.1.1.tar.gz.
File metadata
- Download URL: streamlit_jp_date_input-0.1.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f894b8597277fc7cb43fd218e56c27b12c30ab97f470550b06784c094b9bc99
|
|
| MD5 |
eebb913ac0d214c11017fbe1fd4691e1
|
|
| BLAKE2b-256 |
53cac4d42dab5f13fc1fb1583e004dbe62d96dc22ca57552577c7202908f29b0
|
File details
Details for the file streamlit_jp_date_input-0.1.1-py3-none-any.whl.
File metadata
- Download URL: streamlit_jp_date_input-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aca7f3ec91f0d2e00842218e294ad0146d6ca73819849fd03da39ba9a1cf10fc
|
|
| MD5 |
89e22c8a4c3ce836fb0118ff05c2e339
|
|
| BLAKE2b-256 |
dd095299cb0cb988aa0e226d78eb99d6c418f3b8da226ea6b604b6680872ae1c
|