Metadata-Version: 2.4
Name: hyper-post
Version: 0.1.5
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Requires-Dist: numpy>=1.26.4,<3
Requires-Dist: pytest>=8 ; extra == 'dev'
Requires-Dist: scipy==1.17.1 ; extra == 'dev'
Requires-Dist: numpy>=1.26.4,<3 ; extra == 'dev'
Requires-Dist: cryptography>=43 ; extra == 'dev'
Provides-Extra: dev
License-File: LICENSE
Summary: Post-process a NumPy array.
Author: hyper_post contributors
License: MIT
Requires-Python: >=3.11, <3.14
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# hyper-post

```python
from hyper_post import finalize

out = finalize(x, target="y2")
```

## 安装

```text
pip install hyper-post
```

需要 Python 3.11–3.13 和 NumPy 1.26 或 2.x。提供 Windows AMD64 与 Linux x86_64（manylinux_2_28）的 wheel。

## 用法

`target` 选择 `"y1"` 或 `"y2"` 处理配置，必须用关键字传入。`strength` 控制处理强度，取值范围为 `[0, 1]`，默认 `0.05`。输出的数值尺度可能随强度变化；`strength=0` 也不表示原样返回输入。

```python
out = finalize(x, target="y1")
out = finalize(x, target="y2", strength=0.05)
```

输入 `x` 为二维 `float32` 或 `float64` 数组，形状必须是 `(442, 5282)`。返回同形状的新 `float32` 数组，不修改 `x`。不读写文件，不访问网络。

无匹配平台的 wheel 时无法安装，没有纯 Python 后备实现。

## License

MIT

