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
| System | Port | Version |
|---|---|---|
| DragonFly | math/py-unyt | 3.0.3 |
| FreeBSD | math/py-unyt | 3.2.0 |
| HardenedBSD | math/py-unyt | 3.1.0 |
| GhostBSD | math/py-unyt | 3.1.0 |
Install
Binary package:
pkg install py311-unyt
From DPorts:
cd /usr/dports/math/py-unyt && make install clean