Skip to main content

imgnorm

PyPI version Python License Documentation Status

AI图像处理工具集 —— 涵盖图片等比缩放、Flux Kontext / GPT 图像尺寸适配、比例分析、违禁词检测、ComfyUI服务管理等场景。


特性

  • 图片缩放与归一化

    • image_resize:等比缩放并居中放置到指定画布,支持自定义背景色
    • ImageTool:多功能比例调整,支持标准比例匹配、fill/resize双模式、自定义放大百分比
  • AI 模型尺寸适配

    • FluxKontextImageScale:自动匹配 17 个 Flux Kontext 优选分辨率并缩放
    • GPTImageSizeCalculator:根据比例 + 分辨率档位(1k/2k/4k)生成 gpt-image-2 合法尺寸
  • 图片比例分析

    • ImageRatioAnalyzer:获取精确最简比例(GCD 约分)或近似简单整数比例
  • 内容安全

    • PromptBanChecker:内置加密违禁词库开箱即用,支持自定义词库合并、排除词、Aho-Corasick 大词库加速
  • ComfyUI 服务管理

    • ComfyUIManager:一键触发重启 + 轮询等待服务恢复

安装

pip install imgnorm

可选扩展:

pip install imgnorm[fast]     # 大词库 Aho-Corasick 加速(推荐词库 >50 时安装)
pip install imgnorm[comfyui]  # ComfyUI 服务管理功能
pip install imgnorm[dev]      # 开发环境(包含全部扩展 + pytest)

使用示例

image_resize — 等比缩放居中

from PIL import Image
from imgnorm import image_resize

# 打开图片
img = Image.open("input.jpg")

# 缩放到 640x480,默认黑色背景
result = image_resize(img, 640, 480)
result.save("output.jpg")

# 自定义背景颜色(白色)
result = image_resize(img, 640, 480, bg_color=(255, 255, 255))
result.save("output_white.jpg")

FluxKontextImageScale — Flux Kontext 优选分辨率缩放

from PIL import Image
from imgnorm import FluxKontextImageScale

img = Image.open("input.jpg")

# 自动匹配最接近原图宽高比的 Flux Kontext 优选分辨率并缩放
scaler = FluxKontextImageScale(img)
result = scaler.start()
result.save("output_kontext.jpg")

ImageTool — 多功能比例调整工具

from imgnorm import ImageTool

# 读取图片二进制数据
with open("input.jpg", "rb") as f:
    image_bytes = f.read()

# 自动匹配最接近的标准比例,最小边放大 10%(默认)并填充透明背景
tool = ImageTool()
result_bytes = tool.adjust_size(image_bytes)

# 自定义放大百分比(放大 20%)
result_bytes = tool.adjust_size(image_bytes, expand_percent=20)

# 不缩放(expand_percent=0)
result_bytes = tool.adjust_size(image_bytes, expand_percent=0)

# 指定目标比例 3:4,使用 resize 模式
tool = ImageTool(proportion="3:4", need_adjust="resize")
result_bytes = tool.adjust_size(image_bytes)

# 指定目标比例 1:1,自定义填充色(白色不透明)
tool = ImageTool(proportion="1:1", need_adjust="fill", fill_color=(255, 255, 255, 255))
result_bytes, matched_ratio = tool.adjust_size(image_bytes, return_origin_ratio=True)
print(f"原图匹配比例: {matched_ratio}")

# 保存结果
with open("output.png", "wb") as f:
    f.write(result_bytes)

GPTImageSizeCalculator — gpt-image-2 尺寸计算器

from imgnorm import GPTImageSizeCalculator

# 计算 16:9 比例、2K 分辨率的合法尺寸
result = GPTImageSizeCalculator.calc_size(aspect_ratio="16:9", resolution="2k")
print(result)
# {'width': 2560, 'height': 1440, 'size': '2560x1440', 'pixels': 3686400, 'aspect_ratio': '16:9', 'resolution': '2k', 'valid': True}

# 计算 1:1 比例、4K 分辨率的合法尺寸
result = GPTImageSizeCalculator.calc_size(aspect_ratio="1:1", resolution="4k")
print(result['size'])  # 2880x2880

# 校验尺寸是否合法
is_valid = GPTImageSizeCalculator.is_valid_image_size(1024, 1024)  # True

# 比例超过 3:1 时,默认自动钳位到最近合法比例(保持横竖方向)
result = GPTImageSizeCalculator.calc_size(aspect_ratio="1:10", resolution="4k")
print(result['size'])  # 1280x3840(自动调整为 1:3)

