semvec/pypi-packages huggingface dataset:
slidecompress 0.1.4
Compress PowerPoint presentations by optimizing embedded images
License: MIT
Requires Python: >=3.8
Keywords: compression, images, optimization, powerpoint

# slidecompress

A command-line tool that reduces PowerPoint file sizes by intelligently compressing embedded images while maintaining visual quality.

## Features

- Automatically resizes large images to reasonable dimensions (1000x1000 max)
- Optimizes PNG files by reducing colors to 255 while maintaining quality
- Compresses JPEG files with balanced quality settings (75% quality)
- Converts TIF/TIFF/EMF files to optimized PNGs
- Preserves original files by creating a new `.compressed.pptx` file
- Shows detailed compression statistics for each image
- Reports which slides contain the largest remaining images

## Requirements

- Python 3.6+
- ImageMagick (`magick` command must be available in PATH)
- LibreOffice for EMF conversions (`libreoffice` command must be available in PATH)

## Usage

First, [compress all images in PowerPoint](https://support.microsoft.com/en-us/office/reduce-the-file-size-of-your-powerpoint-presentations-9548ffd4-d853-41e7-8e40-b606bca036b4).

Then, run the tool:

```bash
uvx slidecompress presentation.pptx
```

Or with custom maximum image width:

```bash
uvx slidecompress --width 480 presentation.pptx
```

The compressed file will be saved as `presentation.compressed.pptx` in the same directory.

To overwrite the original file, use the `-f` flag:

```bash
uvx slidecompress -f presentation.pptx
```

## Example Output

```
     image1.png:      9.7KB compressed by      1.4KB
     image2.png:      4.5KB
     image3.jpeg:    19.6KB compressed by      2.3KB
     image4.emf:     98.2KB compressed by     25.3KB and converted to .png
Largest media after compression:
      image4.emf:     72.9KB in slide 4
     image3.jpeg:     17.3KB in slide 3
      image1.png:      8.3KB in slide 1
      image2.png:      4.5KB in slide 2
```

## Build

To build and upload to PyPI:

1. Update the version in `pyproject.toml`
2. Build and upload the package

```
rm -rf dist/
uvx --from build pyproject-build
uvx twine upload -u __token__ dist/*
```

## License

MIT
breezeway 0.1.0a2
Library for interacting with Breezeway's API.
License: MIT
Requires Python: >=3.13

# Breezeway Python Client

A Python client library for communicating with Breezeway.io, providing an easy interface for managing authentication and
interacting with Breezeway's API.

## Installation

```sh
pip install breezeway
```

## Example Usage

```python
import breezeway

# Initialize the client
bw = breezeway.BreezewayClient(client_id='your_client_id', client_secret='your_client_secret')

# Get tasks
tasks = bw.get_tasks()
print(tasks)

# Create a new task
new_task = bw.create_task(property_id=12345, title='Inspect HVAC system')
print(new_task)
```

## Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue.

## License

This project is licensed under the MIT License.
calc-test-sdk 1.0.0
一个简单的加法运算SDK，用于测试PyPI发布
License: MIT
Requires Python: >=3.7

# Calc SDK

一个简单的加法运算 Python SDK，用于测试 PyPI 发布流程。

## 安装

```bash
pip install calc-test-sdk
```

## 使用方法

### 简单加法

```python
from calc_sdk import add

result = add(1, 2)
print(result)  # 输出: 3
```

### 链式计算

```python
from calc_sdk import Calculator

calc = Calculator()
result = calc.add(1).add(2).add(3).result
print(result)  # 输出: 6

# 重置计算器
calc.reset()
result = calc.add(10).add(20).result
print(result)  # 输出: 30
```

## License

MIT License
nonebot-plugin-xiaohongshu 0.1.4
一个用于解析小红书链接的 nonebot2 插件
License: MIT
Requires Python: <4.0,>=3.9
Keywords: nonebot, nonebot2, xiaohongshu, xhs, spider, image, video

# nonebot-plugin-xiaohongshu

_✨ 基于 NoneBot2 的小红书去水印解析插件 ✨_

<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/bytedo/nonebot-plugin-xiaohongshu.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-xiaohongshu">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-xiaohongshu.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">

## 📖 介绍

这是一个用于 NoneBot2 的小红书解析插件,当发送包含小红书链接的消息时会自动解析并发送无水印的图片或视频。

**主要功能：**

- 🔗 **自动识别**：支持小红书分享链接
- 💧 **去水印**：自动提取高清无水印图片或视频
- 📦 **智能合并**：
  - 图片/视频数量 ≤ 3：直接发送媒体消息
  - 图片/视频数量 > 3：合并转发防止刷屏
- 🔌 **API 支持**：支持配置外部 API 接口，保证解析稳定性

## 💿 安装

**使用 nb-cli 安装**

```bash
nb plugin install nonebot-plugin-xiaohongshu
```

**使用 pip 安装**

```bash
pip install nonebot-plugin-xiaohongshu
```

## ⚙️ 配置（可选）

在 NoneBot2 项目的 `.env` 文件中添加以下配置（可选）：

| **配置项** | **类型** | **默认值**        | **说明**          |
| ---------------- | -------------- | ----------------------- | ----------------------- |
| `XHS_API_URL`  | str            | `https://example.com` | 小红书解析 API 接口地址 |

> **说明** ：
>
> 1. 插件默认使用免费公开 API，开箱即用。
> 2. 如遇到接口失效或解析失败，请[自行部署](https://alist.mu-jie.cc/Public/%E5%B0%8F%E7%BA%A2%E4%B9%A6%E8%A7%A3%E6%9E%90node%E6%BA%90%E7%A0%81.zip)小红书解析 API 并在 `.env` 中配置接口

## 🎉 使用

触发方式：

直接在群聊或私聊中发送包含小红书链接的消息即可。

## ⚠️ 免责声明

1. 本插件仅供学习和交流使用，请勿用于非法用途。
2. 插件核心功能依赖第三方 API，无法保证 100% 的可用性。
3. 任何因使用本插件产生的问题，开发者不承担任何责任。
4. 小红书数据版权归原作者所有。

## 许可证

MIT