$npx skillfedfor your agent

numbagg

Fast N-dimensional aggregation functions with Numba

Worth itPyPI Scientific/EngineeringReleased Dec 2025974.0K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — numbagg-0.9.4-py3-none-any.whl
v0.9.4 · released 2025-12-15 · Python >=3.10 · 2 runtime deps: numpy, numba

Yes. Numbagg is worth installing if you work with large N-dimensional NumPy arrays and need fast aggregations or moving-window functions, especially on multi-core systems. Low install friction, active maintenance, no known vulnerabilities, and permissive licensing make it a safe choice. The JIT compilation overhead on first call is a minor drawback but typical for Numba-based libraries and acceptable for most scientific workflows.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • First execution of any function triggers JIT compilation, which adds startup latency.
  • Low install friction with a pure Python wheel and only two runtime dependencies (numpy and numba).

License · maintenance · safety

(unclear) — BSD 3-Clause license with portions from Bottleneck (Simplified BSD). Permissive for commercial and private use; requires attribution and license notice in redistributions.

last release 2025-12-15 (242 days) · last repo commit 2026-08-14 · 243 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 974,005 downloads/mo, #4,601 on PyPI

Verify before relying

import numbagg
import numpy as np

arr = np.array([1.0, 2.0, np.nan, 4.0])
result = numbagg.nansum(arr)
# or for moving window:
window_result = numbagg.move_mean(arr, window=2)
  • Whether all listed functions (move_corr, group_nansum, etc.) are fully stable or still experimental.
  • Exact memory overhead of JIT compilation relative to raw numpy for small arrays.
  • Whether axis parameter behavior is documented for >3 dimensions in current release.
Same gist for agents: .md · .json

What it is and what it does

Numbagg is a library of fast aggregation and moving-window functions for N-dimensional NumPy arrays, written in Numba and exposed as generalized ufuncs. It includes standard reductions (nansum, nanmean, nanstd, nanvar), grouping operations (group_nansum, group_nanmean, etc.), moving-window statistics (move_mean, move_std, move_corr), and fill operations (ffill, bfill). The library is designed to outperform pandas and NumPy on multi-core systems through Numba's JIT compilation and parallelization, though single-threaded performance is comparable to NumPy and the first call to any function incurs JIT overhead.

It targets scientific and data-analysis workflows where performance on large arrays matters and flexible axis handling across many dimensions is needed. The main trade-off is that functions are JIT-compiled on first use, so initial calls are slower; subsequent calls are fast. Dependencies are minimal (numpy and numba), and the package supports Python 3.10 and later.

Use it for

  • Compute moving averages and standard deviations on time-series data with NaN handling faster than pandas.
  • Apply grouped aggregations (sum, mean, count) on multi-dimensional scientific data.
  • Calculate rolling correlations and covariances on financial or climate datasets.
  • Forward-fill or backward-fill missing values in large arrays with better performance than pandas.
  • Parallelize custom reductions across multiple cores on arrays too large for pure NumPy.

Worth the install?

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

Worth it

Yes.

Numbagg is worth installing if you work with large N-dimensional NumPy arrays and need fast aggregations or moving-window functions, especially on multi-core systems. Low install friction, active maintenance, no known vulnerabilities, and permissive licensing make it a safe choice. The JIT compilation overhead on first call is a minor drawback but typical for Numba-based libraries and acceptable for most scientific workflows.

Install

numbagg on PyPI

Before you install

Low install friction with a pure Python wheel and only two runtime dependencies (numpy and numba). Actively maintained with a recent release and no known vulnerabilities.

Requires Python 3.10 or later. First execution of any function triggers JIT compilation, which adds startup latency.

License in practice

BSD 3-Clause license with portions from Bottleneck (Simplified BSD). Permissive for commercial and private use; requires attribution and license notice in redistributions.

Quickstart

import numbagg
import numpy as np

arr = np.array([1.0, 2.0, np.nan, 4.0])
result = numbagg.nansum(arr)
# or for moving window:
window_result = numbagg.move_mean(arr, window=2)

Verify before relying

  • Whether all listed functions (move_corr, group_nansum, etc.) are fully stable or still experimental.
  • Exact memory overhead of JIT compilation relative to raw numpy for small arrays.
  • Whether axis parameter behavior is documented for >3 dimensions in current release.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
numpynumba
MaintenanceActively maintained 242 days since the last release
Last repo commit
First released
Downloads974,005 / month, #4,601 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Scientific/Engineering

Evidence: numbagg-0.9.4-py3-none-any.whl

Tags

Capabilities
fast n-dimensional aggregationnumba compiled array functionsmoving window statisticsparallel numpy operationshigh-performance reductionsgrouped array operationsjit compiled aggregations
Topics
jit-compiledparallel-computingscientific-computing

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 › “fast n-dimensional aggregation”

  • numbaggNumbagg provides fast N-dimensional aggregation and moving-window…
  • numpyNumPy provides an N-dimensional array object and a comprehensive…
  • GridDataFormatsGridDataFormats reads and writes n-dimensional grid data from files,…

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

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also Bottleneck · numba · sparse · numpy-groupies · fast-array-utils · mapply · pandarallel · acvl-utils · dask-image