BSD Ports

math/py-unyt 3.0.3 DragonFly

Package for handling numpy arrays with units

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
math, python
Package size
288.0 KiB, 1977.5 KiB installed

Description

A package for handling numpy arrays with units.

Often writing code that deals with data that has units can be confusing. A function might return an array but at least with plain NumPy arrays, there is no way to easily tell what the units of the data are without somehow knowing a priori.

The unyt package (pronounced like "unit") provides a subclass of NumPy's ndarray class that knows about units.

In the other systems

SystemPortVersion
DragonFlymath/py-unyt3.0.3
FreeBSDmath/py-unyt3.2.0
HardenedBSDmath/py-unyt3.1.0
GhostBSDmath/py-unyt3.1.0

Install

Binary package:

pkg install py311-unyt

From DPorts:

cd /usr/dports/math/py-unyt && make install clean

Dependencies

Run dependencies 4
Required by 1