semvec/pypi-packages huggingface dataset:
meo-tool 0.2.0
A command-line tool for managing MEO devices, including flashing firmware and sending serial commands.

# MEO Tool

meo-tool is a developer-friendly Command Line Interface (CLI) designed for the MEO ecosystem. It streamlines the process of flashing firmware and managing device configurations (like WiFi and GPIO) for hardware like the Thingbot.

## Installation

Install the tool directly via pip:

```bash
pip install meo-tool
```

To verify the installation and see all available commands:
```bash
meo --help
```


## Usage Guide

The tool uses a logical, nested command structure: meo [GROUP] [COMMAND] [ARGS].

Quick example (flash then monitor):

```bash
meo flash thingbot-telemetrix --latest --auto-detect
meo monitor --auto-detect
```

1. Flashing Firmware

Deploy binaries to your hardware with intelligent port detection.

### Flash the latest Thingbot-Telemetrix firmware with auto-port detection

```bash
meo flash thingbot-telemetrix --latest --auto-detect
```

2. Network Configuration

Update your IoT device's network credentials without re-compiling or re-flashing.

### Set WiFi SSID and Password
```bash
meo config wifi "Maker IoT" "12345678"
```

3. GPIO & Sensor Mapping

Configure pins and define sensor types (like DHT) directly via the CLI.

### Configure Pin 1 as an input with DHT sensor capabilities
```bash
meo config gpio 1 --input #or 
meo config gpio 1 --input --dht
```

4. Live Monitoring

Stream device telemetry over serial for quick inspection.

### Monitor the device output with auto-port detection
```bash
meo monitor --auto-detect
```


Key Features
- Auto-Detection: Automatically identifies the correct Serial/COM port for your connected device.
- Rapid Flashing: Integration with esptool and avrdude for efficient firmware deployment.
- Live Config: Communicates over serial protocols to update parameters in real-time.
- Modular Design: Built on the Click framework for easy extensibility to new sensors and hardware.

## Development & Contribution

To set up a local development environment:

Clone the Repository:
```bash
git clone [https://github.com/yourusername/meo-tool.git](https://github.com/yourusername/meo-tool.git)
cd meo-tool


Install in Editable Mode:
This allows you to test your code changes immediately without re-installing the package.

pip install -e .


Run Tests:
(Optional: if using pytest)

pytest
```
ChinaHolidays 2026.2.16
获取中国节假日信息
Requires Python: >=3.9

# ChinaHolidays

#### 介绍
获取中国休息日，节假日安排来自官方渠道。
详情参考[official_info.toml](./src/ChinaHolidays/official_info.toml)

#### 安装与使用
* pip方式安装
```bash
pip install ChinaHolidays
```
* uv方式安装
```bash
uv pip install ChinaHolidays
```
```bash
uv add ChinaHolidays
```
* 使用
```python
from ChinaHolidays import (
    get_all_holidays,
    filter_holidays,
    date_range,
    ChinaHolidays
)
```

#### 功能
提供以下接口函数与类：
* date_range
```python
获取日期范围

    :param start_date: 开始日期
    :type start_date: datetime
    :param end_date: 结束日期（包含）
    :type end_date: datetime
    :return: 日期范围
    :rtype: set[datetime]
```
* get_all_holidays
```python
获取所有休息日（法定节假日+周末）

    :param year: 年份。默认为当前年份
    :type year: int
    :param consider_compensatory_workdays: 是否考虑调休工作日，默认为False
    :type consider_compensatory_workdays: bool
    :return: 休息日列表
    :rtype: set[datetime]
```
* filter_holidays
```python
筛掉休息日（法定节假日+周末）

    :param start_date: 开始日期
    :type start_date: datetime
    :param end_date: 结束日期（包含）
    :type end_date: datetime
    :param consider_compensatory_workdays: 是否考虑调休工作日，默认为False
    :type consider_compensatory_workdays: bool
    :return: 指定时间范围非休息日列表
    :rtype: set[datetime]
```
* ChinaHolidays
```python
class ChinaHolidays:
    """中国节假日"""

    def __init__(self, year: int):
        """初始化
        
        :param year: 年份
        :type year: int"""

    @property
    def festivals(self):
        """节假日

        :return: 节假日字典，键为节假日名称，值为日期集合
        :rtype: dict[str, set[datetime]]"""

    @property
    def festival_days(self):
        """节假日日期
        
        :return: 节假日日期集合
        :rtype: set[datetime]"""

    @property
    def compensatory_workdays(self):
        """调休工作日
        
        :return: 调休工作日集合
        :rtype: set[datetime]"""

    @property
    def weekends(self):
        """周末
        
        :return: 周末日期集合
        :rtype: set[datetime]"""
```
xo-stamper-app 1.1.1
XO-Stamper.
Requires Python: >=3.13

# X.O Stamper, version 1.1.1

Build stamp file writer

## Repository

Upstream repository is <https://gitlab.com/xgqt/xgqt-python-app-xo-stamper/>.

## Package

Download from PYPI: <https://pypi.org/project/xo-stamper-app/>.

## License

### Code

Code in this project is licensed under the MPL, version 2.0.

    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.