semvec/pypi-packages huggingface dataset:
aiorp 0.1.2
A simple reverse proxy library based on aiohttp.
Requires Python: >=3.10

# aiorp

This is a reverse-proxy package built on top of aiohttp, designed to be lightweight,
but also offering a simple interface to create a reverse-proxy with complex functionality.

NOTE: This package is still in development!

Check out the [docs here](https://aiorp.ktonino.com/unstable).
YoloOnnxDet 0.1.3
A Python package for yolo onnx model detect.
Requires Python: >=3.8

# YoloOnnxDet

## 项目简介
YoloOnnxDet 是一个基于 ONNX 和 C++ DLL 的目标检测 Python 封装，支持高效的图片检测，支持单线程和多线程推理。

## 依赖环境
- Python 3.8+
- numpy
- opencv-python
- ONNX 格式的模型文件

安装依赖：
```bash
pip install numpy opencv-python
```

## 快速开始

1. 准备好 `OnnxDet.dll` 和 ONNX 模型文件。
2. 单线程检测示例：

```python
from YoloOnnxDet import ST_Detector
import cv2

det = ST_Detector("your_model.onnx", names=["class1", "class2"], conf_threshold=0.3, iou_threshold=0.5)
image = cv2.imread("your_image.png")
boxes, scores, class_ids = det.detect(image)
print(boxes, scores, class_ids)
```

3. 多线程检测示例（需先启用多线程功能）：

```python
from YoloOnnxDet import MT_Detector, DevFeature
import cv2

DevFeature.EnableMultithreaded = True
names = ["class1", "class2"]
det = MT_Detector("your_model.onnx", names=names, conf_threshold=0.3, iou_threshold=0.5, workers=4)
image = cv2.imread("your_image.png")
task_id = det.submit_task(image)
det.wait_for_task_completion(task_id)
results = det.get_result(task_id)
print(results)
```

## 资源监控
可通过 `get_pool_status()` 获取多线程池状态，包括队列长度、活跃线程数等。

## 资源释放
建议在检测结束后调用 `cleanup()` 方法释放资源。

## 其他说明
- 多线程检测为开发功能，稳定性有限。
- 支持自定义类别名（names 参数）。
- 需保证 DLL 文件与 Python 文件在同一目录或已配置环境变量。
eot-tools 0.1.0
Tools for working with EOT (Embedded OpenType) font files
Requires Python: <4,>=3.9
Keywords: eot, font

# EOT tools

Tools for working with EOT (Embedded OpenType) font files.

## About

Embedded OpenType (EOT) fonts are a font format mostly used in Microsoft applications. The primary
usage has been as a webfont in Internet Explorer. Nowadays, it is mostly unused, but when dealing
with legacy distributions, we might need a deeper look into their properties. Additionally, tools
like [Fontello](https://github.com/fontello/fontello) still generate EOT font files by default. 

When looking for FOSS tooling around EOT fonts, I could not find any reliable parser that would
allow further inspection of these files. With the specification being [publicly available](https://www.w3.org/submissions/EOT/)
and the files basically being a TTF file with some header/prefix, basic processing is rather
straightforward. Thus, I decided to write a short script for it to later move it into a library
to make metadata/property analysis of EOT possible.

The corresponding TTF files can be analyzed with a much wider variety of tools, for example,
using the [fonttools](https://github.com/fonttools/fonttools) library.

## Features

* Read all defined properties.
* Retrieve the embedded TTF file data. Currently limited to uncompressed and unencrypted data as this
  is what the test files I found use.

## Installation

You can install this package from PyPI:

```bash
python -m pip install eot_tools
```

Alternatively, you can use the package from source directly after installing the required dependencies.

## Usage

To load an EOT file, use the following code:

```python
from eot_tools import EOTFile


eot = EOTFile("Maki.eot")
print(eot.family_name, eot.style_name, eot.version_name)
```

Once the file is loaded, you can use `fonttools` to load the actual font for example:

```python
from io import BytesIO

from eot_tools import EOTFile
from fontTools.ttLib import TTFont


eot = EOTFile("Maki.eot")
with TTFont(file=BytesIO(eot.font_data)) as font:
    print(font)
```

## License

This package is subject to the terms of the MIT license.