BSD Ports

math/py-numexpr 2.10.2_1 MidnightBSD

Fast numerical array expression evaluator for Python and NumPy

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
math, python

Description

numexpr - Fast numerical array expression evaluator for Python and NumPy.

The numexpr package evaluates multiple-operator array expressions many times faster than NumPy can. It accepts the expression as a string, analyzes it, rewrites it more efficiently, and compiles it to faster Python code on the fly. It's the next best thing to writing the expression in C and compiling it with a specialized just-in-time (JIT) compiler, i.e. it does not require a compiler at runtime.

Also, numexpr has support for the Intel VML (Vector Math Library) -- integrated in Intel MKL (Math Kernel Library) --, allowing nice speed-ups when computing transcendental functions (like trigonometrical, exponentials...) on top of Intel-compatible platforms. This support also allows to use multiple cores in your computations.

In the other systems

SystemPortVersion
MidnightBSDmath/py-numexpr2.10.2_1
FreeBSDmath/py-numexpr2.14.2
OpenBSDmath/py-numexpr2.10.2p1
NetBSDmath/py-numexpr2.14.2
DragonFlymath/py-numexpr2.10.2

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}numexpr

From mports:

cd /usr/mports/math/py-numexpr && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numexpr>0:math/py-numexpr

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
dos2unix python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
numexpr-2.10.2.tar.gz106787b0aff6b48ebc99d2f54f27b5f73a58cb92fde650aeff1b397c71c8788b4fff1a
Master sites 2
  • PYPI
  • https://github.com/pydata/numexpr/releases/download/v2.10.2/