Port details on branch 2022Q2 |
- py-ndindex Python library for manipulating indices of ndarrays
- 1.8 math =0 1.8Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2021-11-01 13:48:40
- Last Update: 2024-02-21 15:07:54
- Commit Hash: 503c1bc
- Also Listed In: python
- License: MIT
- WWW:
- https://quansight-labs.github.io/ndindex/
- https://github.com/Quansight-Labs/ndindex
- Description:
- ndindex is a library that allows representing and manipulating objects that can
be valid indices to numpy arrays, i.e., slices, integers, ellipses, None,
integer and boolean arrays, and tuples thereof. The goals of the library are:
- Provide a uniform API to manipulate these objects. Unlike the standard index
objects themselves like slice, int, and tuple, which do not share any methods
in common related to being indices, ndindex classes can all be manipulated
uniformly. For example, idx.args always gives the arguments used to construct
idx.
- Give 100% correct semantics as defined by numpy's ndarray. This means that
ndindex will not make a transformation on an index object unless it is correct
for all possible input array shapes. The only exception to this rule is that
ndindex assumes that any given index will not raise IndexError (for instance,
from an out of bounds integer index or from too few dimensions). For those
operations where the array shape is known, there is a reduce() method to
reduce an index to a simpler index that is equivalent for the given shape.
- Enable useful transformation and manipulation functions on index objects.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}ndindex>0:math/py-ndindex@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/math/py-ndindex/ && make install clean
- To add the package, run one of these commands:
- pkg install math/py-ndindex
- pkg install py39-ndindex
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-ndindex listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-ndindex
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1708449398
SHA256 (ndindex-1.8.tar.gz) = 5fc87ebc784605f01dd5367374cb40e8da8f2c30988968990066c5098a7eebe8
SIZE (ndindex-1.8.tar.gz) = 89921
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- archivers/py-blosc2
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for py39-ndindex-1.8:
ARRAYS=off: Array support
===> Use 'make config' to modify these settings
- Options name:
- math_py-ndindex
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|