FreeBSD Ports

math/py-numpy-stl 4.0.1

Simple library to make working with STL files fast and easy

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
1736d88c9b
License
BSD3CLAUSE
Categories
math, cad, python
Package size
68.2 KiB, 345.1 KiB installed

Description

Simple library to make working with STL files (and 3D objects in general) fast and easy.

Due to all operations heavily relying on numpy this is one of the fastest STL editing libraries for Python available.

Install

As a binary package — by origin, or by package name:

pkg install math/py-numpy-stl
pkg install py312-numpy_stl

From the ports tree:

cd /usr/ports/math/py-numpy-stl/ && make install clean

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

RUN_DEPENDS=	py312-numpy_stl>0:math/py-numpy-stl

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.0.14.0.1-2.11.3_24.0.1
FreeBSD:14:quarterly4.0.14.0.1n/a2.11.3_24.0.1
FreeBSD:15:latest4.0.14.0.1n/a2.11.3_22.11.3_2
FreeBSD:15:quarterly4.0.14.0.1n/an/an/a
FreeBSD:16:latest4.0.14.0.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 3

Test 3

The full lists below include those, and their dependencies in turn.

All build dependencies 23
All run dependencies 18
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
numpy_stl-4.0.1.tar.gz301521e15e32d7de01fec66706a54c40b234f357c877c07d3add0fbe247aa9151a583
Master sites 1
  • PYPI

Commit history 2

DateCommitCreditsLog message
1736d88c9b Diane Bruce math/py-numpy-stl: update to 4.0.1
numpy-stl 4.0.1 Fixed Resolved all mypy and basedpyright findings; malformed # type: ignore[ty:...] suppressions replaced by typing.cast or restructured code. Replaced argparse.FileType (deprecated since Python 3.14) in the CLI with path arguments opened after parsing; stdin/stdout - semantics unchanged. This also fixes a latent bug where the output file was truncated at argument-parsing time, before the input was validated. The optional speedups were silently disabled with speedups>=2.1.0, which moved ascii_read/ascii_write to the speedups.stl submodule. The import now targets that submodule and the fast extra requires speedups>=2.1.0. Changed CI now enforces all four type checkers (pyrefly, mypy, basedpyright, ty).
b3172d227f Thierry Thomas math/py-numpy-stl: upgrade to 4.0.0
Releases notes at https://github.com/wolph/numpy-stl/releases Also: - add category cad; - change license to BSD 3 clauses; - switch to pep517; - remove cython and strip, and set NO_ARCH. PR: 297446 Approved by: db (maintainer)