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.4.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.4-py3-none-any.whl (63.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamlit_jp_date_input-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 3f1ddec9428ecea516f92173406b1f85e9366cd158eee21d565018c374b5273a
MD5 fa0cfe8d8c5bf58331b0c40611ad67b1
BLAKE2b-256 1bce9501edfc4e229b2faaaba968b6fd2a5052a8205a0d7d13ea4f4bf6f43937

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_jp_date_input-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 51045668204269fe3528e4179cb2bc6587e8a6b11098f4a5a869dd16f228ab72
MD5 58506412a19597ce4f5160129df06ce2
BLAKE2b-256 0ab4b7f3f9f1e762258334308566bfd4e2c4519e9fe167835e2a92d024328495

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