optree


Nameoptree JSON
Version 0.13.1 PyPI version JSON
download
home_pageNone
SummaryOptimized PyTree Utilities.
upload_time2024-11-12 14:56:01
maintainerNone
docs_urlNone
authorOpTree Contributors
requires_python>=3.7
licenseApache License, Version 2.0
keywords pytree tree manipulation tree traversal functional programming
VCS
bugtrack_url
requirements typing-extensions
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- markdownlint-disable html -->

# OpTree

![Python 3.7+](https://img.shields.io/badge/Python-3.7%2B-brightgreen)
[![PyPI](https://img.shields.io/pypi/v/optree?logo=pypi)](https://pypi.org/project/optree)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/metaopt/optree/build.yml?label=build&logo=github)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/metaopt/optree/tests.yml?label=tests&logo=github)
[![Codecov](https://img.shields.io/codecov/c/github/metaopt/optree/main?logo=codecov)](https://codecov.io/gh/metaopt/optree)
[![Documentation Status](https://img.shields.io/readthedocs/optree?logo=readthedocs)](https://optree.readthedocs.io)
[![Downloads](https://static.pepy.tech/personalized-badge/optree?period=total&left_color=grey&right_color=blue&left_text=downloads)](https://pepy.tech/project/optree)
[![GitHub Repo Stars](https://img.shields.io/github/stars/metaopt/optree?color=brightgreen&logo=github)](https://github.com/metaopt/optree/stargazers)

Optimized PyTree Utilities.

--------------------------------------------------------------------------------

### Table of Contents  <!-- omit in toc --> <!-- markdownlint-disable heading-increment -->

- [Installation](#installation)
- [PyTrees](#pytrees)
  - [Tree Nodes and Leaves](#tree-nodes-and-leaves)
    - [Built-in PyTree Node Types](#built-in-pytree-node-types)
    - [Registering a Container-like Custom Type as Non-leaf Nodes](#registering-a-container-like-custom-type-as-non-leaf-nodes)
    - [Notes about the PyTree Type Registry](#notes-about-the-pytree-type-registry)
  - [`None` is Non-leaf Node vs. `None` is Leaf](#none-is-non-leaf-node-vs-none-is-leaf)
  - [Key Ordering for Dictionaries](#key-ordering-for-dictionaries)
- [Benchmark](#benchmark)
  - [Tree Flatten](#tree-flatten)
  - [Tree UnFlatten](#tree-unflatten)
  - [Tree Flatten with Path](#tree-flatten-with-path)
  - [Tree Copy](#tree-copy)
  - [Tree Map](#tree-map)
  - [Tree Map (nargs)](#tree-map-nargs)
  - [Tree Map with Path](#tree-map-with-path)
  - [Tree Map with Path (nargs)](#tree-map-with-path-nargs)
- [Changelog](#changelog)
- [License](#license)

--------------------------------------------------------------------------------

## Installation

Install from PyPI ([![PyPI](https://img.shields.io/pypi/v/optree?logo=pypi)](https://pypi.org/project/optree) / ![Status](https://img.shields.io/pypi/status/optree)):

```bash
pip3 install --upgrade optree
```

Install from conda-forge ([![conda-forge](https://img.shields.io/conda/v/conda-forge/optree?logo=condaforge)](https://anaconda.org/conda-forge/optree)):

```bash
conda install -c conda-forge optree
```

Install the latest version from GitHub:

```bash
pip3 install git+https://github.com/metaopt/optree.git#egg=optree
```

Or, clone this repo and install manually:

```bash
git clone --depth=1 https://github.com/metaopt/optree.git
cd optree
pip3 install .
```

Compiling from the source requires Python 3.7+, a compiler (`gcc` / `clang` / `icc` / `cl.exe`) that supports C++20 and a `cmake` installation.

--------------------------------------------------------------------------------

## PyTrees

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 (e.g., `tree_map = tree_unflatten ∘ map ∘ tree_flatten`).

Tree flattening is traversing the entire tree in a left-to-right depth-first manner and returning the leaves of the tree in a deterministic order.

```python
>>> tree = {'b': (2, [3, 4]), 'a': 1, 'c': 5, 'd': 6}
>>> optree.tree_flatten(tree)
([1, 2, 3, 4, 5, 6], PyTreeSpec({'a': *, 'b': (*, [*, *]), 'c': *, 'd': *}))
>>> optree.tree_flatten(1)
([1], PyTreeSpec(*))
>>> optree.tree_flatten(None)
([], PyTreeSpec(None))
```

This usually implies that the equal pytrees return equal lists of leaves and the same tree structure.
See also section [Key Ordering for Dictionaries](#key-ordering-for-dictionaries).

```python
>>> {'a': [1, 2], 'b': [3]} == {'b': [3], 'a': [1, 2]}
True
>>> optree.tree_leaves({'a': [1, 2], 'b': [3]}) == optree.tree_leaves({'b': [3], 'a': [1, 2]})
True
>>> optree.tree_structure({'a': [1, 2], 'b': [3]}) == optree.tree_structure({'b': [3], 'a': [1, 2]})
True
```

### Tree Nodes and Leaves

A tree is a collection of non-leaf nodes and leaf nodes, where the leaf nodes have no children to flatten.
`optree.tree_flatten(...)` will flatten the tree and return a list of leaf nodes while the non-leaf nodes will store in the tree specification.

#### Built-in PyTree Node Types

OpTree out-of-box supports the following Python container types in the registry:

- [`tuple`](https://docs.python.org/3/library/stdtypes.html#tuple)
- [`list`](https://docs.python.org/3/library/stdtypes.html#list)
- [`dict`](https://docs.python.org/3/library/stdtypes.html#dict)
- [`collections.namedtuple`](https://docs.python.org/3/library/collections.html#collections.namedtuple) and its subclasses
- [`collections.OrderedDict`](https://docs.python.org/3/library/collections.html#collections.OrderedDict)
- [`collections.defaultdict`](https://docs.python.org/3/library/collections.html#collections.defaultdict)
- [`collections.deque`](https://docs.python.org/3/library/collections.html#collections.deque)
- [`PyStructSequence`](https://docs.python.org/3/c-api/tuple.html#struct-sequence-objects) types created by C API [`PyStructSequence_NewType`](https://docs.python.org/3/c-api/tuple.html#c.PyStructSequence_NewType)

which are considered non-leaf nodes in the tree.
Python objects that the type is not registered will be treated as leaf nodes.
The registry lookup uses the `is` operator to determine whether the type is matched.
So subclasses will need to explicitly register in the registry, otherwise, an object of that type will be considered a leaf.
The [`NoneType`](https://docs.python.org/3/library/constants.html#None) is a special case discussed in section [`None` is non-leaf Node vs. `None` is Leaf](#none-is-non-leaf-node-vs-none-is-leaf).

#### Registering a Container-like Custom Type as Non-leaf Nodes

A container-like Python type can be registered in the type registry with a pair of functions that specify:

- `flatten_func(container) -> (children, metadata, entries)`: convert an instance of the container type to a `(children, metadata, entries)` triple, where `children` is an iterable of subtrees and `entries` is an iterable of path entries of the container (e.g., indices or keys).
- `unflatten_func(metadata, children) -> container`: convert such a pair back to an instance of the container type.

The `metadata` is some necessary data apart from the children to reconstruct the container, e.g., the keys of the dictionary (the children are values).

The `entries` can be omitted (only returns a pair) or is optional to implement (returns `None`). If so, use `range(len(children))` (i.e., flat indices) as path entries of the current node. The function signature can be `flatten_func(container) -> (children, metadata)` or `flatten_func(container) -> (children, metadata, None)`.

The following examples show how to register custom types and utilize them for `tree_flatten` and `tree_map`. Please refer to section [Notes about the PyTree Type Registry](#notes-about-the-pytree-type-registry) for more information.

```python
# Registry a Python type with lambda functions
optree.register_pytree_node(
    set,
    # (set) -> (children, metadata, None)
    lambda s: (sorted(s), None, None),
    # (metadata, children) -> (set)
    lambda _, children: set(children),
    namespace='set',
)

# Register a Python type into a namespace
import torch

class Torch2NumpyEntry(optree.PyTreeEntry):
    def __call__(self, obj):
        assert self.entry == 0
        return obj.cpu().detach().numpy()

    def codify(self, node=''):
        assert self.entry == 0
        return f'{node}.cpu().detach().numpy()'

optree.register_pytree_node(
    torch.Tensor,
    # (tensor) -> (children, metadata)
    flatten_func=lambda tensor: (
        (tensor.cpu().detach().numpy(),),
        {'dtype': tensor.dtype, 'device': tensor.device, 'requires_grad': tensor.requires_grad},
    ),
    # (metadata, children) -> tensor
    unflatten_func=lambda metadata, children: torch.tensor(children[0], **metadata),
    path_entry_type=Torch2NumpyEntry,
    namespace='torch2numpy',
)
```

```python
>>> tree = {'weight': torch.ones(size=(1, 2)).cuda(), 'bias': torch.zeros(size=(2,))}
>>> tree
{'weight': tensor([[1., 1.]], device='cuda:0'), 'bias': tensor([0., 0.])}

# Flatten without specifying the namespace
>>> optree.tree_flatten(tree)  # `torch.Tensor`s are leaf nodes
([tensor([0., 0.]), tensor([[1., 1.]], device='cuda:0')], PyTreeSpec({'bias': *, 'weight': *}))

# Flatten with the namespace
>>> leaves, treespec = optree.tree_flatten(tree, namespace='torch2numpy')
>>> leaves, treespec
(
    [array([0., 0.], dtype=float32), array([[1., 1.]], dtype=float32)],
    PyTreeSpec(
        {
            'bias': CustomTreeNode(Tensor[{'dtype': torch.float32, 'device': device(type='cpu'), 'requires_grad': False}], [*]),
            'weight': CustomTreeNode(Tensor[{'dtype': torch.float32, 'device': device(type='cuda', index=0), 'requires_grad': False}], [*])
        },
        namespace='torch2numpy'
    )
)

# `entries` are not defined and use `range(len(children))`
>>> optree.tree_paths(tree, namespace='torch2numpy')
[('bias', 0), ('weight', 0)]

# Custom path entry type defines the pytree access behavior
>>> optree.tree_accessors(tree, namespace='torch2numpy')
[
    PyTreeAccessor(*['bias'].cpu().detach().numpy(), (MappingEntry(key='bias', type=<class 'dict'>), Torch2NumpyEntry(entry=0, type=<class 'torch.Tensor'>))),
    PyTreeAccessor(*['weight'].cpu().detach().numpy(), (MappingEntry(key='weight', type=<class 'dict'>), Torch2NumpyEntry(entry=0, type=<class 'torch.Tensor'>)))
]

# Unflatten back to a copy of the original object
>>> optree.tree_unflatten(treespec, leaves)
{'weight': tensor([[1., 1.]], device='cuda:0'), 'bias': tensor([0., 0.])}
```

Users can also extend the pytree registry by decorating the custom class and defining an instance method `tree_flatten` and a class method `tree_unflatten`.

```python
from collections import UserDict

@optree.register_pytree_node_class(namespace='mydict')
class MyDict(UserDict):
    TREE_PATH_ENTRY_TYPE = optree.MappingEntry  # used by accessor APIs

    def tree_flatten(self):  # -> (children, metadata, entries)
        reversed_keys = sorted(self.keys(), reverse=True)
        return (
            [self[key] for key in reversed_keys],  # children
            reversed_keys,  # metadata
            reversed_keys,  # entries
        )

    @classmethod
    def tree_unflatten(cls, metadata, children):
        return cls(zip(metadata, children))
```

```python
>>> tree = MyDict(b=4, a=(2, 3), c=MyDict({'d': 5, 'f': 6}))

# Flatten without specifying the namespace
>>> optree.tree_flatten_with_path(tree)  # `MyDict`s are leaf nodes
(
    [()],
    [MyDict(b=4, a=(2, 3), c=MyDict({'d': 5, 'f': 6}))],
    PyTreeSpec(*)
)

# Flatten with the namespace
>>> optree.tree_flatten_with_path(tree, namespace='mydict')
(
    [('c', 'f'), ('c', 'd'), ('b',), ('a', 0), ('a', 1)],
    [6, 5, 4, 2, 3],
    PyTreeSpec(
        CustomTreeNode(MyDict[['c', 'b', 'a']], [CustomTreeNode(MyDict[['f', 'd']], [*, *]), *, (*, *)]),
        namespace='mydict'
    )
)
>>> optree.tree_flatten_with_accessor(tree, namespace='mydict')
(
    [
        PyTreeAccessor(*['c']['f'], (MappingEntry(key='c', type=<class 'MyDict'>), MappingEntry(key='f', type=<class 'MyDict'>))),
        PyTreeAccessor(*['c']['d'], (MappingEntry(key='c', type=<class 'MyDict'>), MappingEntry(key='d', type=<class 'MyDict'>))),
        PyTreeAccessor(*['b'], (MappingEntry(key='b', type=<class 'MyDict'>),)),
        PyTreeAccessor(*['a'][0], (MappingEntry(key='a', type=<class 'MyDict'>), SequenceEntry(index=0, type=<class 'tuple'>))),
        PyTreeAccessor(*['a'][1], (MappingEntry(key='a', type=<class 'MyDict'>), SequenceEntry(index=1, type=<class 'tuple'>)))
    ],
    [6, 5, 4, 2, 3],
    PyTreeSpec(
        CustomTreeNode(MyDict[['c', 'b', 'a']], [CustomTreeNode(MyDict[['f', 'd']], [*, *]), *, (*, *)]),
        namespace='mydict'
    )
)
```

#### Notes about the PyTree Type Registry

There are several key attributes of the pytree type registry:

1. **The type registry is per-interpreter-dependent.** This means registering a custom type in the registry affects all modules that use OpTree.

> [!WARNING]
> For safety reasons, a `namespace` must be specified while registering a custom type. It is
> used to isolate the behavior of flattening and unflattening a pytree node type. This is to
> prevent accidental collisions between different libraries that may register the same type.

2. **The elements in the type registry are immutable.** Users can neither register the same type twice in the same namespace (i.e., update the type registry), nor remove a type from the type registry. To update the behavior of an already registered type, simply register it again with another `namespace`.

3. **Users cannot modify the behavior of already registered built-in types** listed in [Built-in PyTree Node Types](#built-in-pytree-node-types), such as key order sorting for `dict` and `collections.defaultdict`.

4. **Inherited subclasses are not implicitly registered.** The registry lookup uses `type(obj) is registered_type` rather than `isinstance(obj, registered_type)`. Users need to register the subclasses explicitly. To register all subclasses, it is easy to implement with [`metaclass`](https://docs.python.org/3/reference/datamodel.html#metaclasses) or [`__init_subclass__`](https://docs.python.org/3/reference/datamodel.html#customizing-class-creation), for example:

    ```python
    from collections import UserDict

    @optree.register_pytree_node_class(namespace='mydict')
    class MyDict(UserDict):
        TREE_PATH_ENTRY_TYPE = optree.MappingEntry  # used by accessor APIs

        def __init_subclass__(cls):  # define this in the base class
            super().__init_subclass__()
            # Register a subclass to namespace 'mydict'
            optree.register_pytree_node_class(cls, namespace='mydict')

        def tree_flatten(self):  # -> (children, metadata, entries)
            reversed_keys = sorted(self.keys(), reverse=True)
            return (
                [self[key] for key in reversed_keys],  # children
                reversed_keys,  # metadata
                reversed_keys,  # entries
            )

        @classmethod
        def tree_unflatten(cls, metadata, children):
            return cls(zip(metadata, children))

    # Subclasses will be automatically registered in namespace 'mydict'
    class MyAnotherDict(MyDict):
        pass
    ```

    ```python
    >>> tree = MyDict(b=4, a=(2, 3), c=MyAnotherDict({'d': 5, 'f': 6}))
    >>> optree.tree_flatten_with_path(tree, namespace='mydict')
    (
        [('c', 'f'), ('c', 'd'), ('b',), ('a', 0), ('a', 1)],
        [6, 5, 4, 2, 3],
        PyTreeSpec(
            CustomTreeNode(MyDict[['c', 'b', 'a']], [CustomTreeNode(MyAnotherDict[['f', 'd']], [*, *]), *, (*, *)]),
            namespace='mydict'
        )
    )
    >>> optree.tree_accessors(tree, namespace='mydict')
    [
        PyTreeAccessor(*['c']['f'], (MappingEntry(key='c', type=<class 'MyDict'>), MappingEntry(key='f', type=<class 'MyAnotherDict'>))),
        PyTreeAccessor(*['c']['d'], (MappingEntry(key='c', type=<class 'MyDict'>), MappingEntry(key='d', type=<class 'MyAnotherDict'>))),
        PyTreeAccessor(*['b'], (MappingEntry(key='b', type=<class 'MyDict'>),)),
        PyTreeAccessor(*['a'][0], (MappingEntry(key='a', type=<class 'MyDict'>), SequenceEntry(index=0, type=<class 'tuple'>))),
        PyTreeAccessor(*['a'][1], (MappingEntry(key='a', type=<class 'MyDict'>), SequenceEntry(index=1, type=<class 'tuple'>)))
    ]
    ```

5. **Be careful about the potential infinite recursion of the custom flatten function.** The returned `children` from the custom flatten function are considered subtrees. They will be further flattened recursively. The `children` can have the same type as the current node. Users must design their termination condition carefully.

    ```python
    import numpy as np
    import torch

    optree.register_pytree_node(
        np.ndarray,
        # Children are nest lists of Python objects
        lambda array: (np.atleast_1d(array).tolist(), array.ndim == 0),
        lambda scalar, rows: np.asarray(rows) if not scalar else np.asarray(rows[0]),
        namespace='numpy1',
    )

    optree.register_pytree_node(
        np.ndarray,
        # Children are Python objects
        lambda array: (
            list(array.ravel()),  # list(1DArray[T]) -> List[T]
            dict(shape=array.shape, dtype=array.dtype)
        ),
        lambda metadata, children: np.asarray(children, dtype=metadata['dtype']).reshape(metadata['shape']),
        namespace='numpy2',
    )

    optree.register_pytree_node(
        np.ndarray,
        # Returns a list of `np.ndarray`s without termination condition
        lambda array: ([array.ravel()], array.dtype),
        lambda shape, children: children[0].reshape(shape),
        namespace='numpy3',
    )

    optree.register_pytree_node(
        torch.Tensor,
        # Children are nest lists of Python objects
        lambda tensor: (torch.atleast_1d(tensor).tolist(), tensor.ndim == 0),
        lambda scalar, rows: torch.tensor(rows) if not scalar else torch.tensor(rows[0])),
        namespace='torch1',
    )

    optree.register_pytree_node(
        torch.Tensor,
        # Returns a list of `torch.Tensor`s without termination condition
        lambda tensor: (
            list(tensor.view(-1)),  # list(1DTensor[T]) -> List[0DTensor[T]] (STILL TENSORS!)
            tensor.shape
        ),
        lambda shape, children: torch.stack(children).reshape(shape),
        namespace='torch2',
    )
    ```

    ```python
    >>> optree.tree_flatten(np.arange(9).reshape(3, 3), namespace='numpy1')
    (
        [0, 1, 2, 3, 4, 5, 6, 7, 8],
        PyTreeSpec(
            CustomTreeNode(ndarray[False], [[*, *, *], [*, *, *], [*, *, *]]),
            namespace='numpy1'
        )
    )
    # Implicitly casts `float`s to `np.float64`
    >>> optree.tree_map(lambda x: x + 1.5, np.arange(9).reshape(3, 3), namespace='numpy1')
    array([[1.5, 2.5, 3.5],
           [4.5, 5.5, 6.5],
           [7.5, 8.5, 9.5]])

    >>> optree.tree_flatten(np.arange(9).reshape(3, 3), namespace='numpy2')
    (
        [0, 1, 2, 3, 4, 5, 6, 7, 8],
        PyTreeSpec(
            CustomTreeNode(ndarray[{'shape': (3, 3), 'dtype': dtype('int64')}], [*, *, *, *, *, *, *, *, *]),
            namespace='numpy2'
        )
    )
    # Explicitly casts `float`s to `np.int64`
    >>> optree.tree_map(lambda x: x + 1.5, np.arange(9).reshape(3, 3), namespace='numpy2')
    array([[1, 2, 3],
           [4, 5, 6],
           [7, 8, 9]])

    # Children are also `np.ndarray`s, recurse without termination condition.
    >>> optree.tree_flatten(np.arange(9).reshape(3, 3), namespace='numpy3')
    Traceback (most recent call last):
        ...
    RecursionError: Maximum recursion depth exceeded during flattening the tree.

    >>> optree.tree_flatten(torch.arange(9).reshape(3, 3), namespace='torch1')
    (
        [0, 1, 2, 3, 4, 5, 6, 7, 8],
        PyTreeSpec(
            CustomTreeNode(Tensor[False], [[*, *, *], [*, *, *], [*, *, *]]),
            namespace='torch1'
        )
    )
    # Implicitly casts `float`s to `torch.float32`
    >>> optree.tree_map(lambda x: x + 1.5, torch.arange(9).reshape(3, 3), namespace='torch1')
    tensor([[1.5000, 2.5000, 3.5000],
            [4.5000, 5.5000, 6.5000],
            [7.5000, 8.5000, 9.5000]])

    # Children are also `torch.Tensor`s, recurse without termination condition.
    >>> optree.tree_flatten(torch.arange(9).reshape(3, 3), namespace='torch2')
    Traceback (most recent call last):
        ...
    RecursionError: Maximum recursion depth exceeded during flattening the tree.
    ```

### `None` is Non-leaf Node vs. `None` is Leaf

The [`None`](https://docs.python.org/3/library/constants.html#None) object is a special object in the Python language.
It serves some of the same purposes as `null` (a pointer does not point to anything) in other programming languages, which denotes a variable is empty or marks default parameters.
However, the `None` object is a singleton object rather than a pointer.
It may also serve as a sentinel value.
In addition, if a function has returned without any return value or the return statement is omitted, the function will also implicitly return the `None` object.

By default, the `None` object is considered a non-leaf node in the tree with arity 0, i.e., _**a non-leaf node that has no children**_.
This is like the behavior of an empty tuple.
While flattening a tree, it will remain in the tree structure definitions rather than in the leaves list.

```python
>>> tree = {'b': (2, [3, 4]), 'a': 1, 'c': None, 'd': 5}
>>> optree.tree_flatten(tree)
([1, 2, 3, 4, 5], PyTreeSpec({'a': *, 'b': (*, [*, *]), 'c': None, 'd': *}))
>>> optree.tree_flatten(tree, none_is_leaf=True)
([1, 2, 3, 4, None, 5], PyTreeSpec({'a': *, 'b': (*, [*, *]), 'c': *, 'd': *}, NoneIsLeaf))
>>> optree.tree_flatten(1)
([1], PyTreeSpec(*))
>>> optree.tree_flatten(None)
([], PyTreeSpec(None))
>>> optree.tree_flatten(None, none_is_leaf=True)
([None], PyTreeSpec(*, NoneIsLeaf))
```

OpTree provides a keyword argument `none_is_leaf` to determine whether to consider the `None` object as a leaf, like other opaque objects.
If `none_is_leaf=True`, the `None` object will be placed in the leaves list.
Otherwise, the `None` object will remain in the tree specification (structure).

```python
>>> import torch

>>> linear = torch.nn.Linear(in_features=3, out_features=2, bias=False)
>>> linear._parameters  # a container has None
OrderedDict({
    'weight': Parameter containing:
              tensor([[-0.6677,  0.5209,  0.3295],
                      [-0.4876, -0.3142,  0.1785]], requires_grad=True),
    'bias': None
})

>>> optree.tree_map(torch.zeros_like, linear._parameters)
OrderedDict({
    'weight': tensor([[0., 0., 0.],
                      [0., 0., 0.]]),
    'bias': None
})

>>> optree.tree_map(torch.zeros_like, linear._parameters, none_is_leaf=True)
Traceback (most recent call last):
    ...
TypeError: zeros_like(): argument 'input' (position 1) must be Tensor, not NoneType

>>> optree.tree_map(lambda t: torch.zeros_like(t) if t is not None else 0, linear._parameters, none_is_leaf=True)
OrderedDict({
    'weight': tensor([[0., 0., 0.],
                      [0., 0., 0.]]),
    'bias': 0
})
```

### Key Ordering for Dictionaries

The built-in Python dictionary (i.e., [`builtins.dict`](https://docs.python.org/3/library/stdtypes.html#dict)) is an unordered mapping that holds the keys and values.
The leaves of a dictionary are the values. Although since Python 3.6, the built-in dictionary is insertion ordered ([PEP 468](https://peps.python.org/pep-0468)).
The dictionary equality operator (`==`) does not check for key ordering.
To ensure [referential transparency](https://en.wikipedia.org/wiki/Referential_transparency) that "equal `dict`" implies "equal ordering of leaves", the order of values of the dictionary is sorted by the keys.
This behavior is also applied to [`collections.defaultdict`](https://docs.python.org/3/library/collections.html#collections.defaultdict).

```python
>>> optree.tree_flatten({'a': [1, 2], 'b': [3]})
([1, 2, 3], PyTreeSpec({'a': [*, *], 'b': [*]}))
>>> optree.tree_flatten({'b': [3], 'a': [1, 2]})
([1, 2, 3], PyTreeSpec({'a': [*, *], 'b': [*]}))
```

If users want to keep the values in the insertion order in pytree traversal, they should use [`collections.OrderedDict`](https://docs.python.org/3/library/collections.html#collections.OrderedDict), which will take the order of keys under consideration:

```python
>>> OrderedDict([('a', [1, 2]), ('b', [3])]) == OrderedDict([('b', [3]), ('a', [1, 2])])
False
>>> optree.tree_flatten(OrderedDict([('a', [1, 2]), ('b', [3])]))
([1, 2, 3], PyTreeSpec(OrderedDict({'a': [*, *], 'b': [*]})))
>>> optree.tree_flatten(OrderedDict([('b', [3]), ('a', [1, 2])]))
([3, 1, 2], PyTreeSpec(OrderedDict({'b': [*], 'a': [*, *]})))
```

**Since OpTree v0.9.0, the key order of the reconstructed output dictionaries from `tree_unflatten` is guaranteed to be consistent with the key order of the input dictionaries in `tree_flatten`.**

```python
>>> leaves, treespec = optree.tree_flatten({'b': [3], 'a': [1, 2]})
>>> leaves, treespec
([1, 2, 3], PyTreeSpec({'a': [*, *], 'b': [*]}))
>>> optree.tree_unflatten(treespec, leaves)
{'b': [3], 'a': [1, 2]}
>>> optree.tree_map(lambda x: x, {'b': [3], 'a': [1, 2]})
{'b': [3], 'a': [1, 2]}
>>> optree.tree_map(lambda x: x + 1, {'b': [3], 'a': [1, 2]})
{'b': [4], 'a': [2, 3]}
```

This property is also preserved during serialization/deserialization.

```python
>>> leaves, treespec = optree.tree_flatten({'b': [3], 'a': [1, 2]})
>>> leaves, treespec
([1, 2, 3], PyTreeSpec({'a': [*, *], 'b': [*]}))
>>> restored_treespec = pickle.loads(pickle.dumps(treespec))
>>> optree.tree_unflatten(treespec, leaves)
{'b': [3], 'a': [1, 2]}
>>> optree.tree_unflatten(restored_treespec, leaves)
{'b': [3], 'a': [1, 2]}
```

> [!NOTE]
> Note that there are no restrictions on the `dict` to require the keys to be comparable (sortable).
> There can be multiple types of keys in the dictionary.
> The keys are sorted in ascending order by `key=lambda k: k` first if capable otherwise fallback to `key=lambda k: (f'{k.__class__.__module__}.{k.__class__.__qualname__}', k)`. This handles most cases.
>
> ```python
> >>> sorted({1: 2, 1.5: 1}.keys())
> [1, 1.5]
> >>> sorted({'a': 3, 1: 2, 1.5: 1}.keys())
> Traceback (most recent call last):
>     ...
> TypeError: '<' not supported between instances of 'int' and 'str'
> >>> sorted({'a': 3, 1: 2, 1.5: 1}.keys(), key=lambda k: (f'{k.__class__.__module__}.{k.__class__.__qualname__}', k))
> [1.5, 1, 'a']
> ```

--------------------------------------------------------------------------------

## Benchmark

We benchmark the performance of:

- tree flatten
- tree unflatten
- tree copy (i.e., `unflatten(flatten(...))`)
- tree map

compared with the following libraries:

- OpTree ([`@v0.9.0`](https://github.com/metaopt/optree/tree/v0.9.0))
- JAX XLA ([`jax[cpu] == 0.4.6`](https://pypi.org/project/jax/0.4.6))
- PyTorch ([`torch == 2.0.0`](https://pypi.org/project/torch/2.0.0))
- DM-Tree ([`dm-tree == 0.1.8`](https://pypi.org/project/dm-tree/0.1.8))

| Average Time Cost (↓)      | OpTree (v0.9.0) | JAX XLA (v0.4.6) | PyTorch (v2.0.0) | DM-Tree (v0.1.8) |
| :------------------------- | --------------: | ---------------: | ---------------: | ---------------: |
| Tree Flatten               |           x1.00 |             2.33 |            22.05 |             1.12 |
| Tree UnFlatten             |           x1.00 |             2.69 |             4.28 |            16.23 |
| Tree Flatten with Path     |           x1.00 |            16.16 |    Not Supported |            27.59 |
| Tree Copy                  |           x1.00 |             2.56 |             9.97 |            11.02 |
| Tree Map                   |           x1.00 |             2.56 |             9.58 |            10.62 |
| Tree Map (nargs)           |           x1.00 |             2.89 |    Not Supported |            31.33 |
| Tree Map with Path         |           x1.00 |             7.23 |    Not Supported |            19.66 |
| Tree Map with Path (nargs) |           x1.00 |             6.56 |    Not Supported |            29.61 |

All results are reported on a workstation with an AMD Ryzen 9 5950X CPU @ 4.45GHz in an isolated virtual environment with Python 3.10.9.
Run with the following commands:

```bash
conda create --name optree-benchmark anaconda::python=3.10 --yes --no-default-packages
conda activate optree-benchmark
python3 -m pip install --editable '.[benchmark]' --extra-index-url https://download.pytorch.org/whl/cpu
python3 benchmark.py --number=10000 --repeat=5
```

The test inputs are nested containers (i.e., pytrees) extracted from `torch.nn.Module` objects.
They are:

```python
tiny_mlp = nn.Sequential(
    nn.Linear(1, 1, bias=True),
    nn.BatchNorm1d(1, affine=True, track_running_stats=True),
    nn.ReLU(),
    nn.Linear(1, 1, bias=False),
    nn.Sigmoid(),
)
```

and AlexNet, ResNet18, ResNet34, ResNet50, ResNet101, ResNet152, VisionTransformerH14 (ViT-H/14), and SwinTransformerB (Swin-B) from [`torchvsion`](https://github.com/pytorch/vision).
Please refer to [`benchmark.py`](https://github.com/metaopt/optree/blob/HEAD/benchmark.py) for more details.

### Tree Flatten

| Module    | Nodes | OpTree (μs) | JAX XLA (μs) | PyTorch (μs) | DM-Tree (μs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |
| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |
| TinyMLP   |    53 |       29.70 |        71.06 |       583.66 |        31.32 |            2.39 |           19.65 |            1.05 |
| AlexNet   |   188 |      103.92 |       262.56 |      2304.36 |       119.61 |            2.53 |           22.17 |            1.15 |
| ResNet18  |   698 |      368.06 |       852.69 |      8440.31 |       420.43 |            2.32 |           22.93 |            1.14 |
| ResNet34  |  1242 |      644.96 |      1461.55 |     14498.81 |       712.81 |            2.27 |           22.48 |            1.11 |
| ResNet50  |  1702 |      919.95 |      2080.58 |     20995.96 |      1006.42 |            2.26 |           22.82 |            1.09 |
| ResNet101 |  3317 |     1806.36 |      3996.90 |     40314.12 |      1955.48 |            2.21 |           22.32 |            1.08 |
| ResNet152 |  4932 |     2656.92 |      5812.38 |     57775.53 |      2826.92 |            2.19 |           21.75 |            1.06 |
| ViT-H/14  |  3420 |     1863.50 |      4418.24 |     41334.64 |      2128.71 |            2.37 |           22.18 |            1.14 |
| Swin-B    |  2881 |     1631.06 |      3944.13 |     36131.54 |      2032.77 |            2.42 |           22.15 |            1.25 |
|           |       |             |              |              |  **Average** |        **2.33** |       **22.05** |        **1.12** |

<div align="center">
  <img src="https://user-images.githubusercontent.com/16078332/227140610-dce44f1b-3a91-43e6-85b5-7566ae4c8769.png" width="90%" />
</div>

### Tree UnFlatten

| Module    | Nodes | OpTree (μs) | JAX XLA (μs) | PyTorch (μs) | DM-Tree (μs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |
| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |
| TinyMLP   |    53 |       55.13 |       152.07 |       231.94 |       940.11 |            2.76 |            4.21 |           17.05 |
| AlexNet   |   188 |      226.29 |       678.29 |       972.90 |      4195.04 |            3.00 |            4.30 |           18.54 |
| ResNet18  |   698 |      766.54 |      1953.26 |      3137.86 |     12049.88 |            2.55 |            4.09 |           15.72 |
| ResNet34  |  1242 |     1309.22 |      3526.12 |      5759.16 |     20966.75 |            2.69 |            4.40 |           16.01 |
| ResNet50  |  1702 |     1914.96 |      5002.83 |      8369.43 |     29597.10 |            2.61 |            4.37 |           15.46 |
| ResNet101 |  3317 |     3672.61 |      9633.29 |     15683.16 |     57240.20 |            2.62 |            4.27 |           15.59 |
| ResNet152 |  4932 |     5407.58 |     13970.88 |     23074.68 |     82072.54 |            2.58 |            4.27 |           15.18 |
| ViT-H/14  |  3420 |     4013.18 |     11146.31 |     17633.07 |     66723.58 |            2.78 |            4.39 |           16.63 |
| Swin-B    |  2881 |     3595.34 |      9505.31 |     15054.88 |     57310.03 |            2.64 |            4.19 |           15.94 |
|           |       |             |              |              |  **Average** |        **2.69** |        **4.28** |       **16.23** |

<div align="center">
  <img src="https://user-images.githubusercontent.com/16078332/227140674-1edc9fc5-f8db-481a-817d-a40b93c12b32.png" width="90%" />
</div>

### Tree Flatten with Path

| Module    | Nodes | OpTree (μs) | JAX XLA (μs) | PyTorch (μs) | DM-Tree (μs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |
| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |
| TinyMLP   |    53 |       36.49 |       543.67 |          N/A |       919.13 |           14.90 |             N/A |           25.19 |
| AlexNet   |   188 |      115.44 |      2185.21 |          N/A |      3752.11 |           18.93 |             N/A |           32.50 |
| ResNet18  |   698 |      431.84 |      7106.55 |          N/A |     12286.70 |           16.46 |             N/A |           28.45 |
| ResNet34  |  1242 |      845.61 |     13431.99 |          N/A |     22860.48 |           15.88 |             N/A |           27.03 |
| ResNet50  |  1702 |     1166.27 |     18426.52 |          N/A |     31225.05 |           15.80 |             N/A |           26.77 |
| ResNet101 |  3317 |     2312.77 |     34770.49 |          N/A |     59346.86 |           15.03 |             N/A |           25.66 |
| ResNet152 |  4932 |     3304.74 |     50557.25 |          N/A |     85847.91 |           15.30 |             N/A |           25.98 |
| ViT-H/14  |  3420 |     2235.25 |     37473.53 |          N/A |     64105.24 |           16.76 |             N/A |           28.68 |
| Swin-B    |  2881 |     1970.25 |     32205.83 |          N/A |     55177.50 |           16.35 |             N/A |           28.01 |
|           |       |             |              |              |  **Average** |       **16.16** |             N/A |       **27.59** |

<div align="center">
  <img src="https://user-images.githubusercontent.com/16078332/227140719-d0040671-57f8-4dee-a0b8-02ee6d008723.png" width="90%" />
</div>

### Tree Copy

| Module    | Nodes | OpTree (μs) | JAX XLA (μs) | PyTorch (μs) | DM-Tree (μs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |
| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |
| TinyMLP   |    53 |       89.81 |       232.26 |       845.20 |       981.48 |            2.59 |            9.41 |           10.93 |
| AlexNet   |   188 |      334.58 |       959.32 |      3360.46 |      4316.05 |            2.87 |           10.04 |           12.90 |
| ResNet18  |   698 |     1128.11 |      2840.71 |     11471.07 |     12297.07 |            2.52 |           10.17 |           10.90 |
| ResNet34  |  1242 |     2160.57 |      5333.10 |     20563.06 |     21901.91 |            2.47 |            9.52 |           10.14 |
| ResNet50  |  1702 |     2746.84 |      6823.88 |     29705.99 |     28927.88 |            2.48 |           10.81 |           10.53 |
| ResNet101 |  3317 |     5762.05 |     13481.45 |     56968.78 |     60115.93 |            2.34 |            9.89 |           10.43 |
| ResNet152 |  4932 |     8151.21 |     20805.61 |     81024.06 |     84079.57 |            2.55 |            9.94 |           10.31 |
| ViT-H/14  |  3420 |     5963.61 |     15665.91 |     59813.52 |     68377.82 |            2.63 |           10.03 |           11.47 |
| Swin-B    |  2881 |     5401.59 |     14255.33 |     53361.77 |     62317.07 |            2.64 |            9.88 |           11.54 |
|           |       |             |              |              |  **Average** |        **2.56** |        **9.97** |       **11.02** |

<div align="center">
  <img src="https://user-images.githubusercontent.com/16078332/227140744-d87eedf8-6fa8-44ad-9bac-7475a5a73f5e.png" width="90%" />
</div>

### Tree Map

| Module    | Nodes | OpTree (μs) | JAX XLA (μs) | PyTorch (μs) | DM-Tree (μs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |
| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |
| TinyMLP   |    53 |       95.13 |       243.86 |       867.34 |      1026.99 |            2.56 |            9.12 |           10.80 |
| AlexNet   |   188 |      348.44 |       987.57 |      3398.32 |      4354.81 |            2.83 |            9.75 |           12.50 |
| ResNet18  |   698 |     1190.62 |      2982.66 |     11719.94 |     12559.01 |            2.51 |            9.84 |           10.55 |
| ResNet34  |  1242 |     2205.87 |      5417.60 |     20935.72 |     22308.51 |            2.46 |            9.49 |           10.11 |
| ResNet50  |  1702 |     3128.48 |      7579.55 |     30372.71 |     31638.67 |            2.42 |            9.71 |           10.11 |
| ResNet101 |  3317 |     6173.05 |     14846.57 |     59167.85 |     60245.42 |            2.41 |            9.58 |            9.76 |
| ResNet152 |  4932 |     8641.22 |     22000.74 |     84018.65 |     86182.21 |            2.55 |            9.72 |            9.97 |
| ViT-H/14  |  3420 |     6211.79 |     17077.49 |     59790.25 |     69763.86 |            2.75 |            9.63 |           11.23 |
| Swin-B    |  2881 |     5673.66 |     14339.69 |     53309.17 |     59764.61 |            2.53 |            9.40 |           10.53 |
|           |       |             |              |              |  **Average** |        **2.56** |        **9.58** |       **10.62** |

<div align="center">
  <img src="https://user-images.githubusercontent.com/16078332/227140788-6bb37706-f441-46c8-8897-a778e8679e05.png" width="90%" />
</div>

### Tree Map (nargs)

| Module    | Nodes | OpTree (μs) | JAX XLA (μs) | PyTorch (μs) | DM-Tree (μs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |
| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |
| TinyMLP   |    53 |      137.06 |       389.96 |          N/A |      3908.77 |            2.85 |             N/A |           28.52 |
| AlexNet   |   188 |      467.24 |      1496.96 |          N/A |     15395.13 |            3.20 |             N/A |           32.95 |
| ResNet18  |   698 |     1603.79 |      4534.01 |          N/A |     50323.76 |            2.83 |             N/A |           31.38 |
| ResNet34  |  1242 |     2907.64 |      8435.33 |          N/A |     90389.23 |            2.90 |             N/A |           31.09 |
| ResNet50  |  1702 |     4183.77 |     11382.51 |          N/A |    121777.01 |            2.72 |             N/A |           29.11 |
| ResNet101 |  3317 |     7721.13 |     22247.85 |          N/A |    238755.17 |            2.88 |             N/A |           30.92 |
| ResNet152 |  4932 |    11508.05 |     31429.39 |          N/A |    360257.74 |            2.73 |             N/A |           31.30 |
| ViT-H/14  |  3420 |     8294.20 |     24524.86 |          N/A |    270514.87 |            2.96 |             N/A |           32.61 |
| Swin-B    |  2881 |     7074.62 |     20854.80 |          N/A |    241120.41 |            2.95 |             N/A |           34.08 |
|           |       |             |              |              |  **Average** |        **2.89** |             N/A |       **31.33** |

<div align="center">
  <img src="https://user-images.githubusercontent.com/16078332/227140815-754fd476-0dee-42df-a809-40c953d7aff5.png" width="90%" />
</div>

### Tree Map with Path

| Module    | Nodes | OpTree (μs) | JAX XLA (μs) | PyTorch (μs) | DM-Tree (μs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |
| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |
| TinyMLP   |    53 |      109.82 |       778.30 |          N/A |      2186.40 |            7.09 |             N/A |           19.91 |
| AlexNet   |   188 |      365.16 |      2939.36 |          N/A |      8355.37 |            8.05 |             N/A |           22.88 |
| ResNet18  |   698 |     1308.26 |      9529.58 |          N/A |     25758.24 |            7.28 |             N/A |           19.69 |
| ResNet34  |  1242 |     2527.21 |     18084.89 |          N/A |     45942.32 |            7.16 |             N/A |           18.18 |
| ResNet50  |  1702 |     3226.03 |     22935.53 |          N/A |     61275.34 |            7.11 |             N/A |           18.99 |
| ResNet101 |  3317 |     6663.52 |     46878.89 |          N/A |    126642.14 |            7.04 |             N/A |           19.01 |
| ResNet152 |  4932 |     9378.19 |     66136.44 |          N/A |    176981.01 |            7.05 |             N/A |           18.87 |
| ViT-H/14  |  3420 |     7033.69 |     50418.37 |          N/A |    142508.11 |            7.17 |             N/A |           20.26 |
| Swin-B    |  2881 |     6078.15 |     43173.22 |          N/A |    116612.71 |            7.10 |             N/A |           19.19 |
|           |       |             |              |              |  **Average** |        **7.23** |             N/A |       **19.66** |

<div align="center">
  <img src="https://user-images.githubusercontent.com/16078332/227140830-ab8dfb6e-ea59-449e-af86-ae89897258be.png" width="90%" />
</div>

### Tree Map with Path (nargs)

| Module    | Nodes | OpTree (μs) | JAX XLA (μs) | PyTorch (μs) | DM-Tree (μs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |
| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |
| TinyMLP   |    53 |      146.05 |       917.00 |          N/A |      3940.61 |            6.28 |             N/A |           26.98 |
| AlexNet   |   188 |      489.27 |      3560.76 |          N/A |     15434.71 |            7.28 |             N/A |           31.55 |
| ResNet18  |   698 |     1712.79 |     11171.44 |          N/A |     50219.86 |            6.52 |             N/A |           29.32 |
| ResNet34  |  1242 |     3112.83 |     21024.58 |          N/A |     95505.71 |            6.75 |             N/A |           30.68 |
| ResNet50  |  1702 |     4220.70 |     26600.82 |          N/A |    121897.57 |            6.30 |             N/A |           28.88 |
| ResNet101 |  3317 |     8631.34 |     54372.37 |          N/A |    236555.54 |            6.30 |             N/A |           27.41 |
| ResNet152 |  4932 |    12710.49 |     77643.13 |          N/A |    353600.32 |            6.11 |             N/A |           27.82 |
| ViT-H/14  |  3420 |     8753.09 |     58712.71 |          N/A |    286365.36 |            6.71 |             N/A |           32.72 |
| Swin-B    |  2881 |     7359.29 |     50112.23 |          N/A |    228866.66 |            6.81 |             N/A |           31.10 |
|           |       |             |              |              |  **Average** |        **6.56** |             N/A |       **29.61** |

<div align="center">
  <img src="https://user-images.githubusercontent.com/16078332/227140850-bd3744aa-363d-46a7-9e92-4279d14d9be6.png" width="90%" />
</div>

--------------------------------------------------------------------------------

## Changelog

See [CHANGELOG.md](https://github.com/metaopt/optree/blob/HEAD/CHANGELOG.md).

--------------------------------------------------------------------------------

## License

OpTree is released under the Apache License 2.0.

OpTree is heavily based on JAX's implementation of the PyTree utility, with deep refactoring and several improvements.
The original licenses can be found at [JAX's Apache License 2.0](https://github.com/google/jax/blob/HEAD/LICENSE) and [Tensorflow's Apache License 2.0](https://github.com/tensorflow/tensorflow/blob/HEAD/LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "optree",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "PyTree, Tree Manipulation, Tree Traversal, Functional Programming",
    "author": "OpTree Contributors",
    "author_email": "Xuehai Pan <XuehaiPan@pku.edu.cn>, Jie Ren <jieren9806@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/f7/f2/56afdaeaae36b076659be7db8e72be0924dd64ebd1c131675c77f7e704a6/optree-0.13.1.tar.gz",
    "platform": null,
    "description": "<!-- markdownlint-disable html -->\n\n# OpTree\n\n![Python 3.7+](https://img.shields.io/badge/Python-3.7%2B-brightgreen)\n[![PyPI](https://img.shields.io/pypi/v/optree?logo=pypi)](https://pypi.org/project/optree)\n![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/metaopt/optree/build.yml?label=build&logo=github)\n![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/metaopt/optree/tests.yml?label=tests&logo=github)\n[![Codecov](https://img.shields.io/codecov/c/github/metaopt/optree/main?logo=codecov)](https://codecov.io/gh/metaopt/optree)\n[![Documentation Status](https://img.shields.io/readthedocs/optree?logo=readthedocs)](https://optree.readthedocs.io)\n[![Downloads](https://static.pepy.tech/personalized-badge/optree?period=total&left_color=grey&right_color=blue&left_text=downloads)](https://pepy.tech/project/optree)\n[![GitHub Repo Stars](https://img.shields.io/github/stars/metaopt/optree?color=brightgreen&logo=github)](https://github.com/metaopt/optree/stargazers)\n\nOptimized PyTree Utilities.\n\n--------------------------------------------------------------------------------\n\n### Table of Contents  <!-- omit in toc --> <!-- markdownlint-disable heading-increment -->\n\n- [Installation](#installation)\n- [PyTrees](#pytrees)\n  - [Tree Nodes and Leaves](#tree-nodes-and-leaves)\n    - [Built-in PyTree Node Types](#built-in-pytree-node-types)\n    - [Registering a Container-like Custom Type as Non-leaf Nodes](#registering-a-container-like-custom-type-as-non-leaf-nodes)\n    - [Notes about the PyTree Type Registry](#notes-about-the-pytree-type-registry)\n  - [`None` is Non-leaf Node vs. `None` is Leaf](#none-is-non-leaf-node-vs-none-is-leaf)\n  - [Key Ordering for Dictionaries](#key-ordering-for-dictionaries)\n- [Benchmark](#benchmark)\n  - [Tree Flatten](#tree-flatten)\n  - [Tree UnFlatten](#tree-unflatten)\n  - [Tree Flatten with Path](#tree-flatten-with-path)\n  - [Tree Copy](#tree-copy)\n  - [Tree Map](#tree-map)\n  - [Tree Map (nargs)](#tree-map-nargs)\n  - [Tree Map with Path](#tree-map-with-path)\n  - [Tree Map with Path (nargs)](#tree-map-with-path-nargs)\n- [Changelog](#changelog)\n- [License](#license)\n\n--------------------------------------------------------------------------------\n\n## Installation\n\nInstall from PyPI ([![PyPI](https://img.shields.io/pypi/v/optree?logo=pypi)](https://pypi.org/project/optree) / ![Status](https://img.shields.io/pypi/status/optree)):\n\n```bash\npip3 install --upgrade optree\n```\n\nInstall from conda-forge ([![conda-forge](https://img.shields.io/conda/v/conda-forge/optree?logo=condaforge)](https://anaconda.org/conda-forge/optree)):\n\n```bash\nconda install -c conda-forge optree\n```\n\nInstall the latest version from GitHub:\n\n```bash\npip3 install git+https://github.com/metaopt/optree.git#egg=optree\n```\n\nOr, clone this repo and install manually:\n\n```bash\ngit clone --depth=1 https://github.com/metaopt/optree.git\ncd optree\npip3 install .\n```\n\nCompiling from the source requires Python 3.7+, a compiler (`gcc` / `clang` / `icc` / `cl.exe`) that supports C++20 and a `cmake` installation.\n\n--------------------------------------------------------------------------------\n\n## PyTrees\n\nA 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.\nThe key concepts of tree operations are tree flattening and its inverse (tree unflattening).\nAdditional tree operations can be performed based on these two basic functions (e.g., `tree_map = tree_unflatten \u2218 map \u2218 tree_flatten`).\n\nTree flattening is traversing the entire tree in a left-to-right depth-first manner and returning the leaves of the tree in a deterministic order.\n\n```python\n>>> tree = {'b': (2, [3, 4]), 'a': 1, 'c': 5, 'd': 6}\n>>> optree.tree_flatten(tree)\n([1, 2, 3, 4, 5, 6], PyTreeSpec({'a': *, 'b': (*, [*, *]), 'c': *, 'd': *}))\n>>> optree.tree_flatten(1)\n([1], PyTreeSpec(*))\n>>> optree.tree_flatten(None)\n([], PyTreeSpec(None))\n```\n\nThis usually implies that the equal pytrees return equal lists of leaves and the same tree structure.\nSee also section [Key Ordering for Dictionaries](#key-ordering-for-dictionaries).\n\n```python\n>>> {'a': [1, 2], 'b': [3]} == {'b': [3], 'a': [1, 2]}\nTrue\n>>> optree.tree_leaves({'a': [1, 2], 'b': [3]}) == optree.tree_leaves({'b': [3], 'a': [1, 2]})\nTrue\n>>> optree.tree_structure({'a': [1, 2], 'b': [3]}) == optree.tree_structure({'b': [3], 'a': [1, 2]})\nTrue\n```\n\n### Tree Nodes and Leaves\n\nA tree is a collection of non-leaf nodes and leaf nodes, where the leaf nodes have no children to flatten.\n`optree.tree_flatten(...)` will flatten the tree and return a list of leaf nodes while the non-leaf nodes will store in the tree specification.\n\n#### Built-in PyTree Node Types\n\nOpTree out-of-box supports the following Python container types in the registry:\n\n- [`tuple`](https://docs.python.org/3/library/stdtypes.html#tuple)\n- [`list`](https://docs.python.org/3/library/stdtypes.html#list)\n- [`dict`](https://docs.python.org/3/library/stdtypes.html#dict)\n- [`collections.namedtuple`](https://docs.python.org/3/library/collections.html#collections.namedtuple) and its subclasses\n- [`collections.OrderedDict`](https://docs.python.org/3/library/collections.html#collections.OrderedDict)\n- [`collections.defaultdict`](https://docs.python.org/3/library/collections.html#collections.defaultdict)\n- [`collections.deque`](https://docs.python.org/3/library/collections.html#collections.deque)\n- [`PyStructSequence`](https://docs.python.org/3/c-api/tuple.html#struct-sequence-objects) types created by C API [`PyStructSequence_NewType`](https://docs.python.org/3/c-api/tuple.html#c.PyStructSequence_NewType)\n\nwhich are considered non-leaf nodes in the tree.\nPython objects that the type is not registered will be treated as leaf nodes.\nThe registry lookup uses the `is` operator to determine whether the type is matched.\nSo subclasses will need to explicitly register in the registry, otherwise, an object of that type will be considered a leaf.\nThe [`NoneType`](https://docs.python.org/3/library/constants.html#None) is a special case discussed in section [`None` is non-leaf Node vs. `None` is Leaf](#none-is-non-leaf-node-vs-none-is-leaf).\n\n#### Registering a Container-like Custom Type as Non-leaf Nodes\n\nA container-like Python type can be registered in the type registry with a pair of functions that specify:\n\n- `flatten_func(container) -> (children, metadata, entries)`: convert an instance of the container type to a `(children, metadata, entries)` triple, where `children` is an iterable of subtrees and `entries` is an iterable of path entries of the container (e.g., indices or keys).\n- `unflatten_func(metadata, children) -> container`: convert such a pair back to an instance of the container type.\n\nThe `metadata` is some necessary data apart from the children to reconstruct the container, e.g., the keys of the dictionary (the children are values).\n\nThe `entries` can be omitted (only returns a pair) or is optional to implement (returns `None`). If so, use `range(len(children))` (i.e., flat indices) as path entries of the current node. The function signature can be `flatten_func(container) -> (children, metadata)` or `flatten_func(container) -> (children, metadata, None)`.\n\nThe following examples show how to register custom types and utilize them for `tree_flatten` and `tree_map`. Please refer to section [Notes about the PyTree Type Registry](#notes-about-the-pytree-type-registry) for more information.\n\n```python\n# Registry a Python type with lambda functions\noptree.register_pytree_node(\n    set,\n    # (set) -> (children, metadata, None)\n    lambda s: (sorted(s), None, None),\n    # (metadata, children) -> (set)\n    lambda _, children: set(children),\n    namespace='set',\n)\n\n# Register a Python type into a namespace\nimport torch\n\nclass Torch2NumpyEntry(optree.PyTreeEntry):\n    def __call__(self, obj):\n        assert self.entry == 0\n        return obj.cpu().detach().numpy()\n\n    def codify(self, node=''):\n        assert self.entry == 0\n        return f'{node}.cpu().detach().numpy()'\n\noptree.register_pytree_node(\n    torch.Tensor,\n    # (tensor) -> (children, metadata)\n    flatten_func=lambda tensor: (\n        (tensor.cpu().detach().numpy(),),\n        {'dtype': tensor.dtype, 'device': tensor.device, 'requires_grad': tensor.requires_grad},\n    ),\n    # (metadata, children) -> tensor\n    unflatten_func=lambda metadata, children: torch.tensor(children[0], **metadata),\n    path_entry_type=Torch2NumpyEntry,\n    namespace='torch2numpy',\n)\n```\n\n```python\n>>> tree = {'weight': torch.ones(size=(1, 2)).cuda(), 'bias': torch.zeros(size=(2,))}\n>>> tree\n{'weight': tensor([[1., 1.]], device='cuda:0'), 'bias': tensor([0., 0.])}\n\n# Flatten without specifying the namespace\n>>> optree.tree_flatten(tree)  # `torch.Tensor`s are leaf nodes\n([tensor([0., 0.]), tensor([[1., 1.]], device='cuda:0')], PyTreeSpec({'bias': *, 'weight': *}))\n\n# Flatten with the namespace\n>>> leaves, treespec = optree.tree_flatten(tree, namespace='torch2numpy')\n>>> leaves, treespec\n(\n    [array([0., 0.], dtype=float32), array([[1., 1.]], dtype=float32)],\n    PyTreeSpec(\n        {\n            'bias': CustomTreeNode(Tensor[{'dtype': torch.float32, 'device': device(type='cpu'), 'requires_grad': False}], [*]),\n            'weight': CustomTreeNode(Tensor[{'dtype': torch.float32, 'device': device(type='cuda', index=0), 'requires_grad': False}], [*])\n        },\n        namespace='torch2numpy'\n    )\n)\n\n# `entries` are not defined and use `range(len(children))`\n>>> optree.tree_paths(tree, namespace='torch2numpy')\n[('bias', 0), ('weight', 0)]\n\n# Custom path entry type defines the pytree access behavior\n>>> optree.tree_accessors(tree, namespace='torch2numpy')\n[\n    PyTreeAccessor(*['bias'].cpu().detach().numpy(), (MappingEntry(key='bias', type=<class 'dict'>), Torch2NumpyEntry(entry=0, type=<class 'torch.Tensor'>))),\n    PyTreeAccessor(*['weight'].cpu().detach().numpy(), (MappingEntry(key='weight', type=<class 'dict'>), Torch2NumpyEntry(entry=0, type=<class 'torch.Tensor'>)))\n]\n\n# Unflatten back to a copy of the original object\n>>> optree.tree_unflatten(treespec, leaves)\n{'weight': tensor([[1., 1.]], device='cuda:0'), 'bias': tensor([0., 0.])}\n```\n\nUsers can also extend the pytree registry by decorating the custom class and defining an instance method `tree_flatten` and a class method `tree_unflatten`.\n\n```python\nfrom collections import UserDict\n\n@optree.register_pytree_node_class(namespace='mydict')\nclass MyDict(UserDict):\n    TREE_PATH_ENTRY_TYPE = optree.MappingEntry  # used by accessor APIs\n\n    def tree_flatten(self):  # -> (children, metadata, entries)\n        reversed_keys = sorted(self.keys(), reverse=True)\n        return (\n            [self[key] for key in reversed_keys],  # children\n            reversed_keys,  # metadata\n            reversed_keys,  # entries\n        )\n\n    @classmethod\n    def tree_unflatten(cls, metadata, children):\n        return cls(zip(metadata, children))\n```\n\n```python\n>>> tree = MyDict(b=4, a=(2, 3), c=MyDict({'d': 5, 'f': 6}))\n\n# Flatten without specifying the namespace\n>>> optree.tree_flatten_with_path(tree)  # `MyDict`s are leaf nodes\n(\n    [()],\n    [MyDict(b=4, a=(2, 3), c=MyDict({'d': 5, 'f': 6}))],\n    PyTreeSpec(*)\n)\n\n# Flatten with the namespace\n>>> optree.tree_flatten_with_path(tree, namespace='mydict')\n(\n    [('c', 'f'), ('c', 'd'), ('b',), ('a', 0), ('a', 1)],\n    [6, 5, 4, 2, 3],\n    PyTreeSpec(\n        CustomTreeNode(MyDict[['c', 'b', 'a']], [CustomTreeNode(MyDict[['f', 'd']], [*, *]), *, (*, *)]),\n        namespace='mydict'\n    )\n)\n>>> optree.tree_flatten_with_accessor(tree, namespace='mydict')\n(\n    [\n        PyTreeAccessor(*['c']['f'], (MappingEntry(key='c', type=<class 'MyDict'>), MappingEntry(key='f', type=<class 'MyDict'>))),\n        PyTreeAccessor(*['c']['d'], (MappingEntry(key='c', type=<class 'MyDict'>), MappingEntry(key='d', type=<class 'MyDict'>))),\n        PyTreeAccessor(*['b'], (MappingEntry(key='b', type=<class 'MyDict'>),)),\n        PyTreeAccessor(*['a'][0], (MappingEntry(key='a', type=<class 'MyDict'>), SequenceEntry(index=0, type=<class 'tuple'>))),\n        PyTreeAccessor(*['a'][1], (MappingEntry(key='a', type=<class 'MyDict'>), SequenceEntry(index=1, type=<class 'tuple'>)))\n    ],\n    [6, 5, 4, 2, 3],\n    PyTreeSpec(\n        CustomTreeNode(MyDict[['c', 'b', 'a']], [CustomTreeNode(MyDict[['f', 'd']], [*, *]), *, (*, *)]),\n        namespace='mydict'\n    )\n)\n```\n\n#### Notes about the PyTree Type Registry\n\nThere are several key attributes of the pytree type registry:\n\n1. **The type registry is per-interpreter-dependent.** This means registering a custom type in the registry affects all modules that use OpTree.\n\n> [!WARNING]\n> For safety reasons, a `namespace` must be specified while registering a custom type. It is\n> used to isolate the behavior of flattening and unflattening a pytree node type. This is to\n> prevent accidental collisions between different libraries that may register the same type.\n\n2. **The elements in the type registry are immutable.** Users can neither register the same type twice in the same namespace (i.e., update the type registry), nor remove a type from the type registry. To update the behavior of an already registered type, simply register it again with another `namespace`.\n\n3. **Users cannot modify the behavior of already registered built-in types** listed in [Built-in PyTree Node Types](#built-in-pytree-node-types), such as key order sorting for `dict` and `collections.defaultdict`.\n\n4. **Inherited subclasses are not implicitly registered.** The registry lookup uses `type(obj) is registered_type` rather than `isinstance(obj, registered_type)`. Users need to register the subclasses explicitly. To register all subclasses, it is easy to implement with [`metaclass`](https://docs.python.org/3/reference/datamodel.html#metaclasses) or [`__init_subclass__`](https://docs.python.org/3/reference/datamodel.html#customizing-class-creation), for example:\n\n    ```python\n    from collections import UserDict\n\n    @optree.register_pytree_node_class(namespace='mydict')\n    class MyDict(UserDict):\n        TREE_PATH_ENTRY_TYPE = optree.MappingEntry  # used by accessor APIs\n\n        def __init_subclass__(cls):  # define this in the base class\n            super().__init_subclass__()\n            # Register a subclass to namespace 'mydict'\n            optree.register_pytree_node_class(cls, namespace='mydict')\n\n        def tree_flatten(self):  # -> (children, metadata, entries)\n            reversed_keys = sorted(self.keys(), reverse=True)\n            return (\n                [self[key] for key in reversed_keys],  # children\n                reversed_keys,  # metadata\n                reversed_keys,  # entries\n            )\n\n        @classmethod\n        def tree_unflatten(cls, metadata, children):\n            return cls(zip(metadata, children))\n\n    # Subclasses will be automatically registered in namespace 'mydict'\n    class MyAnotherDict(MyDict):\n        pass\n    ```\n\n    ```python\n    >>> tree = MyDict(b=4, a=(2, 3), c=MyAnotherDict({'d': 5, 'f': 6}))\n    >>> optree.tree_flatten_with_path(tree, namespace='mydict')\n    (\n        [('c', 'f'), ('c', 'd'), ('b',), ('a', 0), ('a', 1)],\n        [6, 5, 4, 2, 3],\n        PyTreeSpec(\n            CustomTreeNode(MyDict[['c', 'b', 'a']], [CustomTreeNode(MyAnotherDict[['f', 'd']], [*, *]), *, (*, *)]),\n            namespace='mydict'\n        )\n    )\n    >>> optree.tree_accessors(tree, namespace='mydict')\n    [\n        PyTreeAccessor(*['c']['f'], (MappingEntry(key='c', type=<class 'MyDict'>), MappingEntry(key='f', type=<class 'MyAnotherDict'>))),\n        PyTreeAccessor(*['c']['d'], (MappingEntry(key='c', type=<class 'MyDict'>), MappingEntry(key='d', type=<class 'MyAnotherDict'>))),\n        PyTreeAccessor(*['b'], (MappingEntry(key='b', type=<class 'MyDict'>),)),\n        PyTreeAccessor(*['a'][0], (MappingEntry(key='a', type=<class 'MyDict'>), SequenceEntry(index=0, type=<class 'tuple'>))),\n        PyTreeAccessor(*['a'][1], (MappingEntry(key='a', type=<class 'MyDict'>), SequenceEntry(index=1, type=<class 'tuple'>)))\n    ]\n    ```\n\n5. **Be careful about the potential infinite recursion of the custom flatten function.** The returned `children` from the custom flatten function are considered subtrees. They will be further flattened recursively. The `children` can have the same type as the current node. Users must design their termination condition carefully.\n\n    ```python\n    import numpy as np\n    import torch\n\n    optree.register_pytree_node(\n        np.ndarray,\n        # Children are nest lists of Python objects\n        lambda array: (np.atleast_1d(array).tolist(), array.ndim == 0),\n        lambda scalar, rows: np.asarray(rows) if not scalar else np.asarray(rows[0]),\n        namespace='numpy1',\n    )\n\n    optree.register_pytree_node(\n        np.ndarray,\n        # Children are Python objects\n        lambda array: (\n            list(array.ravel()),  # list(1DArray[T]) -> List[T]\n            dict(shape=array.shape, dtype=array.dtype)\n        ),\n        lambda metadata, children: np.asarray(children, dtype=metadata['dtype']).reshape(metadata['shape']),\n        namespace='numpy2',\n    )\n\n    optree.register_pytree_node(\n        np.ndarray,\n        # Returns a list of `np.ndarray`s without termination condition\n        lambda array: ([array.ravel()], array.dtype),\n        lambda shape, children: children[0].reshape(shape),\n        namespace='numpy3',\n    )\n\n    optree.register_pytree_node(\n        torch.Tensor,\n        # Children are nest lists of Python objects\n        lambda tensor: (torch.atleast_1d(tensor).tolist(), tensor.ndim == 0),\n        lambda scalar, rows: torch.tensor(rows) if not scalar else torch.tensor(rows[0])),\n        namespace='torch1',\n    )\n\n    optree.register_pytree_node(\n        torch.Tensor,\n        # Returns a list of `torch.Tensor`s without termination condition\n        lambda tensor: (\n            list(tensor.view(-1)),  # list(1DTensor[T]) -> List[0DTensor[T]] (STILL TENSORS!)\n            tensor.shape\n        ),\n        lambda shape, children: torch.stack(children).reshape(shape),\n        namespace='torch2',\n    )\n    ```\n\n    ```python\n    >>> optree.tree_flatten(np.arange(9).reshape(3, 3), namespace='numpy1')\n    (\n        [0, 1, 2, 3, 4, 5, 6, 7, 8],\n        PyTreeSpec(\n            CustomTreeNode(ndarray[False], [[*, *, *], [*, *, *], [*, *, *]]),\n            namespace='numpy1'\n        )\n    )\n    # Implicitly casts `float`s to `np.float64`\n    >>> optree.tree_map(lambda x: x + 1.5, np.arange(9).reshape(3, 3), namespace='numpy1')\n    array([[1.5, 2.5, 3.5],\n           [4.5, 5.5, 6.5],\n           [7.5, 8.5, 9.5]])\n\n    >>> optree.tree_flatten(np.arange(9).reshape(3, 3), namespace='numpy2')\n    (\n        [0, 1, 2, 3, 4, 5, 6, 7, 8],\n        PyTreeSpec(\n            CustomTreeNode(ndarray[{'shape': (3, 3), 'dtype': dtype('int64')}], [*, *, *, *, *, *, *, *, *]),\n            namespace='numpy2'\n        )\n    )\n    # Explicitly casts `float`s to `np.int64`\n    >>> optree.tree_map(lambda x: x + 1.5, np.arange(9).reshape(3, 3), namespace='numpy2')\n    array([[1, 2, 3],\n           [4, 5, 6],\n           [7, 8, 9]])\n\n    # Children are also `np.ndarray`s, recurse without termination condition.\n    >>> optree.tree_flatten(np.arange(9).reshape(3, 3), namespace='numpy3')\n    Traceback (most recent call last):\n        ...\n    RecursionError: Maximum recursion depth exceeded during flattening the tree.\n\n    >>> optree.tree_flatten(torch.arange(9).reshape(3, 3), namespace='torch1')\n    (\n        [0, 1, 2, 3, 4, 5, 6, 7, 8],\n        PyTreeSpec(\n            CustomTreeNode(Tensor[False], [[*, *, *], [*, *, *], [*, *, *]]),\n            namespace='torch1'\n        )\n    )\n    # Implicitly casts `float`s to `torch.float32`\n    >>> optree.tree_map(lambda x: x + 1.5, torch.arange(9).reshape(3, 3), namespace='torch1')\n    tensor([[1.5000, 2.5000, 3.5000],\n            [4.5000, 5.5000, 6.5000],\n            [7.5000, 8.5000, 9.5000]])\n\n    # Children are also `torch.Tensor`s, recurse without termination condition.\n    >>> optree.tree_flatten(torch.arange(9).reshape(3, 3), namespace='torch2')\n    Traceback (most recent call last):\n        ...\n    RecursionError: Maximum recursion depth exceeded during flattening the tree.\n    ```\n\n### `None` is Non-leaf Node vs. `None` is Leaf\n\nThe [`None`](https://docs.python.org/3/library/constants.html#None) object is a special object in the Python language.\nIt serves some of the same purposes as `null` (a pointer does not point to anything) in other programming languages, which denotes a variable is empty or marks default parameters.\nHowever, the `None` object is a singleton object rather than a pointer.\nIt may also serve as a sentinel value.\nIn addition, if a function has returned without any return value or the return statement is omitted, the function will also implicitly return the `None` object.\n\nBy default, the `None` object is considered a non-leaf node in the tree with arity 0, i.e., _**a non-leaf node that has no children**_.\nThis is like the behavior of an empty tuple.\nWhile flattening a tree, it will remain in the tree structure definitions rather than in the leaves list.\n\n```python\n>>> tree = {'b': (2, [3, 4]), 'a': 1, 'c': None, 'd': 5}\n>>> optree.tree_flatten(tree)\n([1, 2, 3, 4, 5], PyTreeSpec({'a': *, 'b': (*, [*, *]), 'c': None, 'd': *}))\n>>> optree.tree_flatten(tree, none_is_leaf=True)\n([1, 2, 3, 4, None, 5], PyTreeSpec({'a': *, 'b': (*, [*, *]), 'c': *, 'd': *}, NoneIsLeaf))\n>>> optree.tree_flatten(1)\n([1], PyTreeSpec(*))\n>>> optree.tree_flatten(None)\n([], PyTreeSpec(None))\n>>> optree.tree_flatten(None, none_is_leaf=True)\n([None], PyTreeSpec(*, NoneIsLeaf))\n```\n\nOpTree provides a keyword argument `none_is_leaf` to determine whether to consider the `None` object as a leaf, like other opaque objects.\nIf `none_is_leaf=True`, the `None` object will be placed in the leaves list.\nOtherwise, the `None` object will remain in the tree specification (structure).\n\n```python\n>>> import torch\n\n>>> linear = torch.nn.Linear(in_features=3, out_features=2, bias=False)\n>>> linear._parameters  # a container has None\nOrderedDict({\n    'weight': Parameter containing:\n              tensor([[-0.6677,  0.5209,  0.3295],\n                      [-0.4876, -0.3142,  0.1785]], requires_grad=True),\n    'bias': None\n})\n\n>>> optree.tree_map(torch.zeros_like, linear._parameters)\nOrderedDict({\n    'weight': tensor([[0., 0., 0.],\n                      [0., 0., 0.]]),\n    'bias': None\n})\n\n>>> optree.tree_map(torch.zeros_like, linear._parameters, none_is_leaf=True)\nTraceback (most recent call last):\n    ...\nTypeError: zeros_like(): argument 'input' (position 1) must be Tensor, not NoneType\n\n>>> optree.tree_map(lambda t: torch.zeros_like(t) if t is not None else 0, linear._parameters, none_is_leaf=True)\nOrderedDict({\n    'weight': tensor([[0., 0., 0.],\n                      [0., 0., 0.]]),\n    'bias': 0\n})\n```\n\n### Key Ordering for Dictionaries\n\nThe built-in Python dictionary (i.e., [`builtins.dict`](https://docs.python.org/3/library/stdtypes.html#dict)) is an unordered mapping that holds the keys and values.\nThe leaves of a dictionary are the values. Although since Python 3.6, the built-in dictionary is insertion ordered ([PEP 468](https://peps.python.org/pep-0468)).\nThe dictionary equality operator (`==`) does not check for key ordering.\nTo ensure [referential transparency](https://en.wikipedia.org/wiki/Referential_transparency) that \"equal `dict`\" implies \"equal ordering of leaves\", the order of values of the dictionary is sorted by the keys.\nThis behavior is also applied to [`collections.defaultdict`](https://docs.python.org/3/library/collections.html#collections.defaultdict).\n\n```python\n>>> optree.tree_flatten({'a': [1, 2], 'b': [3]})\n([1, 2, 3], PyTreeSpec({'a': [*, *], 'b': [*]}))\n>>> optree.tree_flatten({'b': [3], 'a': [1, 2]})\n([1, 2, 3], PyTreeSpec({'a': [*, *], 'b': [*]}))\n```\n\nIf users want to keep the values in the insertion order in pytree traversal, they should use [`collections.OrderedDict`](https://docs.python.org/3/library/collections.html#collections.OrderedDict), which will take the order of keys under consideration:\n\n```python\n>>> OrderedDict([('a', [1, 2]), ('b', [3])]) == OrderedDict([('b', [3]), ('a', [1, 2])])\nFalse\n>>> optree.tree_flatten(OrderedDict([('a', [1, 2]), ('b', [3])]))\n([1, 2, 3], PyTreeSpec(OrderedDict({'a': [*, *], 'b': [*]})))\n>>> optree.tree_flatten(OrderedDict([('b', [3]), ('a', [1, 2])]))\n([3, 1, 2], PyTreeSpec(OrderedDict({'b': [*], 'a': [*, *]})))\n```\n\n**Since OpTree v0.9.0, the key order of the reconstructed output dictionaries from `tree_unflatten` is guaranteed to be consistent with the key order of the input dictionaries in `tree_flatten`.**\n\n```python\n>>> leaves, treespec = optree.tree_flatten({'b': [3], 'a': [1, 2]})\n>>> leaves, treespec\n([1, 2, 3], PyTreeSpec({'a': [*, *], 'b': [*]}))\n>>> optree.tree_unflatten(treespec, leaves)\n{'b': [3], 'a': [1, 2]}\n>>> optree.tree_map(lambda x: x, {'b': [3], 'a': [1, 2]})\n{'b': [3], 'a': [1, 2]}\n>>> optree.tree_map(lambda x: x + 1, {'b': [3], 'a': [1, 2]})\n{'b': [4], 'a': [2, 3]}\n```\n\nThis property is also preserved during serialization/deserialization.\n\n```python\n>>> leaves, treespec = optree.tree_flatten({'b': [3], 'a': [1, 2]})\n>>> leaves, treespec\n([1, 2, 3], PyTreeSpec({'a': [*, *], 'b': [*]}))\n>>> restored_treespec = pickle.loads(pickle.dumps(treespec))\n>>> optree.tree_unflatten(treespec, leaves)\n{'b': [3], 'a': [1, 2]}\n>>> optree.tree_unflatten(restored_treespec, leaves)\n{'b': [3], 'a': [1, 2]}\n```\n\n> [!NOTE]\n> Note that there are no restrictions on the `dict` to require the keys to be comparable (sortable).\n> There can be multiple types of keys in the dictionary.\n> The keys are sorted in ascending order by `key=lambda k: k` first if capable otherwise fallback to `key=lambda k: (f'{k.__class__.__module__}.{k.__class__.__qualname__}', k)`. This handles most cases.\n>\n> ```python\n> >>> sorted({1: 2, 1.5: 1}.keys())\n> [1, 1.5]\n> >>> sorted({'a': 3, 1: 2, 1.5: 1}.keys())\n> Traceback (most recent call last):\n>     ...\n> TypeError: '<' not supported between instances of 'int' and 'str'\n> >>> sorted({'a': 3, 1: 2, 1.5: 1}.keys(), key=lambda k: (f'{k.__class__.__module__}.{k.__class__.__qualname__}', k))\n> [1.5, 1, 'a']\n> ```\n\n--------------------------------------------------------------------------------\n\n## Benchmark\n\nWe benchmark the performance of:\n\n- tree flatten\n- tree unflatten\n- tree copy (i.e., `unflatten(flatten(...))`)\n- tree map\n\ncompared with the following libraries:\n\n- OpTree ([`@v0.9.0`](https://github.com/metaopt/optree/tree/v0.9.0))\n- JAX XLA ([`jax[cpu] == 0.4.6`](https://pypi.org/project/jax/0.4.6))\n- PyTorch ([`torch == 2.0.0`](https://pypi.org/project/torch/2.0.0))\n- DM-Tree ([`dm-tree == 0.1.8`](https://pypi.org/project/dm-tree/0.1.8))\n\n| Average Time Cost (\u2193)      | OpTree (v0.9.0) | JAX XLA (v0.4.6) | PyTorch (v2.0.0) | DM-Tree (v0.1.8) |\n| :------------------------- | --------------: | ---------------: | ---------------: | ---------------: |\n| Tree Flatten               |           x1.00 |             2.33 |            22.05 |             1.12 |\n| Tree UnFlatten             |           x1.00 |             2.69 |             4.28 |            16.23 |\n| Tree Flatten with Path     |           x1.00 |            16.16 |    Not Supported |            27.59 |\n| Tree Copy                  |           x1.00 |             2.56 |             9.97 |            11.02 |\n| Tree Map                   |           x1.00 |             2.56 |             9.58 |            10.62 |\n| Tree Map (nargs)           |           x1.00 |             2.89 |    Not Supported |            31.33 |\n| Tree Map with Path         |           x1.00 |             7.23 |    Not Supported |            19.66 |\n| Tree Map with Path (nargs) |           x1.00 |             6.56 |    Not Supported |            29.61 |\n\nAll results are reported on a workstation with an AMD Ryzen 9 5950X CPU @ 4.45GHz in an isolated virtual environment with Python 3.10.9.\nRun with the following commands:\n\n```bash\nconda create --name optree-benchmark anaconda::python=3.10 --yes --no-default-packages\nconda activate optree-benchmark\npython3 -m pip install --editable '.[benchmark]' --extra-index-url https://download.pytorch.org/whl/cpu\npython3 benchmark.py --number=10000 --repeat=5\n```\n\nThe test inputs are nested containers (i.e., pytrees) extracted from `torch.nn.Module` objects.\nThey are:\n\n```python\ntiny_mlp = nn.Sequential(\n    nn.Linear(1, 1, bias=True),\n    nn.BatchNorm1d(1, affine=True, track_running_stats=True),\n    nn.ReLU(),\n    nn.Linear(1, 1, bias=False),\n    nn.Sigmoid(),\n)\n```\n\nand AlexNet, ResNet18, ResNet34, ResNet50, ResNet101, ResNet152, VisionTransformerH14 (ViT-H/14), and SwinTransformerB (Swin-B) from [`torchvsion`](https://github.com/pytorch/vision).\nPlease refer to [`benchmark.py`](https://github.com/metaopt/optree/blob/HEAD/benchmark.py) for more details.\n\n### Tree Flatten\n\n| Module    | Nodes | OpTree (\u03bcs) | JAX XLA (\u03bcs) | PyTorch (\u03bcs) | DM-Tree (\u03bcs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |\n| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |\n| TinyMLP   |    53 |       29.70 |        71.06 |       583.66 |        31.32 |            2.39 |           19.65 |            1.05 |\n| AlexNet   |   188 |      103.92 |       262.56 |      2304.36 |       119.61 |            2.53 |           22.17 |            1.15 |\n| ResNet18  |   698 |      368.06 |       852.69 |      8440.31 |       420.43 |            2.32 |           22.93 |            1.14 |\n| ResNet34  |  1242 |      644.96 |      1461.55 |     14498.81 |       712.81 |            2.27 |           22.48 |            1.11 |\n| ResNet50  |  1702 |      919.95 |      2080.58 |     20995.96 |      1006.42 |            2.26 |           22.82 |            1.09 |\n| ResNet101 |  3317 |     1806.36 |      3996.90 |     40314.12 |      1955.48 |            2.21 |           22.32 |            1.08 |\n| ResNet152 |  4932 |     2656.92 |      5812.38 |     57775.53 |      2826.92 |            2.19 |           21.75 |            1.06 |\n| ViT-H/14  |  3420 |     1863.50 |      4418.24 |     41334.64 |      2128.71 |            2.37 |           22.18 |            1.14 |\n| Swin-B    |  2881 |     1631.06 |      3944.13 |     36131.54 |      2032.77 |            2.42 |           22.15 |            1.25 |\n|           |       |             |              |              |  **Average** |        **2.33** |       **22.05** |        **1.12** |\n\n<div align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/16078332/227140610-dce44f1b-3a91-43e6-85b5-7566ae4c8769.png\" width=\"90%\" />\n</div>\n\n### Tree UnFlatten\n\n| Module    | Nodes | OpTree (\u03bcs) | JAX XLA (\u03bcs) | PyTorch (\u03bcs) | DM-Tree (\u03bcs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |\n| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |\n| TinyMLP   |    53 |       55.13 |       152.07 |       231.94 |       940.11 |            2.76 |            4.21 |           17.05 |\n| AlexNet   |   188 |      226.29 |       678.29 |       972.90 |      4195.04 |            3.00 |            4.30 |           18.54 |\n| ResNet18  |   698 |      766.54 |      1953.26 |      3137.86 |     12049.88 |            2.55 |            4.09 |           15.72 |\n| ResNet34  |  1242 |     1309.22 |      3526.12 |      5759.16 |     20966.75 |            2.69 |            4.40 |           16.01 |\n| ResNet50  |  1702 |     1914.96 |      5002.83 |      8369.43 |     29597.10 |            2.61 |            4.37 |           15.46 |\n| ResNet101 |  3317 |     3672.61 |      9633.29 |     15683.16 |     57240.20 |            2.62 |            4.27 |           15.59 |\n| ResNet152 |  4932 |     5407.58 |     13970.88 |     23074.68 |     82072.54 |            2.58 |            4.27 |           15.18 |\n| ViT-H/14  |  3420 |     4013.18 |     11146.31 |     17633.07 |     66723.58 |            2.78 |            4.39 |           16.63 |\n| Swin-B    |  2881 |     3595.34 |      9505.31 |     15054.88 |     57310.03 |            2.64 |            4.19 |           15.94 |\n|           |       |             |              |              |  **Average** |        **2.69** |        **4.28** |       **16.23** |\n\n<div align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/16078332/227140674-1edc9fc5-f8db-481a-817d-a40b93c12b32.png\" width=\"90%\" />\n</div>\n\n### Tree Flatten with Path\n\n| Module    | Nodes | OpTree (\u03bcs) | JAX XLA (\u03bcs) | PyTorch (\u03bcs) | DM-Tree (\u03bcs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |\n| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |\n| TinyMLP   |    53 |       36.49 |       543.67 |          N/A |       919.13 |           14.90 |             N/A |           25.19 |\n| AlexNet   |   188 |      115.44 |      2185.21 |          N/A |      3752.11 |           18.93 |             N/A |           32.50 |\n| ResNet18  |   698 |      431.84 |      7106.55 |          N/A |     12286.70 |           16.46 |             N/A |           28.45 |\n| ResNet34  |  1242 |      845.61 |     13431.99 |          N/A |     22860.48 |           15.88 |             N/A |           27.03 |\n| ResNet50  |  1702 |     1166.27 |     18426.52 |          N/A |     31225.05 |           15.80 |             N/A |           26.77 |\n| ResNet101 |  3317 |     2312.77 |     34770.49 |          N/A |     59346.86 |           15.03 |             N/A |           25.66 |\n| ResNet152 |  4932 |     3304.74 |     50557.25 |          N/A |     85847.91 |           15.30 |             N/A |           25.98 |\n| ViT-H/14  |  3420 |     2235.25 |     37473.53 |          N/A |     64105.24 |           16.76 |             N/A |           28.68 |\n| Swin-B    |  2881 |     1970.25 |     32205.83 |          N/A |     55177.50 |           16.35 |             N/A |           28.01 |\n|           |       |             |              |              |  **Average** |       **16.16** |             N/A |       **27.59** |\n\n<div align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/16078332/227140719-d0040671-57f8-4dee-a0b8-02ee6d008723.png\" width=\"90%\" />\n</div>\n\n### Tree Copy\n\n| Module    | Nodes | OpTree (\u03bcs) | JAX XLA (\u03bcs) | PyTorch (\u03bcs) | DM-Tree (\u03bcs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |\n| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |\n| TinyMLP   |    53 |       89.81 |       232.26 |       845.20 |       981.48 |            2.59 |            9.41 |           10.93 |\n| AlexNet   |   188 |      334.58 |       959.32 |      3360.46 |      4316.05 |            2.87 |           10.04 |           12.90 |\n| ResNet18  |   698 |     1128.11 |      2840.71 |     11471.07 |     12297.07 |            2.52 |           10.17 |           10.90 |\n| ResNet34  |  1242 |     2160.57 |      5333.10 |     20563.06 |     21901.91 |            2.47 |            9.52 |           10.14 |\n| ResNet50  |  1702 |     2746.84 |      6823.88 |     29705.99 |     28927.88 |            2.48 |           10.81 |           10.53 |\n| ResNet101 |  3317 |     5762.05 |     13481.45 |     56968.78 |     60115.93 |            2.34 |            9.89 |           10.43 |\n| ResNet152 |  4932 |     8151.21 |     20805.61 |     81024.06 |     84079.57 |            2.55 |            9.94 |           10.31 |\n| ViT-H/14  |  3420 |     5963.61 |     15665.91 |     59813.52 |     68377.82 |            2.63 |           10.03 |           11.47 |\n| Swin-B    |  2881 |     5401.59 |     14255.33 |     53361.77 |     62317.07 |            2.64 |            9.88 |           11.54 |\n|           |       |             |              |              |  **Average** |        **2.56** |        **9.97** |       **11.02** |\n\n<div align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/16078332/227140744-d87eedf8-6fa8-44ad-9bac-7475a5a73f5e.png\" width=\"90%\" />\n</div>\n\n### Tree Map\n\n| Module    | Nodes | OpTree (\u03bcs) | JAX XLA (\u03bcs) | PyTorch (\u03bcs) | DM-Tree (\u03bcs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |\n| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |\n| TinyMLP   |    53 |       95.13 |       243.86 |       867.34 |      1026.99 |            2.56 |            9.12 |           10.80 |\n| AlexNet   |   188 |      348.44 |       987.57 |      3398.32 |      4354.81 |            2.83 |            9.75 |           12.50 |\n| ResNet18  |   698 |     1190.62 |      2982.66 |     11719.94 |     12559.01 |            2.51 |            9.84 |           10.55 |\n| ResNet34  |  1242 |     2205.87 |      5417.60 |     20935.72 |     22308.51 |            2.46 |            9.49 |           10.11 |\n| ResNet50  |  1702 |     3128.48 |      7579.55 |     30372.71 |     31638.67 |            2.42 |            9.71 |           10.11 |\n| ResNet101 |  3317 |     6173.05 |     14846.57 |     59167.85 |     60245.42 |            2.41 |            9.58 |            9.76 |\n| ResNet152 |  4932 |     8641.22 |     22000.74 |     84018.65 |     86182.21 |            2.55 |            9.72 |            9.97 |\n| ViT-H/14  |  3420 |     6211.79 |     17077.49 |     59790.25 |     69763.86 |            2.75 |            9.63 |           11.23 |\n| Swin-B    |  2881 |     5673.66 |     14339.69 |     53309.17 |     59764.61 |            2.53 |            9.40 |           10.53 |\n|           |       |             |              |              |  **Average** |        **2.56** |        **9.58** |       **10.62** |\n\n<div align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/16078332/227140788-6bb37706-f441-46c8-8897-a778e8679e05.png\" width=\"90%\" />\n</div>\n\n### Tree Map (nargs)\n\n| Module    | Nodes | OpTree (\u03bcs) | JAX XLA (\u03bcs) | PyTorch (\u03bcs) | DM-Tree (\u03bcs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |\n| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |\n| TinyMLP   |    53 |      137.06 |       389.96 |          N/A |      3908.77 |            2.85 |             N/A |           28.52 |\n| AlexNet   |   188 |      467.24 |      1496.96 |          N/A |     15395.13 |            3.20 |             N/A |           32.95 |\n| ResNet18  |   698 |     1603.79 |      4534.01 |          N/A |     50323.76 |            2.83 |             N/A |           31.38 |\n| ResNet34  |  1242 |     2907.64 |      8435.33 |          N/A |     90389.23 |            2.90 |             N/A |           31.09 |\n| ResNet50  |  1702 |     4183.77 |     11382.51 |          N/A |    121777.01 |            2.72 |             N/A |           29.11 |\n| ResNet101 |  3317 |     7721.13 |     22247.85 |          N/A |    238755.17 |            2.88 |             N/A |           30.92 |\n| ResNet152 |  4932 |    11508.05 |     31429.39 |          N/A |    360257.74 |            2.73 |             N/A |           31.30 |\n| ViT-H/14  |  3420 |     8294.20 |     24524.86 |          N/A |    270514.87 |            2.96 |             N/A |           32.61 |\n| Swin-B    |  2881 |     7074.62 |     20854.80 |          N/A |    241120.41 |            2.95 |             N/A |           34.08 |\n|           |       |             |              |              |  **Average** |        **2.89** |             N/A |       **31.33** |\n\n<div align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/16078332/227140815-754fd476-0dee-42df-a809-40c953d7aff5.png\" width=\"90%\" />\n</div>\n\n### Tree Map with Path\n\n| Module    | Nodes | OpTree (\u03bcs) | JAX XLA (\u03bcs) | PyTorch (\u03bcs) | DM-Tree (\u03bcs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |\n| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |\n| TinyMLP   |    53 |      109.82 |       778.30 |          N/A |      2186.40 |            7.09 |             N/A |           19.91 |\n| AlexNet   |   188 |      365.16 |      2939.36 |          N/A |      8355.37 |            8.05 |             N/A |           22.88 |\n| ResNet18  |   698 |     1308.26 |      9529.58 |          N/A |     25758.24 |            7.28 |             N/A |           19.69 |\n| ResNet34  |  1242 |     2527.21 |     18084.89 |          N/A |     45942.32 |            7.16 |             N/A |           18.18 |\n| ResNet50  |  1702 |     3226.03 |     22935.53 |          N/A |     61275.34 |            7.11 |             N/A |           18.99 |\n| ResNet101 |  3317 |     6663.52 |     46878.89 |          N/A |    126642.14 |            7.04 |             N/A |           19.01 |\n| ResNet152 |  4932 |     9378.19 |     66136.44 |          N/A |    176981.01 |            7.05 |             N/A |           18.87 |\n| ViT-H/14  |  3420 |     7033.69 |     50418.37 |          N/A |    142508.11 |            7.17 |             N/A |           20.26 |\n| Swin-B    |  2881 |     6078.15 |     43173.22 |          N/A |    116612.71 |            7.10 |             N/A |           19.19 |\n|           |       |             |              |              |  **Average** |        **7.23** |             N/A |       **19.66** |\n\n<div align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/16078332/227140830-ab8dfb6e-ea59-449e-af86-ae89897258be.png\" width=\"90%\" />\n</div>\n\n### Tree Map with Path (nargs)\n\n| Module    | Nodes | OpTree (\u03bcs) | JAX XLA (\u03bcs) | PyTorch (\u03bcs) | DM-Tree (\u03bcs) | Speedup (J / O) | Speedup (P / O) | Speedup (D / O) |\n| :-------- | ----: | ----------: | -----------: | -----------: | -----------: | --------------: | --------------: | --------------: |\n| TinyMLP   |    53 |      146.05 |       917.00 |          N/A |      3940.61 |            6.28 |             N/A |           26.98 |\n| AlexNet   |   188 |      489.27 |      3560.76 |          N/A |     15434.71 |            7.28 |             N/A |           31.55 |\n| ResNet18  |   698 |     1712.79 |     11171.44 |          N/A |     50219.86 |            6.52 |             N/A |           29.32 |\n| ResNet34  |  1242 |     3112.83 |     21024.58 |          N/A |     95505.71 |            6.75 |             N/A |           30.68 |\n| ResNet50  |  1702 |     4220.70 |     26600.82 |          N/A |    121897.57 |            6.30 |             N/A |           28.88 |\n| ResNet101 |  3317 |     8631.34 |     54372.37 |          N/A |    236555.54 |            6.30 |             N/A |           27.41 |\n| ResNet152 |  4932 |    12710.49 |     77643.13 |          N/A |    353600.32 |            6.11 |             N/A |           27.82 |\n| ViT-H/14  |  3420 |     8753.09 |     58712.71 |          N/A |    286365.36 |            6.71 |             N/A |           32.72 |\n| Swin-B    |  2881 |     7359.29 |     50112.23 |          N/A |    228866.66 |            6.81 |             N/A |           31.10 |\n|           |       |             |              |              |  **Average** |        **6.56** |             N/A |       **29.61** |\n\n<div align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/16078332/227140850-bd3744aa-363d-46a7-9e92-4279d14d9be6.png\" width=\"90%\" />\n</div>\n\n--------------------------------------------------------------------------------\n\n## Changelog\n\nSee [CHANGELOG.md](https://github.com/metaopt/optree/blob/HEAD/CHANGELOG.md).\n\n--------------------------------------------------------------------------------\n\n## License\n\nOpTree is released under the Apache License 2.0.\n\nOpTree is heavily based on JAX's implementation of the PyTree utility, with deep refactoring and several improvements.\nThe original licenses can be found at [JAX's Apache License 2.0](https://github.com/google/jax/blob/HEAD/LICENSE) and [Tensorflow's Apache License 2.0](https://github.com/tensorflow/tensorflow/blob/HEAD/LICENSE).\n",
    "bugtrack_url": null,
    "license": "Apache License, Version 2.0",
    "summary": "Optimized PyTree Utilities.",
    "version": "0.13.1",
    "project_urls": {
        "Bug Report": "https://github.com/metaopt/optree/issues",
        "Documentation": "https://optree.readthedocs.io",
        "Homepage": "https://github.com/metaopt/optree",
        "Repository": "https://github.com/metaopt/optree"
    },
    "split_keywords": [
        "pytree",
        " tree manipulation",
        " tree traversal",
        " functional programming"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "26dbaf7430add026a1eed470492441c6eba891ae4d0e44e9ebb1ab7d829e4e83",
                "md5": "34df6bcbc5aa6f2acf338e328859a1ba",
                "sha256": "f8e2a546cecc5077ec7d4fe24ec8aede43ca8555b832d115f1ebbb4f3b35bc78"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp310-cp310-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "34df6bcbc5aa6f2acf338e328859a1ba",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 576643,
            "upload_time": "2024-11-12T14:53:18",
            "upload_time_iso_8601": "2024-11-12T14:53:18.220755Z",
            "url": "https://files.pythonhosted.org/packages/26/db/af7430add026a1eed470492441c6eba891ae4d0e44e9ebb1ab7d829e4e83/optree-0.13.1-cp310-cp310-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b81b1689753799ff4fd0f72148673e2bed3d99596f14ad17b93490c5b1885588",
                "md5": "eee5c8b167e41f629380beed66e53d4a",
                "sha256": "a3058e2d6a6a7d6362d40f7826258204d9fc2cc4cc8f72eaa3dbff14b6622025"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp310-cp310-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "eee5c8b167e41f629380beed66e53d4a",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 311753,
            "upload_time": "2024-11-12T14:53:20",
            "upload_time_iso_8601": "2024-11-12T14:53:20.594999Z",
            "url": "https://files.pythonhosted.org/packages/b8/1b/1689753799ff4fd0f72148673e2bed3d99596f14ad17b93490c5b1885588/optree-0.13.1-cp310-cp310-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "467e2e4bc5920078bbafa9a640d99e262c3a003455cfcd2e646f3c339fd48bdb",
                "md5": "8a016d48218f5169a86515ccedbb8420",
                "sha256": "34b4dd0f5d73170c7740726cadfca973220ccbed9559beb51fab446d9e584d0a"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "8a016d48218f5169a86515ccedbb8420",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 346244,
            "upload_time": "2024-11-12T14:53:22",
            "upload_time_iso_8601": "2024-11-12T14:53:22.535145Z",
            "url": "https://files.pythonhosted.org/packages/46/7e/2e4bc5920078bbafa9a640d99e262c3a003455cfcd2e646f3c339fd48bdb/optree-0.13.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "695b11bdfeb4d4580f794f58c94a3c4c77c0732bfccbbdd206924e983270f78a",
                "md5": "00d5e37aaca4df9f3cc77a0bb697fb09",
                "sha256": "d1844b966bb5c95b64af5c6f92f99e4037452b92b18d060fbd80097b5b773d86"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "00d5e37aaca4df9f3cc77a0bb697fb09",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 389821,
            "upload_time": "2024-11-12T14:53:24",
            "upload_time_iso_8601": "2024-11-12T14:53:24.218465Z",
            "url": "https://files.pythonhosted.org/packages/69/5b/11bdfeb4d4580f794f58c94a3c4c77c0732bfccbbdd206924e983270f78a/optree-0.13.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e88a9d0af81397f511d713b53ac7fdc758d82e39ed8f743bea0a316936d5c3b7",
                "md5": "accb2315011e2683ae8d9cd6bc3ac390",
                "sha256": "1d74ff3dfe8599935d52b26a2fe5a43242b4d3f47be6fc1c5ce34c25e116d616"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "accb2315011e2683ae8d9cd6bc3ac390",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 387584,
            "upload_time": "2024-11-12T14:53:25",
            "upload_time_iso_8601": "2024-11-12T14:53:25.693004Z",
            "url": "https://files.pythonhosted.org/packages/e8/8a/9d0af81397f511d713b53ac7fdc758d82e39ed8f743bea0a316936d5c3b7/optree-0.13.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ebf5b08425c74494f1a61c70361c28da4040e94fd0595ed5687ed69f7981c76",
                "md5": "32840d74a3866680b9282f4be4defce2",
                "sha256": "940c739c9957404a9bbe40ed9289792adaf476cece59eca4fe2f32137fa15a8d"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "32840d74a3866680b9282f4be4defce2",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 359549,
            "upload_time": "2024-11-12T14:53:27",
            "upload_time_iso_8601": "2024-11-12T14:53:27.132634Z",
            "url": "https://files.pythonhosted.org/packages/0e/bf/5b08425c74494f1a61c70361c28da4040e94fd0595ed5687ed69f7981c76/optree-0.13.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b1c970e551db94823262c520149d278aea055a46ac46c9dc23e08831a15ee1a7",
                "md5": "5b97c8d8672b37a56a7a1452a61d8a9c",
                "sha256": "cfdf7f5cfb5f9b1c0188c667a3dc56551e60a52a918cb8600f84e2f0ad882106"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "5b97c8d8672b37a56a7a1452a61d8a9c",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 381280,
            "upload_time": "2024-11-12T14:53:29",
            "upload_time_iso_8601": "2024-11-12T14:53:29.206550Z",
            "url": "https://files.pythonhosted.org/packages/b1/c9/70e551db94823262c520149d278aea055a46ac46c9dc23e08831a15ee1a7/optree-0.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "77eca0c5dad12c097d543fa376d02d1a12294ab1e1cc78fde9c83587f0676189",
                "md5": "b74b1db93c05d3dc898020f67652342b",
                "sha256": "135e29e0a69149958003443d43f49af0ebb65f03ae52cddf4142e94d5a36b0c8"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp310-cp310-win32.whl",
            "has_sig": false,
            "md5_digest": "b74b1db93c05d3dc898020f67652342b",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 255090,
            "upload_time": "2024-11-12T14:53:32",
            "upload_time_iso_8601": "2024-11-12T14:53:32.101460Z",
            "url": "https://files.pythonhosted.org/packages/77/ec/a0c5dad12c097d543fa376d02d1a12294ab1e1cc78fde9c83587f0676189/optree-0.13.1-cp310-cp310-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5c25dcc520ece35026e44ca7dc75f246eb132f6e29b3a52b989e180e1b05846c",
                "md5": "54cee74bce1c7a1c351bbf10f4bad290",
                "sha256": "64032b77420410c3d315a4b9bcbece15853432c155613bb4261d87809b3ee357"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "54cee74bce1c7a1c351bbf10f4bad290",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 282720,
            "upload_time": "2024-11-12T14:53:34",
            "upload_time_iso_8601": "2024-11-12T14:53:34.146953Z",
            "url": "https://files.pythonhosted.org/packages/5c/25/dcc520ece35026e44ca7dc75f246eb132f6e29b3a52b989e180e1b05846c/optree-0.13.1-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "208556267883d1ee350be1561781e0fd4d16e1ee80825a9633e58926ca92647d",
                "md5": "006b2f426d97be751f398aa9871f6587",
                "sha256": "d0c5a389c108367007151bcfef494f8c2674e4aa23d80ac9163876f5b213dfb6"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp310-cp310-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "006b2f426d97be751f398aa9871f6587",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 282719,
            "upload_time": "2024-11-12T14:53:36",
            "upload_time_iso_8601": "2024-11-12T14:53:36.126662Z",
            "url": "https://files.pythonhosted.org/packages/20/85/56267883d1ee350be1561781e0fd4d16e1ee80825a9633e58926ca92647d/optree-0.13.1-cp310-cp310-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d9c15723dcb9e065f1fdff996b16c958013185e3b2c0f9da0a199b0ca5851f05",
                "md5": "69fe3cd1578c70c9f981eb850d3e0b00",
                "sha256": "c84ecb6977ba7f5d4ba24d0312cbffb74c6860237572701c2716bd811ca9b226"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp311-cp311-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "69fe3cd1578c70c9f981eb850d3e0b00",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 589599,
            "upload_time": "2024-11-12T14:53:38",
            "upload_time_iso_8601": "2024-11-12T14:53:38.306844Z",
            "url": "https://files.pythonhosted.org/packages/d9/c1/5723dcb9e065f1fdff996b16c958013185e3b2c0f9da0a199b0ca5851f05/optree-0.13.1-cp311-cp311-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "27306fe920c811b19dc1465ab0627db4133993f58fdc38ed929f4afb308a61fe",
                "md5": "c15749aef8ccf242c126b73371a23ee9",
                "sha256": "6bc9aae5ee17a38e3657c8c5db1a60923cc10debd177f6781f352362a846feeb"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp311-cp311-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "c15749aef8ccf242c126b73371a23ee9",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 318585,
            "upload_time": "2024-11-12T14:53:39",
            "upload_time_iso_8601": "2024-11-12T14:53:39.841851Z",
            "url": "https://files.pythonhosted.org/packages/27/30/6fe920c811b19dc1465ab0627db4133993f58fdc38ed929f4afb308a61fe/optree-0.13.1-cp311-cp311-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "17871b8b457b5e0446421d3001c4f64a76ae63f0fbe4847365123fc2fb087c8c",
                "md5": "ffb816fa977eb4e12f76eda26bb637a8",
                "sha256": "5f94a627c5a2fb776bbfa8f7558db5b918916d37586ba943e74e5f22789c4301"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "ffb816fa977eb4e12f76eda26bb637a8",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 357310,
            "upload_time": "2024-11-12T14:53:41",
            "upload_time_iso_8601": "2024-11-12T14:53:41.283332Z",
            "url": "https://files.pythonhosted.org/packages/17/87/1b8b457b5e0446421d3001c4f64a76ae63f0fbe4847365123fc2fb087c8c/optree-0.13.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3738958677663cd988af5d401d7280d2756cc1de5e5c3139327981cc10900e5a",
                "md5": "43a0a6454332c9feae88a91f3500ad39",
                "sha256": "b21ac55473476007e317500fd5851d0a0d695a0c51742bd65fe7347d18530da2"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "43a0a6454332c9feae88a91f3500ad39",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 402485,
            "upload_time": "2024-11-12T14:53:43",
            "upload_time_iso_8601": "2024-11-12T14:53:43.380510Z",
            "url": "https://files.pythonhosted.org/packages/37/38/958677663cd988af5d401d7280d2756cc1de5e5c3139327981cc10900e5a/optree-0.13.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f5a5ab3d146ecf4b34ec4f660ee56ef05eff7a79663b0cf16bfac02dac12455c",
                "md5": "bcc57a0259b2fdc6af29db064c87eaed",
                "sha256": "360f2e8f7eb22ff131bc7e3e241035908e6b47d41372eb3d68d77bc7036ddb30"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "bcc57a0259b2fdc6af29db064c87eaed",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 398417,
            "upload_time": "2024-11-12T14:53:44",
            "upload_time_iso_8601": "2024-11-12T14:53:44.862818Z",
            "url": "https://files.pythonhosted.org/packages/f5/a5/ab3d146ecf4b34ec4f660ee56ef05eff7a79663b0cf16bfac02dac12455c/optree-0.13.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c78c42b3c398b2096dbffc4f6c3319def09884e688a0e3339c4c8a42e74c8e43",
                "md5": "5b4229973d1aaae2a7b49bf11a87682b",
                "sha256": "5dec0785bc4bbcabecd7e82be3f189b21f3ce8a1244b243009736912a6d8f737"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "5b4229973d1aaae2a7b49bf11a87682b",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 368742,
            "upload_time": "2024-11-12T14:53:46",
            "upload_time_iso_8601": "2024-11-12T14:53:46.697625Z",
            "url": "https://files.pythonhosted.org/packages/c7/8c/42b3c398b2096dbffc4f6c3319def09884e688a0e3339c4c8a42e74c8e43/optree-0.13.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "57d760f5e9ca2b94face19b9e5ba6ded59eddf94e349cdd26a317f1a8f1aef3b",
                "md5": "e5eb07215a542e479131f502bd65ac1e",
                "sha256": "efbffeec15e4a79ed9921dc2227cbba1b64db353c4b72ce4ce83e62fbce9e652"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e5eb07215a542e479131f502bd65ac1e",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 391785,
            "upload_time": "2024-11-12T14:53:48",
            "upload_time_iso_8601": "2024-11-12T14:53:48.134157Z",
            "url": "https://files.pythonhosted.org/packages/57/d7/60f5e9ca2b94face19b9e5ba6ded59eddf94e349cdd26a317f1a8f1aef3b/optree-0.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4c37400aa4a413a4886ae92221224e73e474f527203d5031f1041b1e5a5082dd",
                "md5": "a2ee3a7eb8d59c236e09715b4d355658",
                "sha256": "f74fb880472572d550d85d2f1563365b6f194e2157a7703790cbd54d9ab5cf29"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp311-cp311-win32.whl",
            "has_sig": false,
            "md5_digest": "a2ee3a7eb8d59c236e09715b4d355658",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 260910,
            "upload_time": "2024-11-12T14:53:49",
            "upload_time_iso_8601": "2024-11-12T14:53:49.474618Z",
            "url": "https://files.pythonhosted.org/packages/4c/37/400aa4a413a4886ae92221224e73e474f527203d5031f1041b1e5a5082dd/optree-0.13.1-cp311-cp311-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2b14c76d594bf85178d5d616bca143610619174dc3acd097a29e427b8ddd3fd2",
                "md5": "034d901c8c533540509ad74a476708e0",
                "sha256": "0adc896018f34b5f37f6c92c35ae639877578725c5281cc9d4a0ac2ab2c46f77"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "034d901c8c533540509ad74a476708e0",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 292203,
            "upload_time": "2024-11-12T14:53:52",
            "upload_time_iso_8601": "2024-11-12T14:53:52.225895Z",
            "url": "https://files.pythonhosted.org/packages/2b/14/c76d594bf85178d5d616bca143610619174dc3acd097a29e427b8ddd3fd2/optree-0.13.1-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "beccb6dcb33954a95ad7c3b643175778b46ce25629bba038e1a1fd5ae3d4803b",
                "md5": "6cc60374dd138093eea14b59e8c21e4d",
                "sha256": "cf85ba1a7d80b6dc19ef5ca4c17d2ff0290dc9306c5b8b468d51cede287f3c8d"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp311-cp311-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "6cc60374dd138093eea14b59e8c21e4d",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 292206,
            "upload_time": "2024-11-12T14:53:53",
            "upload_time_iso_8601": "2024-11-12T14:53:53.828548Z",
            "url": "https://files.pythonhosted.org/packages/be/cc/b6dcb33954a95ad7c3b643175778b46ce25629bba038e1a1fd5ae3d4803b/optree-0.13.1-cp311-cp311-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c6e7f605320e064ba54078f2966a9034fa2b3fc47db1e728e07a2a38b2e9075f",
                "md5": "c72dfa69a49bda4cbbe2ddf6c4d0826b",
                "sha256": "0914ba436d6c0781dc9b04e3b95e06fe5c4fc6a87e94893da971805a3790efe8"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp312-cp312-macosx_10_13_universal2.whl",
            "has_sig": false,
            "md5_digest": "c72dfa69a49bda4cbbe2ddf6c4d0826b",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 600953,
            "upload_time": "2024-11-12T14:53:55",
            "upload_time_iso_8601": "2024-11-12T14:53:55.238482Z",
            "url": "https://files.pythonhosted.org/packages/c6/e7/f605320e064ba54078f2966a9034fa2b3fc47db1e728e07a2a38b2e9075f/optree-0.13.1-cp312-cp312-macosx_10_13_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fa7cb7bedf44dbc54c55b8a408a4f978d9bb1ffbfb376093c33fc8576b1848dd",
                "md5": "3f1329fd0a7101c7992f44f5c0c5471d",
                "sha256": "111172446e8a4f0d3be13a853fa28cb46b5679a1c7ca15b2e6db2b43dbbf9efb"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp312-cp312-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "3f1329fd0a7101c7992f44f5c0c5471d",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 322341,
            "upload_time": "2024-11-12T14:53:57",
            "upload_time_iso_8601": "2024-11-12T14:53:57.308262Z",
            "url": "https://files.pythonhosted.org/packages/fa/7c/b7bedf44dbc54c55b8a408a4f978d9bb1ffbfb376093c33fc8576b1848dd/optree-0.13.1-cp312-cp312-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7105ea228c1677a53855572a0ebb0c4e2a3e5d8e792d59e2b536ef50a9a02495",
                "md5": "01c7758e72ac5b6abc5f10764c38a8b8",
                "sha256": "28f083ede9be89503357a6b9e5d304826701596abe13d33e8f6fa2cd85b407fc"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "01c7758e72ac5b6abc5f10764c38a8b8",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 352675,
            "upload_time": "2024-11-12T14:53:58",
            "upload_time_iso_8601": "2024-11-12T14:53:58.802253Z",
            "url": "https://files.pythonhosted.org/packages/71/05/ea228c1677a53855572a0ebb0c4e2a3e5d8e792d59e2b536ef50a9a02495/optree-0.13.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6f22c65ef2b6b191119a90223226b4a02100a9c9dd3a38e8410e473bd1653eff",
                "md5": "bc7bd713fe42331055d7a8b4705e2534",
                "sha256": "0aec6da79a6130b4c76073241c0f31c11b96a38e70c7a00f9ed918d7464394ab"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "bc7bd713fe42331055d7a8b4705e2534",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 399295,
            "upload_time": "2024-11-12T14:54:00",
            "upload_time_iso_8601": "2024-11-12T14:54:00.093853Z",
            "url": "https://files.pythonhosted.org/packages/6f/22/c65ef2b6b191119a90223226b4a02100a9c9dd3a38e8410e473bd1653eff/optree-0.13.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "01be56f946d3af013561d46c95f75880302cab03f1490ef939569852af6331c0",
                "md5": "6088c21413a672a2be3f1b9b7d191700",
                "sha256": "a408a43f16840475612c7058eb80b53791bf8b8266c5b3cd07f69697958fd97d"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "6088c21413a672a2be3f1b9b7d191700",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 392916,
            "upload_time": "2024-11-12T14:54:02",
            "upload_time_iso_8601": "2024-11-12T14:54:02.264202Z",
            "url": "https://files.pythonhosted.org/packages/01/be/56f946d3af013561d46c95f75880302cab03f1490ef939569852af6331c0/optree-0.13.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e3ec6041c3ffe04af5890af7ab2b5f0ca48253032dce32aa5cddf8188ad4cc4b",
                "md5": "6847d0f947f97b0192a2522e5b6d95da",
                "sha256": "3da76fc43dcc22fe58d11634a04672ca7cc270aed469ac35fd5c78b7b9bc9125"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "6847d0f947f97b0192a2522e5b6d95da",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 365179,
            "upload_time": "2024-11-12T14:54:03",
            "upload_time_iso_8601": "2024-11-12T14:54:03.664968Z",
            "url": "https://files.pythonhosted.org/packages/e3/ec/6041c3ffe04af5890af7ab2b5f0ca48253032dce32aa5cddf8188ad4cc4b/optree-0.13.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9810087a684c7b5029e3be1f335d9df422b406cbfd842c77abfa7b17085adce5",
                "md5": "ace8cf837833f9804a76fa8150904b29",
                "sha256": "d866f707b9f3a9f0e670a73fe8feee4993b2dbdbf9eef598e1cf2e5cb2876413"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ace8cf837833f9804a76fa8150904b29",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 385480,
            "upload_time": "2024-11-12T14:54:05",
            "upload_time_iso_8601": "2024-11-12T14:54:05.125239Z",
            "url": "https://files.pythonhosted.org/packages/98/10/087a684c7b5029e3be1f335d9df422b406cbfd842c77abfa7b17085adce5/optree-0.13.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9d58f7430d613197260fc38fead8bc974a0069c4513ea3c04f11a771daf8b20f",
                "md5": "4cbea88572b4a0eb520933f24df95b2f",
                "sha256": "bc9c396f64f9aacdf852713bd75f1b9a83f118660fd82e87c937c081b7ddccd1"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp312-cp312-win32.whl",
            "has_sig": false,
            "md5_digest": "4cbea88572b4a0eb520933f24df95b2f",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 261578,
            "upload_time": "2024-11-12T14:54:06",
            "upload_time_iso_8601": "2024-11-12T14:54:06.522993Z",
            "url": "https://files.pythonhosted.org/packages/9d/58/f7430d613197260fc38fead8bc974a0069c4513ea3c04f11a771daf8b20f/optree-0.13.1-cp312-cp312-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e3deb114d999746f9a9fb64476c8520ad499c11651912cecffe77aee1d5bec18",
                "md5": "1f0e78f14d31f09048ff5fbbb1e24916",
                "sha256": "587fb8de8e75e80fe7c7240e269630876bec3ee2038724893370976207813e4b"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "1f0e78f14d31f09048ff5fbbb1e24916",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 292036,
            "upload_time": "2024-11-12T14:54:08",
            "upload_time_iso_8601": "2024-11-12T14:54:08.468093Z",
            "url": "https://files.pythonhosted.org/packages/e3/de/b114d999746f9a9fb64476c8520ad499c11651912cecffe77aee1d5bec18/optree-0.13.1-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9fd75dec5d97c0a0c7951f0c8f5d24b4c6c8529d41ee69d0705f06bfa8b4874f",
                "md5": "2780e96e2166a8c305b7c67c399ed016",
                "sha256": "5da0fd26325a07354915cc4e3a9aee797cb75dff07c60d24b3f309457069abd3"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp312-cp312-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "2780e96e2166a8c305b7c67c399ed016",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 292044,
            "upload_time": "2024-11-12T14:54:10",
            "upload_time_iso_8601": "2024-11-12T14:54:10.038270Z",
            "url": "https://files.pythonhosted.org/packages/9f/d7/5dec5d97c0a0c7951f0c8f5d24b4c6c8529d41ee69d0705f06bfa8b4874f/optree-0.13.1-cp312-cp312-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3f53f3727cad24f16a06666f328f1212476988cadac9b9e7919ddfb2c22eb662",
                "md5": "64ddbe33aa26daf480c308b06be565cd",
                "sha256": "f788b2ad120deb73b4908a74473cd6de79cfb9f33bbe9dcb59cea2e2477d4e28"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313-macosx_10_13_universal2.whl",
            "has_sig": false,
            "md5_digest": "64ddbe33aa26daf480c308b06be565cd",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 608270,
            "upload_time": "2024-11-12T14:54:11",
            "upload_time_iso_8601": "2024-11-12T14:54:11.413611Z",
            "url": "https://files.pythonhosted.org/packages/3f/53/f3727cad24f16a06666f328f1212476988cadac9b9e7919ddfb2c22eb662/optree-0.13.1-cp313-cp313-macosx_10_13_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "64f268beb9da2dd52baa50e7a589ed2bd8434fdd70cdba06754aa5910263da06",
                "md5": "f1d6cabd658ae51d0f288794114e3514",
                "sha256": "2909cb42add6bb1a5a2b0243bdd8c4b861bf072f3741e26239481907ac8ad4e6"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "f1d6cabd658ae51d0f288794114e3514",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 325703,
            "upload_time": "2024-11-12T14:54:12",
            "upload_time_iso_8601": "2024-11-12T14:54:12.904347Z",
            "url": "https://files.pythonhosted.org/packages/64/f2/68beb9da2dd52baa50e7a589ed2bd8434fdd70cdba06754aa5910263da06/optree-0.13.1-cp313-cp313-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "45db08921e56f3425bf649eb593eb28775263c935d029985d35572dc5690cc1a",
                "md5": "9fa433e0437b07b1db5bb3f183a1671e",
                "sha256": "bbc5fa2ff5090389f3a906567446f01d692bd6fe5cfcc5ae2d5861f24e8e0e4d"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "9fa433e0437b07b1db5bb3f183a1671e",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 355813,
            "upload_time": "2024-11-12T14:54:14",
            "upload_time_iso_8601": "2024-11-12T14:54:14.863708Z",
            "url": "https://files.pythonhosted.org/packages/45/db/08921e56f3425bf649eb593eb28775263c935d029985d35572dc5690cc1a/optree-0.13.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e5e3587e0d28dc2cee064902adfebca97db124e12b275dbe9c2b05a70a22345f",
                "md5": "5f0d9d225462d92ca98b8a9173130d32",
                "sha256": "4711f5cac5a2a49c3d6c9f0eca7b77c22b452170bb33ea01c3214ebb17931db9"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "5f0d9d225462d92ca98b8a9173130d32",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 402566,
            "upload_time": "2024-11-12T14:54:17",
            "upload_time_iso_8601": "2024-11-12T14:54:17.489421Z",
            "url": "https://files.pythonhosted.org/packages/e5/e3/587e0d28dc2cee064902adfebca97db124e12b275dbe9c2b05a70a22345f/optree-0.13.1-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8a1d0d5bbab8c99580b732b89ef2c5fcdd6ef410478295949fdf2984fa1bfc28",
                "md5": "7f3e94e79f7b50aee74aadf2974dbfc9",
                "sha256": "6c4ab1d391b89cb88eb3c63383d5eb0930bc21141de9d5acd277feed9e38eb65"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "7f3e94e79f7b50aee74aadf2974dbfc9",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 397005,
            "upload_time": "2024-11-12T14:54:20",
            "upload_time_iso_8601": "2024-11-12T14:54:20.211231Z",
            "url": "https://files.pythonhosted.org/packages/8a/1d/0d5bbab8c99580b732b89ef2c5fcdd6ef410478295949fdf2984fa1bfc28/optree-0.13.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "16fafc2a8183e14f0d195d25824bf65095ff32b34bd469614a6c30d0a596a30f",
                "md5": "4fbc840afe2e94a20cc95e098862f033",
                "sha256": "b5e5f09c85ae558a6bdaea57e63168082e728e777391393e9e2792f0d15b7b59"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "4fbc840afe2e94a20cc95e098862f033",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 369400,
            "upload_time": "2024-11-12T14:54:23",
            "upload_time_iso_8601": "2024-11-12T14:54:23.320743Z",
            "url": "https://files.pythonhosted.org/packages/16/fa/fc2a8183e14f0d195d25824bf65095ff32b34bd469614a6c30d0a596a30f/optree-0.13.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f428c08ce4ebb3d9a6e4415f1a97830c84879e2d1a43710a7c8a18b2c3e169d",
                "md5": "e912c00f23ca8a06ef825f2922ad1810",
                "sha256": "9c8ee1e988c634a451146b87d9ebdbf650a75dc1f52a9cffcd89fabb7289321c"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e912c00f23ca8a06ef825f2922ad1810",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 390179,
            "upload_time": "2024-11-12T14:54:24",
            "upload_time_iso_8601": "2024-11-12T14:54:24.831539Z",
            "url": "https://files.pythonhosted.org/packages/9f/42/8c08ce4ebb3d9a6e4415f1a97830c84879e2d1a43710a7c8a18b2c3e169d/optree-0.13.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0dd6f81e6748bcc3f35a2f570a814014e3418b0ed425d7cbc2b42d88d12863d5",
                "md5": "96b9871347105550f7b727c8412c77d3",
                "sha256": "3010ae24e994f6e00071098d34e98e78eb995b7454a2ef629a0bf7df17441b24"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313t-macosx_10_13_universal2.whl",
            "has_sig": false,
            "md5_digest": "96b9871347105550f7b727c8412c77d3",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 702861,
            "upload_time": "2024-11-12T14:54:31",
            "upload_time_iso_8601": "2024-11-12T14:54:31.692881Z",
            "url": "https://files.pythonhosted.org/packages/0d/d6/f81e6748bcc3f35a2f570a814014e3418b0ed425d7cbc2b42d88d12863d5/optree-0.13.1-cp313-cp313t-macosx_10_13_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "087f70a2d02110ccb245bc57bd9ad57668acfea0ff364c27d7dfe1735ede79ed",
                "md5": "0eea29d2b787665cef1568aa2d8bcb05",
                "sha256": "5b5626c38d4a18a144063db5c1dbb558431d83ca10682324f74665a12214801f"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313t-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "0eea29d2b787665cef1568aa2d8bcb05",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 370740,
            "upload_time": "2024-11-12T14:54:33",
            "upload_time_iso_8601": "2024-11-12T14:54:33.153317Z",
            "url": "https://files.pythonhosted.org/packages/08/7f/70a2d02110ccb245bc57bd9ad57668acfea0ff364c27d7dfe1735ede79ed/optree-0.13.1-cp313-cp313t-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "63374ddf05267467809236203e2007e9443519c4d55e0744ce7eea1aa74dffee",
                "md5": "e03fd59e5b3dfd4114db5dc38d8f87c0",
                "sha256": "1935639dd498a42367633e3877797e1330e39d44d48bbca1a136bb4dbe4c1bc9"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "e03fd59e5b3dfd4114db5dc38d8f87c0",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 374695,
            "upload_time": "2024-11-12T14:54:34",
            "upload_time_iso_8601": "2024-11-12T14:54:34.550915Z",
            "url": "https://files.pythonhosted.org/packages/63/37/4ddf05267467809236203e2007e9443519c4d55e0744ce7eea1aa74dffee/optree-0.13.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "19f251a63a799f6dce31813d7e02a7547394aebcb39f407e62038ecbd999d490",
                "md5": "9f3f7e92f5a23f04f7665218e2db6885",
                "sha256": "01819c3df950696f32c91faf8d376ae6b695ffdba18f330f1cab6b8e314e4612"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "9f3f7e92f5a23f04f7665218e2db6885",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 418671,
            "upload_time": "2024-11-12T14:54:36",
            "upload_time_iso_8601": "2024-11-12T14:54:36.033195Z",
            "url": "https://files.pythonhosted.org/packages/19/f2/51a63a799f6dce31813d7e02a7547394aebcb39f407e62038ecbd999d490/optree-0.13.1-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f07ca08191e0c9202f2be9c415057eea3cf3a5af18e9a6d81f4c7b0e6faf0a1f",
                "md5": "50ae78e4e09e0383145dc45f4f084c40",
                "sha256": "48c29d9c6c64c8dc48c8ee97f7c1d5cdb83e37320f0be0857c06ce4b97994aea"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "50ae78e4e09e0383145dc45f4f084c40",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 414966,
            "upload_time": "2024-11-12T14:54:38",
            "upload_time_iso_8601": "2024-11-12T14:54:38.006222Z",
            "url": "https://files.pythonhosted.org/packages/f0/7c/a08191e0c9202f2be9c415057eea3cf3a5af18e9a6d81f4c7b0e6faf0a1f/optree-0.13.1-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8f377bf815f4da7234e387863228b17246b42b8c02553882581a4013a64a88d0",
                "md5": "9acffa4a5432a24c9f3d0c5f0af8c7ff",
                "sha256": "025d23400b8b579462a251420f0a9ae77d3d3593f84276f3465985731d79d722"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "9acffa4a5432a24c9f3d0c5f0af8c7ff",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 389219,
            "upload_time": "2024-11-12T14:54:39",
            "upload_time_iso_8601": "2024-11-12T14:54:39.453430Z",
            "url": "https://files.pythonhosted.org/packages/8f/37/7bf815f4da7234e387863228b17246b42b8c02553882581a4013a64a88d0/optree-0.13.1-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3d84bb521a66d3a84fe2f1500ef67d245c2cc1a26277fcaaf4bc70b22c06e99b",
                "md5": "77e40f7c37d5dad0894e91ae7975e5b7",
                "sha256": "55e82426bef151149cfa41d68ac957730fcd420996c0db8324fca81aa6a810ba"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "77e40f7c37d5dad0894e91ae7975e5b7",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 405377,
            "upload_time": "2024-11-12T14:54:40",
            "upload_time_iso_8601": "2024-11-12T14:54:40.862441Z",
            "url": "https://files.pythonhosted.org/packages/3d/84/bb521a66d3a84fe2f1500ef67d245c2cc1a26277fcaaf4bc70b22c06e99b/optree-0.13.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "06993eb53829c4c0b6dc20115d957d2d8e945630ddf40c656dc4e39c5a6e51f2",
                "md5": "28f0a04590a4fef1bc113f39b1668bd4",
                "sha256": "e40f018f522fcfd244688d1b3a360518e636ba7f636385aae0566eae3e7d29bc"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313t-win32.whl",
            "has_sig": false,
            "md5_digest": "28f0a04590a4fef1bc113f39b1668bd4",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 292734,
            "upload_time": "2024-11-12T14:54:42",
            "upload_time_iso_8601": "2024-11-12T14:54:42.214316Z",
            "url": "https://files.pythonhosted.org/packages/06/99/3eb53829c4c0b6dc20115d957d2d8e945630ddf40c656dc4e39c5a6e51f2/optree-0.13.1-cp313-cp313t-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2f59d7601959ad0b90d309794c0975a256304488b4c5671f24e3e12101ade7ef",
                "md5": "fe7578cbdea8614491b02a8221a98a34",
                "sha256": "d580f1bf23bb352c4db6b3544f282f1ac08dcb0d9ab537d25e56220353438cf7"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313t-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "fe7578cbdea8614491b02a8221a98a34",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 331457,
            "upload_time": "2024-11-12T14:54:43",
            "upload_time_iso_8601": "2024-11-12T14:54:43.750196Z",
            "url": "https://files.pythonhosted.org/packages/2f/59/d7601959ad0b90d309794c0975a256304488b4c5671f24e3e12101ade7ef/optree-0.13.1-cp313-cp313t-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b36c01a5bc34660d46c6a3b1fe090bbdc8c76af7b5c1a6613cc671aa6df8349",
                "md5": "874fe654079f96224cc0fb20e9274c15",
                "sha256": "c4d13f55dbd509d27be3af54d53b4ca0751bc518244ced6d0567e518e51452a2"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313t-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "874fe654079f96224cc0fb20e9274c15",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 331470,
            "upload_time": "2024-11-12T14:54:45",
            "upload_time_iso_8601": "2024-11-12T14:54:45.189497Z",
            "url": "https://files.pythonhosted.org/packages/8b/36/c01a5bc34660d46c6a3b1fe090bbdc8c76af7b5c1a6613cc671aa6df8349/optree-0.13.1-cp313-cp313t-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "06023a701d6307fdfefe4fcecbac644803e2a4314ab2406ff465e03129cc85f6",
                "md5": "a0672a5dc85760370308a3bf5a9f38f2",
                "sha256": "5b6531cd4eb23fadbbf77faf834e1119da06d7af3154f55786b59953cd87bb8a"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313-win32.whl",
            "has_sig": false,
            "md5_digest": "a0672a5dc85760370308a3bf5a9f38f2",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 264264,
            "upload_time": "2024-11-12T14:54:26",
            "upload_time_iso_8601": "2024-11-12T14:54:26.298945Z",
            "url": "https://files.pythonhosted.org/packages/06/02/3a701d6307fdfefe4fcecbac644803e2a4314ab2406ff465e03129cc85f6/optree-0.13.1-cp313-cp313-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eff98a1421181c5eb0c0f81d1423a900baeb3faba68a48747bbdffb7581239ac",
                "md5": "6eb94e4984b17418bda1fa769d960cab",
                "sha256": "27d81dc43b522ba47ba7d2e7d91dbb486940348b1bf85caeb0afc2815c0aa492"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "6eb94e4984b17418bda1fa769d960cab",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 293682,
            "upload_time": "2024-11-12T14:54:27",
            "upload_time_iso_8601": "2024-11-12T14:54:27.794582Z",
            "url": "https://files.pythonhosted.org/packages/ef/f9/8a1421181c5eb0c0f81d1423a900baeb3faba68a48747bbdffb7581239ac/optree-0.13.1-cp313-cp313-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8034d1b1849a6240385c4a3af5da9425b11912204d0b1cf142d802815319b73a",
                "md5": "247a7e55f7688d7f730d8eab6e065c13",
                "sha256": "f39c7174a3f3cdc3f5fe6fb4b832f608c40ac174d7567ed6734b2ee952094631"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp313-cp313-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "247a7e55f7688d7f730d8eab6e065c13",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 293670,
            "upload_time": "2024-11-12T14:54:29",
            "upload_time_iso_8601": "2024-11-12T14:54:29.182826Z",
            "url": "https://files.pythonhosted.org/packages/80/34/d1b1849a6240385c4a3af5da9425b11912204d0b1cf142d802815319b73a/optree-0.13.1-cp313-cp313-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6a44b9f9d280339f4a55e7dc7d22dc0ddca6c3dc02b913175259e7a8b9e5a0de",
                "md5": "40336bb822c61dc96d1496a652bc43ea",
                "sha256": "9824a4258b058282eeaee1b388c8dfc704e49beda957b99177db8bd8249a3abe"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp37-cp37m-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "40336bb822c61dc96d1496a652bc43ea",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 333453,
            "upload_time": "2024-11-12T14:54:46",
            "upload_time_iso_8601": "2024-11-12T14:54:46.652195Z",
            "url": "https://files.pythonhosted.org/packages/6a/44/b9f9d280339f4a55e7dc7d22dc0ddca6c3dc02b913175259e7a8b9e5a0de/optree-0.13.1-cp37-cp37m-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "572f1215cc464126f130d2c6bd0147514391faf1781ed7379877c7d08aa462a7",
                "md5": "3bb013785b3770bbd4741f8e64be1723",
                "sha256": "5d21a8b449e47fdbf118ac1938cf6f97d8a60258bc45c6eba3e61f79feeb1ea8"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "3bb013785b3770bbd4741f8e64be1723",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 356823,
            "upload_time": "2024-11-12T14:54:48",
            "upload_time_iso_8601": "2024-11-12T14:54:48.159794Z",
            "url": "https://files.pythonhosted.org/packages/57/2f/1215cc464126f130d2c6bd0147514391faf1781ed7379877c7d08aa462a7/optree-0.13.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a6bfe5ce34e0eab4fa2412ef5621983a18e3fd32d2ee93574317af38299f74bd",
                "md5": "3bdc887976dec02ff0643ceba56fa9dc",
                "sha256": "22ce30c9d733c2214fa321c8370e4dfc8c7829970364618b2b5cacffbc9e8949"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "3bdc887976dec02ff0643ceba56fa9dc",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 397529,
            "upload_time": "2024-11-12T14:54:50",
            "upload_time_iso_8601": "2024-11-12T14:54:50.070890Z",
            "url": "https://files.pythonhosted.org/packages/a6/bf/e5ce34e0eab4fa2412ef5621983a18e3fd32d2ee93574317af38299f74bd/optree-0.13.1-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1620504dd7162c7fd835ecb9af3a4f0cede07515161f80d034bcbb8d2c2f4eaf",
                "md5": "41466db8319d6538573dab540cd5d919",
                "sha256": "2521840d6aded4dac62c787f50bcb1cacbfcda86b9319d666b4025fa0ba5545a"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "41466db8319d6538573dab540cd5d919",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 399310,
            "upload_time": "2024-11-12T14:54:51",
            "upload_time_iso_8601": "2024-11-12T14:54:51.628830Z",
            "url": "https://files.pythonhosted.org/packages/16/20/504dd7162c7fd835ecb9af3a4f0cede07515161f80d034bcbb8d2c2f4eaf/optree-0.13.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0d604a459167761185de5d39234aa84c70d19b9a227576f127d50b054e469eac",
                "md5": "4a6131247b4d1d3b6251bd5883ec3f3f",
                "sha256": "c99891c2ea6050738f7e3de5ab4038736cf33555a752b34a06922ebc9bf0488e"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "4a6131247b4d1d3b6251bd5883ec3f3f",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 368775,
            "upload_time": "2024-11-12T14:54:53",
            "upload_time_iso_8601": "2024-11-12T14:54:53.052072Z",
            "url": "https://files.pythonhosted.org/packages/0d/60/4a459167761185de5d39234aa84c70d19b9a227576f127d50b054e469eac/optree-0.13.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3b353551871e0c8c494b0661b8a977eb90f02ca705d3e188292ad195d769f681",
                "md5": "59be38d76f4cc1c92e1854c70caa2e21",
                "sha256": "1496f29d5b9633fed4b3f1fd4b7e772d77200eb2370c08ef8e14404309c669b9"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "59be38d76f4cc1c92e1854c70caa2e21",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 384255,
            "upload_time": "2024-11-12T14:54:54",
            "upload_time_iso_8601": "2024-11-12T14:54:54.549416Z",
            "url": "https://files.pythonhosted.org/packages/3b/35/3551871e0c8c494b0661b8a977eb90f02ca705d3e188292ad195d769f681/optree-0.13.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2bb78fea9082dfb15ce92ceb7b88380316b9ae5845bcdd6a67f6a4be54c7acae",
                "md5": "770e9088d0cbf3b670e262098265c7de",
                "sha256": "63b2749504fe0b9ac3892e26bf55a040ae2973bcf8da1476afe9266a4624be9d"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp37-cp37m-win32.whl",
            "has_sig": false,
            "md5_digest": "770e9088d0cbf3b670e262098265c7de",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 257920,
            "upload_time": "2024-11-12T14:54:56",
            "upload_time_iso_8601": "2024-11-12T14:54:56.361385Z",
            "url": "https://files.pythonhosted.org/packages/2b/b7/8fea9082dfb15ce92ceb7b88380316b9ae5845bcdd6a67f6a4be54c7acae/optree-0.13.1-cp37-cp37m-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9a0f6d0115c5dece1ae5aa51c934fffe43b49dd367160d37805d7b837ce35270",
                "md5": "b3d9f550f4dc7353ae0ea0c593140321",
                "sha256": "7e1c1da6574d59073b6a6b9a13633217f584ec271ddee4e014c7e422f171e9b4"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp37-cp37m-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "b3d9f550f4dc7353ae0ea0c593140321",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 281011,
            "upload_time": "2024-11-12T14:54:57",
            "upload_time_iso_8601": "2024-11-12T14:54:57.924374Z",
            "url": "https://files.pythonhosted.org/packages/9a/0f/6d0115c5dece1ae5aa51c934fffe43b49dd367160d37805d7b837ce35270/optree-0.13.1-cp37-cp37m-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7359125198280db2b9e090e25283344d2f03c08f0290f29ca9a8cc75a0608fea",
                "md5": "cd31172b9fe128b378361e69e4a7ac0e",
                "sha256": "50dd6a9c8ccef267ab4941f07eac53faf6a00666dce4d209da20525570ffaca3"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp38-cp38-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "cd31172b9fe128b378361e69e4a7ac0e",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 576680,
            "upload_time": "2024-11-12T14:54:59",
            "upload_time_iso_8601": "2024-11-12T14:54:59.691297Z",
            "url": "https://files.pythonhosted.org/packages/73/59/125198280db2b9e090e25283344d2f03c08f0290f29ca9a8cc75a0608fea/optree-0.13.1-cp38-cp38-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5fd182e34422cdbbfaf4dc8bf2b6c7dee99a3636a1bb72703fd9915a53f5e2c0",
                "md5": "f800d299cba9175bdcf023cbc9d13f9c",
                "sha256": "536ecf0e555432cc939d958590e33e00e75cc254ab0dd269e84fc9de8352db61"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp38-cp38-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "f800d299cba9175bdcf023cbc9d13f9c",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 311581,
            "upload_time": "2024-11-12T14:55:01",
            "upload_time_iso_8601": "2024-11-12T14:55:01.974177Z",
            "url": "https://files.pythonhosted.org/packages/5f/d1/82e34422cdbbfaf4dc8bf2b6c7dee99a3636a1bb72703fd9915a53f5e2c0/optree-0.13.1-cp38-cp38-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "605d1df478febd326316c2fb3f2759237139730099f8294f5f703bdefaada7b1",
                "md5": "726a0bfd241aab67bf75c3fbfec2c887",
                "sha256": "84a6a974aa9dc4119fe502865c8e1755090ac17dbb53a964619a8ece1130831e"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "726a0bfd241aab67bf75c3fbfec2c887",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 345755,
            "upload_time": "2024-11-12T14:55:03",
            "upload_time_iso_8601": "2024-11-12T14:55:03.447405Z",
            "url": "https://files.pythonhosted.org/packages/60/5d/1df478febd326316c2fb3f2759237139730099f8294f5f703bdefaada7b1/optree-0.13.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "67238ad4292a384491becc73a0742924146f6776c632df8b3797458e1b59bc26",
                "md5": "54bd49fc8b573836602f1e3ec7628730",
                "sha256": "1891267f9dc76e9ddfed947ff7b755ad438ad483de0537a6b5bcf38478d5a33c"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "54bd49fc8b573836602f1e3ec7628730",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 389351,
            "upload_time": "2024-11-12T14:55:06",
            "upload_time_iso_8601": "2024-11-12T14:55:06.577220Z",
            "url": "https://files.pythonhosted.org/packages/67/23/8ad4292a384491becc73a0742924146f6776c632df8b3797458e1b59bc26/optree-0.13.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f2f542cc3c4e985e00df1e85e25163a20ee3a4e39b64192765d0429d79961f9",
                "md5": "7d38633b010ec295eaf4b43ffb4ae233",
                "sha256": "de1ae16ea0410497e50fe2b4d48a83c37bfc87da76e1e82f9cc8c800b4fc8be6"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "7d38633b010ec295eaf4b43ffb4ae233",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 388012,
            "upload_time": "2024-11-12T14:55:09",
            "upload_time_iso_8601": "2024-11-12T14:55:09.200992Z",
            "url": "https://files.pythonhosted.org/packages/9f/2f/542cc3c4e985e00df1e85e25163a20ee3a4e39b64192765d0429d79961f9/optree-0.13.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a0368e384691492fd1a65efda5477630ed9fcbaf540e7475f9ca78ade5633010",
                "md5": "963cb25728d8071e0f1fa00cf4ae869b",
                "sha256": "8d89891e11a55ad83ab3e2810f8571774b2117a6198b4044fa44e0f37f72855e"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "963cb25728d8071e0f1fa00cf4ae869b",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 359365,
            "upload_time": "2024-11-12T14:55:11",
            "upload_time_iso_8601": "2024-11-12T14:55:11.481253Z",
            "url": "https://files.pythonhosted.org/packages/a0/36/8e384691492fd1a65efda5477630ed9fcbaf540e7475f9ca78ade5633010/optree-0.13.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e19faed0f65bf7bda78837b9a319f369514efe1a52a535ed05912686c4e31ed0",
                "md5": "688c710b3e26fd26193c843f884e460a",
                "sha256": "2063234ef4d58f11277e157d1cf066a8bd07be911da226bff84fc9761b8c1a25"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "688c710b3e26fd26193c843f884e460a",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 380844,
            "upload_time": "2024-11-12T14:55:13",
            "upload_time_iso_8601": "2024-11-12T14:55:13.134677Z",
            "url": "https://files.pythonhosted.org/packages/e1/9f/aed0f65bf7bda78837b9a319f369514efe1a52a535ed05912686c4e31ed0/optree-0.13.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "991d7858a55c2e1cda63453d75b677590eb19735c1b3a315a2d6a114728dc5c2",
                "md5": "dd426e4cfbe72f0f64bbcc75c72f89cd",
                "sha256": "5c950c85561c47efb3b1a3771ed1b2b2339bd5e28a0ca42bdcedadccc645eeac"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp38-cp38-win32.whl",
            "has_sig": false,
            "md5_digest": "dd426e4cfbe72f0f64bbcc75c72f89cd",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 254940,
            "upload_time": "2024-11-12T14:55:15",
            "upload_time_iso_8601": "2024-11-12T14:55:15.269582Z",
            "url": "https://files.pythonhosted.org/packages/99/1d/7858a55c2e1cda63453d75b677590eb19735c1b3a315a2d6a114728dc5c2/optree-0.13.1-cp38-cp38-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "55eda470e2c7d1290592f47dee6e1c1a89645f8005be07ee94b96b0c83250784",
                "md5": "028ea51cb790f3c97118d510e83d27c3",
                "sha256": "f2a9eadcab78ccc04114a6916e9decdbc886bbe04c1b7a7bb32e723209162998"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "028ea51cb790f3c97118d510e83d27c3",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 282576,
            "upload_time": "2024-11-12T14:55:17",
            "upload_time_iso_8601": "2024-11-12T14:55:17.414908Z",
            "url": "https://files.pythonhosted.org/packages/55/ed/a470e2c7d1290592f47dee6e1c1a89645f8005be07ee94b96b0c83250784/optree-0.13.1-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5b7c227664ad981e2c6f17cee6c05a62728e15cf77bc743b50d450f661b8cf97",
                "md5": "68a71dbea9c6a13f96acfe4266f989e1",
                "sha256": "b94f9081cd810a59faae4dbac8f0447e59ce0fb2d70cfb388dc123c33a9fd1a8"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp39-cp39-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "68a71dbea9c6a13f96acfe4266f989e1",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 576991,
            "upload_time": "2024-11-12T14:55:18",
            "upload_time_iso_8601": "2024-11-12T14:55:18.960780Z",
            "url": "https://files.pythonhosted.org/packages/5b/7c/227664ad981e2c6f17cee6c05a62728e15cf77bc743b50d450f661b8cf97/optree-0.13.1-cp39-cp39-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "652878f90ea721e4b880305a98e958a33194d52572fa53f7578f58ca30373c8f",
                "md5": "2f6f7f8ac653a06679b8512747ef9724",
                "sha256": "7abf1c6fe42cb112f0fb169f80d7b26476fa44226d2caf3727b49d210bdc3343"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp39-cp39-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "2f6f7f8ac653a06679b8512747ef9724",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 311831,
            "upload_time": "2024-11-12T14:55:21",
            "upload_time_iso_8601": "2024-11-12T14:55:21.420467Z",
            "url": "https://files.pythonhosted.org/packages/65/28/78f90ea721e4b880305a98e958a33194d52572fa53f7578f58ca30373c8f/optree-0.13.1-cp39-cp39-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "46564d3eb5656ac7cf941be52f4453e2beb1dea15f40e0208700de985446fd72",
                "md5": "9d90751f429a2be0c4962554c11be45c",
                "sha256": "aee696272eece657c2b9e3cf079d8fc7cbbcc8a5c8199dbcd0960ddf7e672fe9"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "9d90751f429a2be0c4962554c11be45c",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 347279,
            "upload_time": "2024-11-12T14:55:23",
            "upload_time_iso_8601": "2024-11-12T14:55:23.038234Z",
            "url": "https://files.pythonhosted.org/packages/46/56/4d3eb5656ac7cf941be52f4453e2beb1dea15f40e0208700de985446fd72/optree-0.13.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a6a96656a6ab74a81c6ca8a18d95de1e02747e4aca7f71b4fb8d1627650b6720",
                "md5": "a121bf6b0d1846263f319773acb28c52",
                "sha256": "5569b95e214d20a1b7acb7d9477fabbd709d334bc34f3257368ea1418b811a44"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "a121bf6b0d1846263f319773acb28c52",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 390031,
            "upload_time": "2024-11-12T14:55:24",
            "upload_time_iso_8601": "2024-11-12T14:55:24.453668Z",
            "url": "https://files.pythonhosted.org/packages/a6/a9/6656a6ab74a81c6ca8a18d95de1e02747e4aca7f71b4fb8d1627650b6720/optree-0.13.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8cc4df3255e3c3767e07be7077bf0b49f41241a333fee06daf5b678f19e56f60",
                "md5": "87836ab3ab4cd7f56e752c64b44f0898",
                "sha256": "100d70cc57af5284649f881e6b266fee3a3e86e82024484eaa64ee18d1587e42"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "87836ab3ab4cd7f56e752c64b44f0898",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 387746,
            "upload_time": "2024-11-12T14:55:26",
            "upload_time_iso_8601": "2024-11-12T14:55:26.018535Z",
            "url": "https://files.pythonhosted.org/packages/8c/c4/df3255e3c3767e07be7077bf0b49f41241a333fee06daf5b678f19e56f60/optree-0.13.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db80f4a6a7f06601c196272131a42c7f7773fd823167525c7936f6a4d0fb05a8",
                "md5": "d13d68f3f3292c4dc0097325debf33da",
                "sha256": "30b02951c48ecca6fbeb6a3cc7a858267c4d82d1c874481a639061e845168da5"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "d13d68f3f3292c4dc0097325debf33da",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 359865,
            "upload_time": "2024-11-12T14:55:27",
            "upload_time_iso_8601": "2024-11-12T14:55:27.807963Z",
            "url": "https://files.pythonhosted.org/packages/db/80/f4a6a7f06601c196272131a42c7f7773fd823167525c7936f6a4d0fb05a8/optree-0.13.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4466083e4396b0ced924cc920cfe86f00cf140e0e58c93b91a64d06f77205f07",
                "md5": "c59badb15add8af733bab7d85ac1f05f",
                "sha256": "1b291aed475ca5992a0c587ca4b72f074724209e01afca9d015c9a5b2089c68d"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c59badb15add8af733bab7d85ac1f05f",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 381177,
            "upload_time": "2024-11-12T14:55:29",
            "upload_time_iso_8601": "2024-11-12T14:55:29.485882Z",
            "url": "https://files.pythonhosted.org/packages/44/66/083e4396b0ced924cc920cfe86f00cf140e0e58c93b91a64d06f77205f07/optree-0.13.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "67ea095ee811749b6af620bf4df8c0a4668abf7c06b819dfd6c70d98039fc4e9",
                "md5": "05a06dd447238843936cdc0f00e2a4aa",
                "sha256": "363939b255a9fa0e077d8297a8301857c859592fc581cee19ec9238e0c145c4a"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp39-cp39-win32.whl",
            "has_sig": false,
            "md5_digest": "05a06dd447238843936cdc0f00e2a4aa",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 255119,
            "upload_time": "2024-11-12T14:55:32",
            "upload_time_iso_8601": "2024-11-12T14:55:32.982208Z",
            "url": "https://files.pythonhosted.org/packages/67/ea/095ee811749b6af620bf4df8c0a4668abf7c06b819dfd6c70d98039fc4e9/optree-0.13.1-cp39-cp39-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b192ce6af6dc4e896215a48b068d20ee2ab0353c1d28217a6f7ab8f020a7f5b2",
                "md5": "6f38f987ebcc61bbad3160a6ad0cfc86",
                "sha256": "2cba7ca4cf991270a9fdd080b091d2cbdbcbf27858acebda6af40ff57312d1ea"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "6f38f987ebcc61bbad3160a6ad0cfc86",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 277732,
            "upload_time": "2024-11-12T14:55:37",
            "upload_time_iso_8601": "2024-11-12T14:55:37.887825Z",
            "url": "https://files.pythonhosted.org/packages/b1/92/ce6af6dc4e896215a48b068d20ee2ab0353c1d28217a6f7ab8f020a7f5b2/optree-0.13.1-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5e4c3202e0f4e438e9cb238ca2dd12b0fba1c44bb222ff1966b667939e39ad1e",
                "md5": "9cfd9f4a0357ab2320f3afb5d6d29c3c",
                "sha256": "04252b5f24e5dae716647848b302f5f7849ecb028f8c617666d1b89a42eb988b"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-cp39-cp39-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "9cfd9f4a0357ab2320f3afb5d6d29c3c",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 277743,
            "upload_time": "2024-11-12T14:55:39",
            "upload_time_iso_8601": "2024-11-12T14:55:39.455324Z",
            "url": "https://files.pythonhosted.org/packages/5e/4c/3202e0f4e438e9cb238ca2dd12b0fba1c44bb222ff1966b667939e39ad1e/optree-0.13.1-cp39-cp39-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b876a8ca4e1866f56c1119b2e3eb6b0c0e248e9c45126fa9f6de6a64e4e39e49",
                "md5": "792a5d7627c3e0163524b6df5350a734",
                "sha256": "0f1bde49e41a158af28d99fae1bd425fbd664907c53cf595106fb5b35e5cbe26"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "792a5d7627c3e0163524b6df5350a734",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.7",
            "size": 319108,
            "upload_time": "2024-11-12T14:55:41",
            "upload_time_iso_8601": "2024-11-12T14:55:41.774742Z",
            "url": "https://files.pythonhosted.org/packages/b8/76/a8ca4e1866f56c1119b2e3eb6b0c0e248e9c45126fa9f6de6a64e4e39e49/optree-0.13.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f282d1da61d4cdcc9004a95e44227525ac74dc5012f0ca1c39becf841c57acc3",
                "md5": "5a5579a9c2133cf13a926cbb3cd75b40",
                "sha256": "fafeda2e35e3270532132e27b471ea3e3aeac18f7966a4d0469137d1f36046ec"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "5a5579a9c2133cf13a926cbb3cd75b40",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.7",
            "size": 350135,
            "upload_time": "2024-11-12T14:55:43",
            "upload_time_iso_8601": "2024-11-12T14:55:43.451217Z",
            "url": "https://files.pythonhosted.org/packages/f2/82/d1da61d4cdcc9004a95e44227525ac74dc5012f0ca1c39becf841c57acc3/optree-0.13.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7fe0c5c6011f52d5dd0c10390003d02ca3c1423da32aa9760e1c0c312aefa206",
                "md5": "9352d1e90331289786cb7e5f17268923",
                "sha256": "ce962f0dd387137817dcda600bd6cf2e1b65103411807b6cdbbd9ffddf1061f6"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "9352d1e90331289786cb7e5f17268923",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.7",
            "size": 394603,
            "upload_time": "2024-11-12T14:55:45",
            "upload_time_iso_8601": "2024-11-12T14:55:45.256885Z",
            "url": "https://files.pythonhosted.org/packages/7f/e0/c5c6011f52d5dd0c10390003d02ca3c1423da32aa9760e1c0c312aefa206/optree-0.13.1-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "42be2f9c2f1c646a9b501a7daf79a810c56fd93c87201537c1e7a76dc99bce36",
                "md5": "beab5002f652d6d8115c9f3997d16b48",
                "sha256": "0f9707547635cfede8d79e4161c066021ffefc401d98bbf8eba452b1355a42c7"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "beab5002f652d6d8115c9f3997d16b48",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.7",
            "size": 384185,
            "upload_time": "2024-11-12T14:55:47",
            "upload_time_iso_8601": "2024-11-12T14:55:47.524948Z",
            "url": "https://files.pythonhosted.org/packages/42/be/2f9c2f1c646a9b501a7daf79a810c56fd93c87201537c1e7a76dc99bce36/optree-0.13.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1fc699a4454403211cfc5853ef45a00d8238447ca779d1adddadd64154b5a355",
                "md5": "32b6f761bd98d116ef15323aa17fa411",
                "sha256": "5c6aed6c5eabda59a91376aca08ba508a06f1c68850216a98743b5f8f55af841"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-pp310-pypy310_pp73-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "32b6f761bd98d116ef15323aa17fa411",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.7",
            "size": 285238,
            "upload_time": "2024-11-12T14:55:48",
            "upload_time_iso_8601": "2024-11-12T14:55:48.953499Z",
            "url": "https://files.pythonhosted.org/packages/1f/c6/99a4454403211cfc5853ef45a00d8238447ca779d1adddadd64154b5a355/optree-0.13.1-pp310-pypy310_pp73-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ca6f37cddb7bf5079afcb2acb90b33c3040ed2c9b93987738ba51dca14d27091",
                "md5": "ba63f8d09364b56c2227bd14474367db",
                "sha256": "95298846c057cce2e7d114c03c645e86a5381b72388c8c390986bdefe69a759c"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "ba63f8d09364b56c2227bd14474367db",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 318891,
            "upload_time": "2024-11-12T14:55:51",
            "upload_time_iso_8601": "2024-11-12T14:55:51.468976Z",
            "url": "https://files.pythonhosted.org/packages/ca/6f/37cddb7bf5079afcb2acb90b33c3040ed2c9b93987738ba51dca14d27091/optree-0.13.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "caf44f4aab08bc444de41171337f9b0b7062d0fbfefc27b0f1630c1577f0959a",
                "md5": "d749a40dea2004bd6e691c7a5eba35ae",
                "sha256": "37948e2d796db23d6ccd07105b709b827eba26549d34dd2149e95887c89fe9b4"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "d749a40dea2004bd6e691c7a5eba35ae",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 349915,
            "upload_time": "2024-11-12T14:55:53",
            "upload_time_iso_8601": "2024-11-12T14:55:53.918708Z",
            "url": "https://files.pythonhosted.org/packages/ca/f4/4f4aab08bc444de41171337f9b0b7062d0fbfefc27b0f1630c1577f0959a/optree-0.13.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "de129052e735667db7e82b8a60b81443f570191555a5c60f9ce3d71136d02be1",
                "md5": "452c11f4d9ec71f3df2e720e0f704525",
                "sha256": "395ac2eb69528613fd0f2ee8706890b7921b8ff3159df53b6e9f67eaf519c5cb"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "452c11f4d9ec71f3df2e720e0f704525",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 394689,
            "upload_time": "2024-11-12T14:55:55",
            "upload_time_iso_8601": "2024-11-12T14:55:55.497583Z",
            "url": "https://files.pythonhosted.org/packages/de/12/9052e735667db7e82b8a60b81443f570191555a5c60f9ce3d71136d02be1/optree-0.13.1-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7169c414399938bbbaa72ef0193af27f9bbb0ba808dcd8a64abc1b3a295a025a",
                "md5": "205e3dd9d2da3b9d128aaad61c265a32",
                "sha256": "652287e43fcbb29b8d1821144987e3bc558be4e5eec0d42fce7007cc3ee8e574"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "205e3dd9d2da3b9d128aaad61c265a32",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 383936,
            "upload_time": "2024-11-12T14:55:57",
            "upload_time_iso_8601": "2024-11-12T14:55:57.875368Z",
            "url": "https://files.pythonhosted.org/packages/71/69/c414399938bbbaa72ef0193af27f9bbb0ba808dcd8a64abc1b3a295a025a/optree-0.13.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e870d5805700831b3d2327ee4ff348f4e72cb9d2f814d1ae3b8c39cdbe0e6c02",
                "md5": "ad8909a2f020aa5677bccc369504e807",
                "sha256": "3d0161012d80e4865017e10298ac55652cc3ad9a3eae9440229d4bf00b140e01"
            },
            "downloads": -1,
            "filename": "optree-0.13.1-pp39-pypy39_pp73-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "ad8909a2f020aa5677bccc369504e807",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 285163,
            "upload_time": "2024-11-12T14:56:00",
            "upload_time_iso_8601": "2024-11-12T14:56:00.056142Z",
            "url": "https://files.pythonhosted.org/packages/e8/70/d5805700831b3d2327ee4ff348f4e72cb9d2f814d1ae3b8c39cdbe0e6c02/optree-0.13.1-pp39-pypy39_pp73-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f7f256afdaeaae36b076659be7db8e72be0924dd64ebd1c131675c77f7e704a6",
                "md5": "89e2f51295b0c6cbe8e6347c3f3bd934",
                "sha256": "af67856aa8073d237fe67313d84f8aeafac32c1cef7239c628a2768d02679c43"
            },
            "downloads": -1,
            "filename": "optree-0.13.1.tar.gz",
            "has_sig": false,
            "md5_digest": "89e2f51295b0c6cbe8e6347c3f3bd934",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 155738,
            "upload_time": "2024-11-12T14:56:01",
            "upload_time_iso_8601": "2024-11-12T14:56:01.566361Z",
            "url": "https://files.pythonhosted.org/packages/f7/f2/56afdaeaae36b076659be7db8e72be0924dd64ebd1c131675c77f7e704a6/optree-0.13.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-12 14:56:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "metaopt",
    "github_project": "optree",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "typing-extensions",
            "specs": [
                [
                    ">=",
                    "4.5.0"
                ]
            ]
        }
    ],
    "lcname": "optree"
}
        
Elapsed time: 1.01789s