# 严格模式:超限比例直接抛出异常
result = GPTImageSizeCalculator.calc_size(aspect_ratio="1:10", resolution="4k", strict=True)
# → ServiceError: 图像宽高比不合法, 相差太大

ImageRatioAnalyzer — 图片比例分析器

from imgnorm import ImageRatioAnalyzer

with open("input.jpg", "rb") as f:
    image_bytes = f.read()

analyzer = ImageRatioAnalyzer()

raw_ratio = analyzer.get_raw_simple_ratio(image_bytes)
# 精确比例: 74:55
print(f"精确比例: {raw_ratio}")

approx_ratio = analyzer.get_approx_simple_ratio(image_bytes)
# 近似比例: 4:3
print(f"近似比例: {approx_ratio}")

# 调整搜索范围(默认 1~10,增大可匹配更复杂比例)
analyzer = ImageRatioAnalyzer(approx_search_range=20)
# 19:14
print(analyzer.get_approx_simple_ratio(image_bytes))
# 74:55
print(analyzer.get_raw_simple_ratio(image_bytes))

ComfyUIManager — ComfyUI 服务管理

import logging
from imgnorm import ComfyUIManager

# 配置日志(可选)
logger = logging.getLogger("comfyui")
logging.basicConfig(level=logging.DEBUG)

# 创建管理器(默认连接本地 8188 端口)
manager = ComfyUIManager(logger=logger)

# 发起重启并等待服务恢复
success = manager.run_reboot_and_wait()
if success:
    print("服务重启成功")
else:
    print("服务重启超时")

# 自定义配置
manager = ComfyUIManager(
    base_url="http://127.0.0.1:8188",
    timeout=10,
    max_wait_seconds=120,
    poll_interval=3.0,
    logger=logger
)

PromptBanChecker — 提示词违禁词检测

from imgnorm import PromptBanChecker, PromptBanError

# 1. 开箱即用:自动加载内置加密违禁词库(1300+ 词)
checker = PromptBanChecker()

# 2. 内置词库 + 自定义文件合并
checker = PromptBanChecker(ban_word_file="my_words.txt")

# 3. 内置词库 + 运行时注入额外词
checker = PromptBanChecker(builtin_words=["自定义违禁词1", "自定义违禁词2"])

# 4. 排除内置词库中的某些词
checker = PromptBanChecker(exclude_words=["nude", "色情"])

# 5. 关闭内置词库,完全使用自己的
checker = PromptBanChecker(use_default=False, ban_word_file="my_words.txt")

# 校验提示词
try:
    checker.check("some prompt text here")
    print("校验通过")
except PromptBanError as e:
    print(f"违禁词拦截: {e.error_msg}")
    print(f"命中词: {e.extend_data}")

# 查找所有命中词(不抛异常)
hits = checker.find_matched_words("text to check")
print(f"命中: {hits}")

# 重新加载违禁词
checker.load_banned_words()

违禁词加载顺序: 包内置默认词库 → builtin_words 参数 → ban_word_file 用户文件,三者自动合并去重。

性能引擎: 词库 < 50 词自动使用正则预编译;≥ 50 词且已安装 pyahocorasick 时自动切换 Aho-Corasick 算法(O(n) 扫描,与词库大小无关)。

API 说明

image_resize(image, target_w, target_h, bg_color=(0, 0, 0))

将图片等比缩放并居中放置到指定尺寸的画布上。

参数 类型 说明
image PIL.Image.Image 输入图片对象
target_w int 目标宽度
target_h int 目标高度
bg_color tuple 画布背景颜色(RGB 元组),默认黑色 (0, 0, 0)

返回值: 缩放并居中后的 PIL.Image.Image 对象。

处理逻辑:

  1. 创建指定尺寸和背景色的画布
  2. 计算等比缩放比例(取宽、高缩放比的最小值),确保图片完整放入画布
  3. 使用 LANCZOS 算法高质量缩放图片
  4. 计算居中偏移量,将缩放后的图片粘贴到画布中央

FluxKontextImageScale(image)

根据原图宽高比,将图片缩放到最接近的 Flux Kontext 优选分辨率。

参数 类型 说明
image PIL.Image.Image 输入图片对象

方法 start() 计算原图宽高比,从 17 个优选分辨率中匹配最接近的一个,使用 LANCZOS 算法缩放并返回结果图片。

