
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
streamlit-calendar-input
Advanced tools
Streamlit component that allows you to display a calendar on which users can select a date.
A custom Streamlit calendar widget that lets users select dates from a list of available options. Dates are shown month-by-month, with green marking available days and red marking unavailable ones.
datetime.date objectpip install streamlit-calendar-input
import streamlit as st
from streamlit_calendar_input import calendar_input
import datetime
# Define available dates (e.g. from your backend, bookings, etc.)
available_dates = [
datetime.date(2025, 6, 20),
datetime.date(2025, 6, 25),
datetime.date(2025, 7, 2),
]
# Call the calendar input
selected_date = calendar_input(available_dates)
# Display the selected date
if selected_date:
st.success(f"You selected: {selected_date}")
The widget renders a calendar month by month.
Each day is color-coded:
available_datesWhen a user clicks a green date, the widget returns the corresponding datetime.date object.
# Clone the repo
git clone https://github.com/yourusername/streamlit-calendar-input.git
cd streamlit-calendar-input
# (Optional) Create a virtual environment
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
# Install dependencies
pip install -e .
MIT License. See LICENSE for more details.
FAQs
Streamlit component that allows you to display a calendar on which users can select a date.
We found that streamlit-calendar-input demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.