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.2.tar.gz (6.6 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.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamlit_jp_date_input-0.1.2.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

Hashes for streamlit_jp_date_input-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0903fb7bc7d56bf70c720311e8286bfadf20b74b5b713172adbc4c2904ccf704
MD5 7d5a8c92fd9b6f61857277c6ab110e4b
BLAKE2b-256 bddefd5814ac3cca23f4d0c1aad6c43e713114d939a28e98908fb044f9462f9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_jp_date_input-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3f9b9d7a266b8bd42cec92475c55e585af309c9788208edb9bbe9644acef360e
MD5 b7167433ce78ab8a74c578403171d6e4
BLAKE2b-256 f1b8483cf62ca4e0b9f64d14bf15b6c0d044f4f63b4e3f78ec47618b9f1c0e9a

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