BSD Ports

misc/py-fast-histogram 0.14_1 DragonFly

Fast simple 1D and 2D histograms

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
misc, python
Package size
27.5 KiB, 130.6 KiB installed

Description

The fast-histogram mini-package aims to provide simple and fast histogram functions for regular bins that don't compromise on performance. It doesn't do anything complicated - it just implements a simple histogram algorithm in C and keeps it simple. The aim is to have functions that are fast but also robust and reliable. The result is a 1D histogram function here that is 7-15x faster than numpy.histogram, and a 2D histogram function that is 20-25x faster than numpy.histogram2d.

In the other systems

SystemPortVersion
DragonFlymisc/py-fast-histogram0.14_1
FreeBSDmisc/py-fast-histogram0.14_3
HardenedBSDmisc/py-fast-histogram0.14_3
GhostBSDmisc/py-fast-histogram0.14_3

Install

Binary package:

pkg install py311-fast-histogram

From DPorts:

cd /usr/dports/misc/py-fast-histogram && make install clean

Dependencies

Run dependencies 3