semvec/pypi-packages huggingface dataset:
rustypdf 0.1.1
CLI tool to compress and merge PDFs (Rust backend via PyO3)
License: MIT
Requires Python: >=3.8
Keywords: pdf, compression, merge, cli, rust, pyo3, rustypdf

# RustyPDF (rustypdf)
CLI tool to compress and merge PDF files using a Rust backend exposed to Python via PyO3/maturin.

## Features
- `compress`: Reduce embedded image dimensions (PNG) with a scale factor (1-10). Placeholder JPEG handling.
- `merge`: Concatenate multiple PDFs preserving page order.

## Installation (local build)
```bash
pip install maturin
maturin develop  # or: maturin build --release && pip install target/wheels/rustypdf-*.whl
```

## CLI Usage
```bash
rustypdf --help

rustypdf compress --input input.pdf --output out.pdf --scale 7

rustypdf merge --inputs a.pdf b.pdf c.pdf --output merged.pdf
```

Scale meaning: 1 = minimal compression, 10 = maximum (down to ~25% linear dimension for PNG images). JPEG currently left unchanged (placeholder logic).

## Python API
```python
from rustypdf import compress_pdf, merge_pdfs
merge_pdfs(["a.pdf", "b.pdf"], "merged.pdf")
compress_pdf("in.pdf", "out.pdf", 5)
```


## Notes / Limitations
- Compression is basic and may not always reduce file size, especially for PDFs with already-compressed JPEGs or complex content.
- `rustypdf compress` will automatically detect Ghostscript and, if missing, will best-effort install it using the platform package manager:
	- Linux: apt/dnf/yum/zypper/pacman (requires appropriate privileges)
	- macOS: Homebrew (`brew`) or MacPorts (`port`)
	- Windows: winget/chocolatey/scoop
	If installation fails or permissions are insufficient, the command falls back to Rust-only compression and prints a note.
- Not all PDFs may be supported; complex structures or encrypted PDFs are out of scope for this minimal example.

## License
MIT
siem-hkm-ai-smartcore 1.0.2
A Python library for intelligent building management with BACnet/OPC UA communication and HVAC optimization
License: MIT

# SIEM HKM AI SmartCore

SIEM HKM AI SmartCore 是一个用于智能建筑控制系统优化的Python框架，专注于空调箱(AHU)的智能优化控制，通过机器学习算法和工业通信协议实现建筑环境的高效管理。


## 主要功能

1. 建筑环境参数预测与优化
2. 多输出回归模型训练与评估
3. BACnet协议设备通信与控制
4. OPC UA协议设备通信与控制
5. 传感器数据采集与处理

## 安装方法

```bash
pip install -r requirements.txt
python setup.py install

"Copyright © 2025 Siemens. All rights reserved."