semvec/pypi-packages huggingface dataset:
streamlit-calendar-input 0.0.3
Streamlit component that allows you to display a calendar on which users can select a date.
Requires Python: >=3.7

# 📅 Streamlit Calendar Input

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.

## 🔧 Features

* 📆 Interactive calendar input widget for Streamlit
* ✅ Green: Available dates
* ❌ Red: Unavailable dates
* 🖱️ Click to select a date
* 🔄 Returns a Python `datetime.date` object

---

## 📦 Installation

```bash
pip install streamlit-calendar-input
```

---

## 🚀 Usage

```python
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}")
```

---

## 🧠 How it Works

* The widget renders a calendar month by month.
* Each day is color-coded:

  * ✅ Green: Clickable, available in `available_dates`
  * ❌ Red: Not clickable, unavailable
* When a user clicks a green date, the widget returns the corresponding `datetime.date` object.

---

## 📌 Requirements

* Python 3.7+
* [Streamlit](https://streamlit.io/) 1.0+

---

## 🧪 Development

```bash
# 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 .
```

---

## 📝 License

MIT License. See [LICENSE](./LICENSE) for more details.
k-sogou-search 0.0.2
A simple unofficial API to get search results from Sogou.
Requires Python: >=3.6

# Sogou Search API

一个非官方的Python API，用于从搜狗获取搜索结果。

## 安装

```bash
pip install k-sogou-search
```

## 使用

```python
from sogou_search import sogou_search

results = sogou_search('人工智能', num_results=15)
for result in results:
    print(result)
```
sphinxcontrib-twine 0.3.2
Add some interactive stories in your Sphinx docs
Requires Python: >=3.7
Keywords: sphinx, twinery, twine2, twee3, chapbook, story

sphinxcontrib-twine
###################

|pylint-action| |test-action| |pypi-action|

|pypi-version| |pypi-python|  |pypi-status|

|docs-badge|


Add some interactive stories (`Twine`_) in your Sphinx docs.


Features
********

- Story formats: `Chapbook`_, `Harlowe`_, `Snowman`_, `SugarCube`_
- Contains multiple `Twine`_ stories in one page
- All *format.js* files are imported from `twinejs`_ and `cdn.jsdelivr.net <https://github.com/jixingcn/sphinxcontrib-twine/tree/main/sphinxcontrib/twine/storyformats.json>`_


Use
***

::

    $ pip install sphinxcontrib-twine

::

    extensions = [
        ...,
        'sphinxcontrib.twine'
    ]

::

    .. twine::
        :format: Chapbook
        :title: Test
        :width: 100%
        :height: 500
    
        :: StoryTitle
        Test in Chapbook
    
        :: Start
        Start


License
*******

|license|



.. |pylint-action| image:: https://img.shields.io/github/actions/workflow/status/jixingcn/sphinxcontrib-twine/pylint.yml?label=pylint
    :alt: pylint workflow Status
    :target: https://github.com/jixingcn/sphinxcontrib-twine/actions/workflows/pylint.yml


.. |test-action| image:: https://img.shields.io/github/actions/workflow/status/jixingcn/sphinxcontrib-twine/test.yml?label=test
    :alt: test workflow Status
    :target: https://github.com/jixingcn/sphinxcontrib-twine/actions/workflows/test.yml


.. |pypi-action| image:: https://img.shields.io/github/actions/workflow/status/jixingcn/sphinxcontrib-twine/pypi.yml?label=pypi
    :alt: pypi workflow Status
    :target: https://github.com/jixingcn/sphinxcontrib-twine/actions/workflows/pypi.yml


.. |pypi-version| image:: https://img.shields.io/pypi/v/sphinxcontrib-twine
    :alt: PyPI - Version
    :target: https://pypi.org/project/sphinxcontrib-twine


.. |pypi-python| image:: https://img.shields.io/pypi/pyversions/sphinxcontrib-twine
    :alt: PyPI - Python Version
    :target: https://pypi.org/project/sphinxcontrib-twine


.. |pypi-status| image:: https://img.shields.io/pypi/status/sphinxcontrib-twine
    :alt: PyPI - Status
    :target: https://pypi.org/project/sphinxcontrib-twine


.. |docs-badge| image:: https://img.shields.io/readthedocs/sphinxcontrib-twine/latest
    :alt: Read the Docs (version)
    :target: https://sphinxcontrib-twine.readthedocs.io


.. |license| image:: https://img.shields.io/badge/license-MIT-green
    :alt: Static Badge
    :target: https://github.com/jixingcn/sphinxcontrib-twine/blob/main/LICENSE


.. _Twine: https://twinery.org/


.. _Chapbook: https://klembot.github.io/chapbook/


.. _Harlowe: https://twine2.neocities.org/


.. _Snowman: https://videlais.github.io/snowman/


.. _SugarCube: https://www.motoslave.net/sugarcube/2/


.. _twinejs: https://github.com/klembot/twinejs