Skip to main content

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

alt text

st.date_input

alt text

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

streamlit_jp_date_input-0.1.3.tar.gz (63.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_jp_date_input-0.1.3-py3-none-any.whl (63.6 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_jp_date_input-0.1.3.tar.gz.

File metadata

  • Download URL: streamlit_jp_date_input-0.1.3.tar.gz
  • Upload date:
  • Size: 63.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for streamlit_jp_date_input-0.1.3.tar.gz
Algorithm Hash digest
SHA256 55b0cabb2ed403b823a9df18162682057a0bcabf63df332a4ca9bec9198bc62c
MD5 711e837e25e30249b444946fad5c856e
BLAKE2b-256 b959feb3c414bcb96f9f37f1fe9e8583c3b5132b6f27b6ca0a3d550c9ed1eb7f

See more details on using hashes here.

File details

Details for the file streamlit_jp_date_input-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_jp_date_input-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d8fe7c2b58fd9fd71a8ac885f0d09da462153c9aceb587cc853f6fad29d2f535
MD5 1679eb38530c464385a2383c5543313f
BLAKE2b-256 8f335379d44ffd5f9b05dad8004206c07b096d63ea93f0211cf6a552bb36d4f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page