优选分辨率列表(宽×高): 672×1568 · 688×1504 · 720×1456 · 752×1392 · 800×1328 · 832×1248 · 880×1184 · 944×1104 · 1024×1024 · 1104×944 · 1184×880 · 1248×832 · 1328×800 · 1392×752 · 1456×720 · 1504×688 · 1568×672

返回值: 缩放后的 PIL.Image.Image 对象。

ImageTool(proportion=None, need_adjust="fill", fill_color=(255,255,255,0))

多功能图片尺寸调整工具,支持标准比例匹配和两种调整模式。

参数 类型 说明
proportion str | None 目标比例,如 "3:4" / "1:1";空字符串或 None 表示自动匹配
need_adjust str 调整模式:"fill"(画布填充)或 "resize"(拉伸)
fill_color tuple 填充背景色 RGBA,默认透明 (255, 255, 255, 0)

方法 adjust_size(image_bytes, return_origin_ratio=False, expand_percent=10)

参数 类型 说明
image_bytes bytes 图片二进制数据
return_origin_ratio bool 是否同时返回原图匹配的标准比例字符串
expand_percent float 放大百分比,默认 10(放大 10%);传 0 不缩放,负数缩小

返回值: bytes(处理后图片数据);当 return_origin_ratio=True 时返回 (bytes, str)

标准比例池: 1:1 · 2:3 · 3:2 · 3:4 · 4:3 · 4:5 · 5:4 · 9:16 · 16:9 · 21:9

处理逻辑:

  1. proportion 存在且与原图最接近标准比例不一致 → 直接返回原图
  2. proportion 存在且一致 → 反转比例后执行 resize/fill
  3. proportion 为空且 need_adjust="fill" → 最小边按 expand_percent 放大,画布填充
  4. proportion 为空且 need_adjust="resize" → 单边按 expand_percent 放大后拉伸

GPTImageSizeCalculator

gpt-image-2 尺寸计算器,根据比例和分辨率自动生成合法图片尺寸。

类方法:

方法 说明
calc_size(aspect_ratio="1:1", resolution="2k", strict=False) 根据比例和分辨率计算合法尺寸
is_valid_image_size(width, height) 校验尺寸是否合法
round_to_multiple(value, multiple=16) 四舍五入到指定倍数
floor_to_multiple(value, multiple=16) 向下对齐到指定倍数,用于像素超限时压缩

calc_size 参数:

参数 类型 说明
aspect_ratio str 宽高比,如 "1:1" / "16:9" / "4:3"
resolution str 分辨率档位:"1k" / "2k" / "4k"
strict bool 是否严格校验宽高比(≤3:1),默认 False(超限自动钳位到最近合法比例);True 时超限直接抛出 ServiceError

返回值: dict,包含 widthheightsizepixelsaspect_ratioresolutionvalid

合法性约束:

  • 最大边 ≤ 3840
  • 宽高为 16 的倍数
  • 宽高比 ≤ 3:1
  • 像素范围:655,360 ~ 8,294,400

ImageRatioAnalyzer(approx_search_range=10)

图片比例分析工具,获取图片的宽高比信息。

参数 类型 说明
approx_search_range int 近似比例搜索整数范围,默认 1~10

方法:

方法 说明
get_raw_simple_ratio(image_bytes) 获取精确最简宽高比(GCD 约分)
get_approx_simple_ratio(image_bytes) 自动拟合近似简单整数比例

get_raw_simple_ratio 通过最大公约数约分,返回精确的最简比例字符串,如 1920x1080"16:9"

get_approx_simple_ratio 遍历 1~approx_search_range 范围内的整数组合,找到与图片实际比例最接近的简单整数比,返回如 "2:3""16:9"

返回值: 比例字符串(str)。

ComfyUIManager

ComfyUI 服务管理工具,位于 imgnorm.comfyui 子模块。

参数 类型 说明
base_url str 服务地址,默认 "http://127.0.0.1:8188"
timeout int 请求超时秒数,默认 5
max_wait_seconds int 最长等待恢复时间,默认 60
poll_interval float 轮询间隔秒数,默认2.0
logger logging.Logger 日志记录器,默认使用模块logger

方法:

方法 说明
trigger_reboot() 发起重启请求,远程断开视为成功
wait_service_ready() 轮询检测服务是否恢复,超时返回False
run_reboot_and_wait() 完整流程:重启 + 等待,返回bool

工作原理:

  1. 调用 /api/manager/reboot 接口触发重启
  2. 轮询 /api/system_stats 接口,状态码 200 判定恢复
  3. 超时未恢复返回 False

