# Anymatix ComfyUI Nodes Requirements
# 
# This file lists the Python dependencies for Anymatix custom nodes

# Core dependencies
imageio-ffmpeg>=0.4.7    # Automatic FFmpeg management (downloads FFmpeg automatically)
numpy>=1.19.0           # Required for image processing
av>=16.0.1             # PyAV for audio/video processing (used by audio muxing) - pinned to fix NAL parsing

# Added for ControlNet Aux and other nodes that require it
scikit-image

# Optional but recommended
opencv-python>=4.5.0    # For faster image processing (fallback to PIL if not available)
Pillow>=8.0.0          # Image processing fallback if OpenCV not available

# High-performance parallel downloading (optional - graceful fallback if not available)
aiohttp>=3.8.0         # Async HTTP client with HTTP/2 support for ultra-fast downloads
aiofiles>=0.8.0        # Async file I/O for non-blocking operations

# Note: imageio-ffmpeg will automatically download FFmpeg binaries
# No manual FFmpeg installation required!
# Note: aiohttp and aiofiles enable state-of-the-art parallel downloads but are optional

# Added for mask to sam coordinates
shapely                # Manipulation and analysis of geometric objects in the Cartesian plane

# C2PA (Content Credentials) manifest on every result, over the IPTC label
# (anymatix_c2pa.py). Pinned exactly: the manifest was verified against this
# release. Wheels: macOS arm64/x86_64, Windows x64/arm64, manylinux_2_28
# x86_64/aarch64. cryptography generates the per-install signing key.
c2pa-python==0.37.12
cryptography>=42.0.0
