$npx skillfedfor your agent

window-ops

Implementations of window operations such as rolling and expanding.

With conditionsPyPI MathematicsReleased Mar 2024215.8K downloads / moApache Software License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — window_ops-0.0.15-py3-none-any.whl
v0.0.15 · released 2024-03-04 · Python >=3.6 · 2 runtime deps: numba, numpy

Yes, if you have a specific performance bottleneck with rolling or expanding operations on numpy arrays and can tolerate dormant maintenance. The library is stable, permissively licensed, and offers substantial speedups (4x to 78x in the published benchmarks) for its narrow use case. Not recommended if you need active development, broad window function coverage, or integration with pandas DataFrames.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with just two runtime dependencies (numba and numpy).
  • Maintenance is dormant—last commit was 2024-06-02 and no release in over 893 days—so expect no active bug fixes or feature development, though the codebase is stable enough for established use cases.

License · maintenance · safety

Apache Software License 2.0 (permissive) — Apache Software License 2.0 is permissive, allowing commercial and private use with minimal restrictions; you must include a copy of the license and state any modifications.

last release 2024-03-04 (893 days) · last repo commit 2024-06-02 · 44 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 215,813 downloads/mo, #9,393 on PyPI

Verify before relying

pip install window-ops

import numpy as np
from window_ops import rolling_mean

arr = np.array([1.0, 2.0, 3.0, 4.0, 5.0])
result = rolling_mean(arr, window_size=2)
  • Whether numba's JIT compilation overhead is acceptable for your use case's array sizes and call patterns.
  • Compatibility with newer numpy/numba versions beyond the last tested release date.
Same gist for agents: .md · .json

What it is and what it does

window-ops wraps numba-compiled functions to compute rolling, expanding, and seasonal window statistics on numpy arrays. It targets the same operations as pandas rolling and expanding methods but trades pandas' flexibility for raw speed on numeric arrays. The library includes both batch transformations (returning an array of the same length as the input) and online classes that maintain state and emit one result per update, useful for streaming or incremental scenarios.

The package depends on numba and numpy; numba's JIT compilation happens at first call. It supports Python 3.6 through 3.10 and is permissively licensed under Apache 2.0. Maintenance is dormant—the last release was in March 2024 and the repository shows no recent activity—so it is stable for existing use cases but will not receive new features or active bug fixes.

Use it for

  • Accelerate batch computation of rolling means, max, min, or std on large numeric arrays where pandas is too slow.
  • Implement streaming window statistics by using online classes (RollingMean, ExpandingMax, etc.) to update results as new samples arrive.
  • Compute seasonal rolling or expanding operations (e.g., 7-day rolling statistics with a seasonal period) on time-series data.
  • Replace pandas rolling/expanding calls in performance-critical loops where the overhead of pandas indexing is unacceptable.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you have a specific performance bottleneck with rolling or expanding operations on numpy arrays and can tolerate dormant maintenance.

The library is stable, permissively licensed, and offers substantial speedups (4x to 78x in the published benchmarks) for its narrow use case. Not recommended if you need active development, broad window function coverage, or integration with pandas DataFrames.

Install

window-ops on PyPI

Before you install

Low install friction with just two runtime dependencies (numba and numpy). Maintenance is dormant—last commit was 2024-06-02 and no release in over 893 days—so expect no active bug fixes or feature development, though the codebase is stable enough for established use cases.

License in practice

Apache Software License 2.0 is permissive, allowing commercial and private use with minimal restrictions; you must include a copy of the license and state any modifications.

Quickstart

pip install window-ops

import numpy as np
from window_ops import rolling_mean

arr = np.array([1.0, 2.0, 3.0, 4.0, 5.0])
result = rolling_mean(arr, window_size=2)

Verify before relying

  • Whether numba's JIT compilation overhead is acceptable for your use case's array sizes and call patterns.
  • Compatibility with newer numpy/numba versions beyond the last tested release date.

Package facts

LicenseApache Software License 2.0 permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
numbanumpy
MaintenanceDormant 893 days since the last release
Last repo commit
First released
Downloads215,813 / month, #9,393 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: window_ops-0.0.15-py3-none-any.whl

Tags

Capabilities
rolling window operations numpyexpanding window statisticsnumba optimized rolling meanfast window aggregationsseasonal rolling operationsonline window statisticsnumpy array windowing
Topics
performance-optimizationtime-seriesnumba-jit
PyPI keywords
rollingexpanding

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “rolling window operations numpy”

  • window-opsProvides numba-optimized window operations (rolling, expanding,…
  • BottleneckBottleneck provides fast NumPy array functions written in C,…
  • coreforecastProvides fast C++ implementations of time-series transformations and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also flox · Bottleneck · mapply · coreforecast · dbl-tempo · crick · tbats · stockstats · awkward-pandas · numpy-groupies