安装: 使用 comfyui 功能需额外安装 requests

pip install imgnorm[comfyui]
# 或
pip install requests>=2.20.0

PromptBanChecker(ban_word_file=None, ignore_case=True, builtin_words=None, use_default=True, exclude_words=None)

提示词违禁词校验工具。内置加密违禁词库开箱即用,支持多来源词库合并、排除词、大词库自动加速。

参数 类型 说明
ban_word_file str | None 用户自定义违禁词文件路径(可选,支持 .txt / .pkl / .pickle
ignore_case bool 是否忽略大小写,默认 True
builtin_words list[str] | None 运行时注入的违禁词列表,与内置词库合并去重
use_default bool 是否加载包内置默认违禁词库,默认 True
exclude_words list[str] | None 从最终词库中排除的词列表

方法:

方法 说明
check(prompt) 校验提示词,命中则抛出 PromptBanError
find_matched_words(text) 查找所有命中词,返回列表
load_banned_words() 重新加载并合并所有来源的违禁词
create_pickle_file(words, output_path) 静态方法:将词列表序列化为 pickle 文件

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

imgnorm-1.0.6-cp314-cp314-win_amd64.whl (272.0 kB view details)

Uploaded CPython 3.14Windows x86-64

imgnorm-1.0.6-cp314-cp314-manylinux_2_17_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

imgnorm-1.0.6-cp313-cp313-win_amd64.whl (266.1 kB view details)

Uploaded CPython 3.13Windows x86-64

imgnorm-1.0.6-cp313-cp313-manylinux_2_17_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

imgnorm-1.0.6-cp312-cp312-win_amd64.whl (270.0 kB view details)

Uploaded CPython 3.12Windows x86-64

imgnorm-1.0.6-cp312-cp312-manylinux_2_17_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

imgnorm-1.0.6-cp311-cp311-win_amd64.whl (268.6 kB view details)

Uploaded CPython 3.11Windows x86-64

imgnorm-1.0.6-cp311-cp311-manylinux_2_17_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

imgnorm-1.0.6-cp310-cp310-win_amd64.whl (269.1 kB view details)

Uploaded CPython 3.10Windows x86-64

imgnorm-1.0.6-cp310-cp310-manylinux_2_17_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

imgnorm-1.0.6-cp39-cp39-win_amd64.whl (270.5 kB view details)

Uploaded CPython 3.9Windows x86-64

imgnorm-1.0.6-cp39-cp39-manylinux_2_17_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

imgnorm-1.0.6-cp38-cp38-win_amd64.whl (276.4 kB view details)

Uploaded CPython 3.8Windows x86-64

imgnorm-1.0.6-cp38-cp38-manylinux_2_17_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

File details

Details for the file imgnorm-1.0.6-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: imgnorm-1.0.6-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 272.0 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for imgnorm-1.0.6-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 93a4feec76a7d97d48b14ec20721a6021f667f15c80e4b9771173060ef96fe1d
MD5 672cf5e462bdfe6de2ffc1c7e7ca6e1b
BLAKE2b-256 a7d2fb8e8f1e0cb9213559afbb0cf4965976aec6ae7b9784ff3f967a45fdb480

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp314-cp314-win_amd64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp314-cp314-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for imgnorm-1.0.6-cp314-cp314-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 9491e55a1acf4dec383fc3bac758e5bfdb1fa0fc7e2569070adf6065182f2dc7
MD5 0e427c2060a0c3dddbf7a80931a9ab7c
BLAKE2b-256 e742005cb3531b427213abaf79b4b8abf58d537103abf4e63c74480dc4531841

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp314-cp314-manylinux_2_17_x86_64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: imgnorm-1.0.6-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 266.1 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for imgnorm-1.0.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3d8d5ffda5f28ba99f8c3d6691609f4937b23a5483d89ccc6f27989195ad7135
MD5 ad9ce903630e8aa5b9b70d29b5ac3f57
BLAKE2b-256 3b93574dc89b186a64bb10df4983db9422ede441467e7cef488c7c7739c1bdd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp313-cp313-win_amd64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp313-cp313-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for imgnorm-1.0.6-cp313-cp313-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 6584683a795338bec80b2f453136c1c8a2a699f838b0e1417398ccb86df03595
MD5 bd42f6eeba8a47e6f11bb52ff5156de8
BLAKE2b-256 671fd1b5c13880b5b81bbf49b2f3358fd29ad13f7bafde9ec0942605eee5f00a

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp313-cp313-manylinux_2_17_x86_64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: imgnorm-1.0.6-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 270.0 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for imgnorm-1.0.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2779e0c2c1f940870c29fe2f5a191dade7429fca20074ccef17ddc90fba0a295
MD5 b8eb3ea66f836ae567caf6bdc685a56d
BLAKE2b-256 11d0274355f348b9632582b4943f4dc93ceaec7158b982178d22fead1a85222a

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp312-cp312-win_amd64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp312-cp312-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for imgnorm-1.0.6-cp312-cp312-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 1fd83f2e9cae2c08673750626906885dd72763f925edca82a9f747289f893412
MD5 6b4bdf356177b1386a6ba5a57ac15e7d
BLAKE2b-256 34673135c2cfbd6ad5f34ad39447cdc438b95205d8a6cd4de88047e906468c11

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp312-cp312-manylinux_2_17_x86_64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: imgnorm-1.0.6-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 268.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for imgnorm-1.0.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 357161b47c5282c813cce3dc7c653415ccd369479cc8dd96225b74e1c5385f57
MD5 1cc45cf64cca716e602dc375956691d2
BLAKE2b-256 7361cb7fd92863d820a7b309d5c3338a067707a982abced1a243b90625abdd0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp311-cp311-win_amd64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp311-cp311-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for imgnorm-1.0.6-cp311-cp311-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 12d1edf5c4cfd9eece7626eef6bc9207d95ef30ffc1d2ca4e7cd436d75416f0d
MD5 28c15a83939f9053963e2c10bb7fab5a
BLAKE2b-256 dffeba6309f2fc50f1104c818c459273165b82ab94cbea0a625260a7153723c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp311-cp311-manylinux_2_17_x86_64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: imgnorm-1.0.6-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 269.1 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for imgnorm-1.0.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7661ce7ac854fb7bdd21d825ae5145482a3f76590db9fb80c2462cf4cc6cb5ca
MD5 beef4dfc5493662776efdbb4fcb3b0ea
BLAKE2b-256 5474dfe1b45821be4d4d6da9c5dd28ad3b58f15b4ed2459dea685f718aa150b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp310-cp310-win_amd64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp310-cp310-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for imgnorm-1.0.6-cp310-cp310-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 9cb424bad3d6e674d6ae63df7dac2832353dab917e7d905de6a80bb8fe791c71
MD5 3ce540531885d6fbefffc685efe601e3
BLAKE2b-256 3e18c229f56668cf2c3a860976bcd01da4ec10b181056876c143141193560708

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp310-cp310-manylinux_2_17_x86_64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: imgnorm-1.0.6-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 270.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for imgnorm-1.0.6-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 086e559da93fd0593e25edf8bbbd19be9ff6b8fd7d6931ef25726a93d2930aa7
MD5 ec86fdbd1f60c643d8529b395a1d6798
BLAKE2b-256 a9305f3b4b2d285f68224eee0d69201af1a7cbe3ff186f8505f3cd2baf55443d

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp39-cp39-win_amd64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp39-cp39-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for imgnorm-1.0.6-cp39-cp39-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d212e0d20dc81f5544da1718f1347ac2ff9d15333f23b14b09b664c7c68ce468
MD5 b6bfdcc5d8eb1ac2dab3cd52b3679cae
BLAKE2b-256 96efa58a58cac32d55342f5ae8f1eabcfb252e8ca9b9428200867a3b16854fe8

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp39-cp39-manylinux_2_17_x86_64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: imgnorm-1.0.6-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 276.4 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for imgnorm-1.0.6-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c078936a06cc12202be41c39b1a5426dcf78a175800280e404e9815a307c8bb6
MD5 dae832cb5c7280d6c7fd44c6c7571698
BLAKE2b-256 88e1f1aa9299de6e2d2215a129a72fe80b413f55a331670f8170f173de662847

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp38-cp38-win_amd64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imgnorm-1.0.6-cp38-cp38-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for imgnorm-1.0.6-cp38-cp38-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 101aa97d385b7bf25e63b2dceb3f45ab0b2d1bab199a763a04813dcd8d98b16b
MD5 3e61fdf6aed1752a23b6e98201ab1b29
BLAKE2b-256 6498059179754083e0381f22dfc30f19684d0dd3ff4725ad17960f33e7c8506f

See more details on using hashes here.

Provenance

The following attestation bundles were made for imgnorm-1.0.6-cp38-cp38-manylinux_2_17_x86_64.whl:

Publisher: wheels.yml on zhenzi0322-package/imgnorm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page