{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"},{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/6"},{"label":"Sound/Audio","url":"https://skillfed.io/packages/category/multimedia-sound-audio"}],"enrichment":{"capability":"Finds the minimum and maximum values in a NumPy array using C and SIMD optimizations, delivering faster results than separate NumPy amin and amax calls.","skillfed_tags":["performance-optimization","simd","audio-processing"],"use_cases":["Audio signal processing pipelines that need to normalize or clip audio samples by finding their dynamic range in one operation.","Real-time data streaming where you compute min/max statistics on fixed-size buffers for monitoring or scaling.","Scientific computing workflows that repeatedly compute both extrema on large float32 arrays and need lower latency.","Batch image or signal processing where normalization to [0, 1] or [-1, 1] requires both bounds simultaneously.","Performance-critical loops in numerical simulations where the overhead of two separate NumPy calls is measurable."],"what_it_does":"numpy-minmax is a specialized library that computes both the minimum and maximum values of a NumPy array in a single pass using C code with AVX/AVX512 SIMD instructions. It targets the common case where you need both extrema but NumPy's separate amin and amax functions require two passes. The package is optimized for float32 arrays that are C-contiguous, F-contiguous, or 1D strided; it also handles contiguous int16 arrays. For other array layouts (strided arrays with ndim \u2265 2), it falls back to NumPy's standard functions.\n\nThe library depends on numpy and cffi and is distributed as compiled wheels for Python 3.10\u20133.14 across macOS (ARM64), Linux (x86_64, aarch64, musllinux variants), and Windows. It is actively maintained, with the latest release 49 days old, and carries no known security vulnerabilities. The project originated at Nomono, an audio AI startup, and is used for audio processing but applies to any float32 workload where both extrema are needed.","worth_installing":"Yes, if you have a workload that repeatedly computes both min and max on float32 NumPy arrays and latency matters. The package is actively maintained, has no security issues, carries a permissive MIT license, and offers a documented performance advantage. Install friction is moderate due to compilation, but wheels are available for common platforms and Python versions. Not worth installing if you rarely need both extrema together or if your arrays are primarily int16 or non-contiguous."},"id":"numpy-minmax","links":{"html":"https://skillfed.io/packages/numpy-minmax","md":"https://skillfed.io/packages/numpy-minmax.md","pypi":"https://pypi.org/project/numpy-minmax/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-26","license_spdx":null,"license_treatment":"permissive","name":"numpy-minmax","python_support":"unspecified","summary":"A fast python library for finding both min and max value in a NumPy array"},"popularity":{"monthly_downloads":204127,"position":9616,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.0"}
