I Don't Like NumPy

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

AppSignal knows why the f*#k it crashed.
Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
www.appsignal.com
sponsored
Kargo - Stop Scripting Promotions. Start Shipping with Kargo
Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.
akuity.io
sponsored
  1. xarray

    N-D labeled arrays and datasets in Python

    If your arrays have more than two dimensions, please consider using Xarray [1], which adds dimension naming to NumPy arrays. Broadcasting and alignment then becomes automatic without needing to transpose, add dummy axes, or anything like that. I believe that alone solves most of the complaints in the article.

    Compared to NumPy, Xarray is a little thin in certain areas like linear algebra, but since it's very easy to drop back to NumPy from Xarray, what I've done in the past is add little helper functions for any specific NumPy stuff I need that isn't already included, so I only need to understand the NumPy version of the API well enough one time to write that helper function and its tests. (To be clear, though, the majority of NumPy ufuncs are supported out of the box.)

    I'll finish by saying, to contrast with the author, I don't dislike NumPy, but I do find its API and data model to be insufficient for truly multidimensional data. For me three dimensions is the threshold where using Xarray pays off.

    [1] https://xarray.dev

  2. AppSignal

    AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.

    AppSignal logo
  3. numpysane

    more-reasonable core functionality for numpy

    Hear hear! Some of these complaints have been resolved with numpysane: https://github.com/dkogan/numpysane/ . With numpysane and gnuplotlib, I now find numpy acceptable and use it heavily for everything. But yeah; without these it's unusable.

  4. Numba

    NumPy aware dynamic Python compiler using LLVM

    Have you heard of JIT libraries like numba (https://github.com/numba/numba)? It doesn't work for all python code, but can be helpful for the type of function you gave as an example. There's no need to rewrite anything, just add a decorator to the function. I don't really know how performance compares to C, for example.

  5. quickr

    R to Fortran Transpiler

    Or, don't even write the fortran manually, just transpile the R function to fortran: https://github.com/t-kalinowski/quickr

  6. array-api

    RFC document, tooling and other content related to the array API standard

  7. Pytorch

    Tensors and Dynamic neural networks in Python with strong GPU acceleration

    I tried to do something similar with 'first-class' dimension objects in PyTorch https://github.com/pytorch/pytorch/blob/main/functorch/dim/R... .

  8. nptyping

    💡 Type hints for Numpy and Pandas

    You could use third party library like https://github.com/ramonhagenaars/nptyping or https://github.com/beartype/beartype#numpy-arrays but it will not extend to the methode of Numpy.

  9. Kargo

    Stop Scripting Promotions. Start Shipping with Kargo. Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.

    Kargo logo
  10. beartype

    Unbearably fast near-real-time pure-Python runtime-static type-checker.

    You could use third party library like https://github.com/ramonhagenaars/nptyping or https://github.com/beartype/beartype#numpy-arrays but it will not extend to the methode of Numpy.

  11. AxisArrays.jl

    Performant arrays where each dimension can have a named axis with values

  12. tsalib

    Tensor Shape Annotation Library (numpy, tensorflow, pytorch, ...)

  13. tensor_annotations

    Discontinued Annotating tensor shapes using Python types

  14. penzai

    A JAX research toolkit for building, editing, and visualizing neural networks.

  15. mesh

    Discontinued Mesh TensorFlow: Model Parallelism Made Easier (by tensorflow)

  16. torchdim

    Discontinued Named tensors with first-class dimensions for PyTorch

  17. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Redframes

    1 project | news.ycombinator.com | 22 May 2026
  • Open-Source Spin-the-Wheel Website–No Ads, No Trackers

    2 projects | dev.to | 4 Apr 2026
  • Show HN: Tinyvision:-Building Ultra-Lightweight Models for Image Tasks

    1 project | news.ycombinator.com | 29 Mar 2026
  • Bringing NumPy's type-completeness score to nearly 90% – Pyrefly

    6 projects | news.ycombinator.com | 15 Oct 2025
  • Top 5 GitHub Repositories for Data Science in 2026

    8 projects | dev.to | 20 Sep 2025

Did you know that Python is
the 1st most popular programming language
based on number of references?