fastports

optree 0.19.0

devel/py-optree

Optimized PyTree utilities

Category
devel
Maintainer
sunpoet@FreeBSD.org
WWW
https://optree.readthedocs.io/en/latest/ https://github.com/metaopt/optree
License
APACHE20
USES
cmake:indirect compiler:c++20-lang python

Description

OpTree provides optimized PyTree utilities.

A PyTree is a recursive structure that can be an arbitrarily nested Python
container (e.g., tuple, list, dict, OrderedDict, NamedTuple, etc.) or an opaque
Python object. The key concepts of tree operations are tree flattening and its
inverse (tree unflattening). Additional tree operations can be performed based
on these two basic functions.

Dependencies

Commit History

may be incomplete — full history at freebsd-ports on GitHub

Loading commit history — this may take up to a minute on first view. Reload the page in a moment.