math/py-unyt 3.1.0 FreeBSD
Package for handling numpy arrays with units
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
3cd2f1c9eb- License
- MIT
- Categories
- math, python
- Package size
- 366.1 KiB, 2273.9 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 |
|---|---|---|
| FreeBSD | math/py-unyt | 3.1.0 |
| DragonFly | math/py-unyt | 3.0.3 |
Install
Binary package:
pkg install py312-unyt
From the ports tree:
cd /usr/ports/math/py-unyt/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-unyt>0:math/py-unyt
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.1.0 | 3.1.0 | - | 3.0.3 | 3.1.0 |
| FreeBSD:14:quarterly | 3.1.0 | 3.1.0 | n/a | 3.0.3 | 3.1.0 |
| FreeBSD:15:latest | 3.1.0 | 3.1.0 | n/a | 3.0.3 | 3.0.3 |
| FreeBSD:15:quarterly | 3.1.0 | 3.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.1.0 | 3.1.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}flit-core>=3.11,<4: devel/py-flit-core
Runtime 3
${PYTHON_PKGNAMEPREFIX}numpy>=1.21.3: math/py-numpy${PYTHON_PKGNAMEPREFIX}packaging>=20.9: devel/py-packaging${PYTHON_PKGNAMEPREFIX}sympy>=1.9.0: math/py-sympy
Test 1
${PYTHON_PKGNAMEPREFIX}pytest-doctestplus>=1.4.0: devel/py-pytest-doctestplus
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 21
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| unyt-3.1.0.tar.gz | 141137 | 771582a87f1e521c9b62f7ca269b1965c0f77b479f7a063a51e8cef8b4cae51d |
Master sites 1
- PYPI