optree


Nameoptree JSON
Version 0.13.0 PyPI version JSON
download
home_pageNone
SummaryOptimized PyTree Utilities.
upload_time2024-10-03 15:31:52
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 No requirements were recorded.
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 registration 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 registration 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/9f/33/cc6673a6141cb1546d94c3b8b396d115a338022875c485d8b2219853851b/optree-0.13.0.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 registration 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 registration 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.0",
    "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": "9beb6147fda9053f3d89870df0c4996beae335408e8c566d4d9c50ea9732b4d7",
                "md5": "0870257d32d8c1f17d1ca4aa4f18fc20",
                "sha256": "7b8fe0442ac5e50b5e6bceb37dcc2cd4908e7716b869cbe6b8901cc0b489884f"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp310-cp310-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "0870257d32d8c1f17d1ca4aa4f18fc20",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 543105,
            "upload_time": "2024-10-03T15:29:39",
            "upload_time_iso_8601": "2024-10-03T15:29:39.771761Z",
            "url": "https://files.pythonhosted.org/packages/9b/eb/6147fda9053f3d89870df0c4996beae335408e8c566d4d9c50ea9732b4d7/optree-0.13.0-cp310-cp310-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fdd2965979bbbbe8a20fa32daa8942a54fe27fd477bb04230399eeb79fb5c2c6",
                "md5": "52ab30defd8dcb0f97e8b40928770a60",
                "sha256": "1a1aab34de5ac7673fbfb94266bf10482be51985c7f899c3e767ce19d13ce3b4"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp310-cp310-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "52ab30defd8dcb0f97e8b40928770a60",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 296431,
            "upload_time": "2024-10-03T15:29:41",
            "upload_time_iso_8601": "2024-10-03T15:29:41.914332Z",
            "url": "https://files.pythonhosted.org/packages/fd/d2/965979bbbbe8a20fa32daa8942a54fe27fd477bb04230399eeb79fb5c2c6/optree-0.13.0-cp310-cp310-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "39e7f20975f98bb96edd0bf4e6d6b138301ade5fb755b4643e02785f4e7816b7",
                "md5": "73644e94d933e0e106938f54ed422398",
                "sha256": "d2c79961d5afeb20557c30a0ae899d14ff58cdf1c0e2c8aa3d6807600d00f619"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "73644e94d933e0e106938f54ed422398",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 328527,
            "upload_time": "2024-10-03T15:29:43",
            "upload_time_iso_8601": "2024-10-03T15:29:43.537908Z",
            "url": "https://files.pythonhosted.org/packages/39/e7/f20975f98bb96edd0bf4e6d6b138301ade5fb755b4643e02785f4e7816b7/optree-0.13.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "75251f5720e8b973379b01f707642797bf30386893c9cb210032b99d507f6509",
                "md5": "8b12f19e7fa1da5fe69fd61b69f5a2f3",
                "sha256": "cb55eb77541cf280a009829280d5844936dc8a2e4a3eb069c010a1f547dbfe97"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "8b12f19e7fa1da5fe69fd61b69f5a2f3",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 370050,
            "upload_time": "2024-10-03T15:29:44",
            "upload_time_iso_8601": "2024-10-03T15:29:44.963056Z",
            "url": "https://files.pythonhosted.org/packages/75/25/1f5720e8b973379b01f707642797bf30386893c9cb210032b99d507f6509/optree-0.13.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "35a6141c662432f7be2ff63c97f76a6b95500c05b3f6505284b1cd5346a20195",
                "md5": "1f6173f4dfbdf50b8c9cd8c57b1fa20f",
                "sha256": "44449e3bc5e7530b50c9a1f5bcf2971ffe317e34edd74d8c9778c5d32078114d"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "1f6173f4dfbdf50b8c9cd8c57b1fa20f",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 369903,
            "upload_time": "2024-10-03T15:29:46",
            "upload_time_iso_8601": "2024-10-03T15:29:46.779814Z",
            "url": "https://files.pythonhosted.org/packages/35/a6/141c662432f7be2ff63c97f76a6b95500c05b3f6505284b1cd5346a20195/optree-0.13.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fd73c82513e8315ca4f7908bc2976ce334c7ca59bb829ecad7f730ca836d9cb8",
                "md5": "4fcf512cf799330d20ff50448186cde2",
                "sha256": "9b4195a6ba2052c70bac6d73f19aa69644424c5a30fa09f7319cc1b59e15acb6"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "4fcf512cf799330d20ff50448186cde2",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 342721,
            "upload_time": "2024-10-03T15:29:48",
            "upload_time_iso_8601": "2024-10-03T15:29:48.507949Z",
            "url": "https://files.pythonhosted.org/packages/fd/73/c82513e8315ca4f7908bc2976ce334c7ca59bb829ecad7f730ca836d9cb8/optree-0.13.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "abce91d9f095fb2bd0a22490ede4580aed861472682b47bd460bc06369fce502",
                "md5": "2283e2dd10d03a37d29627a15c162e34",
                "sha256": "e7fecc701ece0500fe38fc671b5704d904e2dca9a9284b35263b0bd7e5c62527"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2283e2dd10d03a37d29627a15c162e34",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 358869,
            "upload_time": "2024-10-03T15:29:50",
            "upload_time_iso_8601": "2024-10-03T15:29:50.110654Z",
            "url": "https://files.pythonhosted.org/packages/ab/ce/91d9f095fb2bd0a22490ede4580aed861472682b47bd460bc06369fce502/optree-0.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1a81f0a4a9430fde882e23d1265a71f5941863cd6f023464cf295ab5c39edecf",
                "md5": "1603b1da95391869a89fc6d1d5465371",
                "sha256": "46a9e66217fdf421e25c133089c94f8f99bc38a2b5a4a2c0c1e0c1b02b01dda4"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp310-cp310-win32.whl",
            "has_sig": false,
            "md5_digest": "1603b1da95391869a89fc6d1d5465371",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 249031,
            "upload_time": "2024-10-03T15:29:51",
            "upload_time_iso_8601": "2024-10-03T15:29:51.254133Z",
            "url": "https://files.pythonhosted.org/packages/1a/81/f0a4a9430fde882e23d1265a71f5941863cd6f023464cf295ab5c39edecf/optree-0.13.0-cp310-cp310-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b705beea9517450fbea224d5106972a36fa12d372a28c4980010d03cfd47036",
                "md5": "c384505058e7d014ae99fefe2e187c68",
                "sha256": "ef68fdcb3b1743a46210f3c888cd15668a07422aa10b4d4130ba512aac595bf7"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "c384505058e7d014ae99fefe2e187c68",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 274688,
            "upload_time": "2024-10-03T15:29:52",
            "upload_time_iso_8601": "2024-10-03T15:29:52.414502Z",
            "url": "https://files.pythonhosted.org/packages/8b/70/5beea9517450fbea224d5106972a36fa12d372a28c4980010d03cfd47036/optree-0.13.0-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "364a611eea1597a3177fbd8d8aa9963e7abc57160001aca134265100b799dfa1",
                "md5": "06f92feaead95def8bfcdbc7f2fae371",
                "sha256": "d12a5665169abceb878d50b55571d6a7690bf97aaaf9a7f5438b10e474fde3f2"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp310-cp310-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "06f92feaead95def8bfcdbc7f2fae371",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 274693,
            "upload_time": "2024-10-03T15:29:53",
            "upload_time_iso_8601": "2024-10-03T15:29:53.631790Z",
            "url": "https://files.pythonhosted.org/packages/36/4a/611eea1597a3177fbd8d8aa9963e7abc57160001aca134265100b799dfa1/optree-0.13.0-cp310-cp310-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e288b2db3076d37cbe1071e4c0539dca203d31d69775d81efd944dac5e3bf23d",
                "md5": "a5aa6d43c9142a7cec253141e24e5a13",
                "sha256": "92d1c34b6022bedee4b3899f3a9a1105777da11a9abf1a51f4d84bed8f037fa1"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp311-cp311-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "a5aa6d43c9142a7cec253141e24e5a13",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 554022,
            "upload_time": "2024-10-03T15:29:55",
            "upload_time_iso_8601": "2024-10-03T15:29:55.529634Z",
            "url": "https://files.pythonhosted.org/packages/e2/88/b2db3076d37cbe1071e4c0539dca203d31d69775d81efd944dac5e3bf23d/optree-0.13.0-cp311-cp311-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ea45ebd8b91fc191465dd89f44ad067ca35b1919bda1d6e08c5effab483f9b10",
                "md5": "32e26e831dc57720db1db5e63c557ff4",
                "sha256": "d05c320af21efbc132fe887640f7a2dbb36cfb38af6d4e62396fe104b78f7b72"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp311-cp311-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "32e26e831dc57720db1db5e63c557ff4",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 301711,
            "upload_time": "2024-10-03T15:29:58",
            "upload_time_iso_8601": "2024-10-03T15:29:58.269373Z",
            "url": "https://files.pythonhosted.org/packages/ea/45/ebd8b91fc191465dd89f44ad067ca35b1919bda1d6e08c5effab483f9b10/optree-0.13.0-cp311-cp311-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "555de49f0314c1504c65159ce96ab93248ab7d547a0974af734e7304e6faa4c8",
                "md5": "92c86760fa45640c8df7bd41c8bbdec2",
                "sha256": "a53ae0a0eb128a69a74db4165e7e5f24d54e2711678622198f7073dcb991962f"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "92c86760fa45640c8df7bd41c8bbdec2",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 335739,
            "upload_time": "2024-10-03T15:29:59",
            "upload_time_iso_8601": "2024-10-03T15:29:59.755389Z",
            "url": "https://files.pythonhosted.org/packages/55/5d/e49f0314c1504c65159ce96ab93248ab7d547a0974af734e7304e6faa4c8/optree-0.13.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9029920656f616fdf72e332ccad012223ee022212aa7eeab65c3f7f4f75fc67b",
                "md5": "9668baf4911fc85534cc9eca2159722a",
                "sha256": "89f08fc3724b2fe7a081b69dfd3ad6625960443e1f61a984cae7c627776f12f4"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "9668baf4911fc85534cc9eca2159722a",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 378293,
            "upload_time": "2024-10-03T15:30:01",
            "upload_time_iso_8601": "2024-10-03T15:30:01.354858Z",
            "url": "https://files.pythonhosted.org/packages/90/29/920656f616fdf72e332ccad012223ee022212aa7eeab65c3f7f4f75fc67b/optree-0.13.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "47754ac5caf62e1222280a42bdfe9dbe20b09f0515a3a1f0e88a5f16d1f417bf",
                "md5": "0d4b89d18438ca1bf83e03070b8aca64",
                "sha256": "f22f4e46d85f24b5bc49e68043dd754b258b880ac64d72f4f4b9ac1b11f0fb2f"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "0d4b89d18438ca1bf83e03070b8aca64",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 380992,
            "upload_time": "2024-10-03T15:30:02",
            "upload_time_iso_8601": "2024-10-03T15:30:02.551056Z",
            "url": "https://files.pythonhosted.org/packages/47/75/4ac5caf62e1222280a42bdfe9dbe20b09f0515a3a1f0e88a5f16d1f417bf/optree-0.13.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e82ba55f04aa51cfc7a9b34e5ea85dc40e9bb68662a05fa25c8cac24a5ea69fb",
                "md5": "2773315d7f96f115826d72b00a78a483",
                "sha256": "fbc884f3eab894126398c120b7f92a72a5b9f92db6d8c27d39087da871c642cd"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "2773315d7f96f115826d72b00a78a483",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 350486,
            "upload_time": "2024-10-03T15:30:03",
            "upload_time_iso_8601": "2024-10-03T15:30:03.747801Z",
            "url": "https://files.pythonhosted.org/packages/e8/2b/a55f04aa51cfc7a9b34e5ea85dc40e9bb68662a05fa25c8cac24a5ea69fb/optree-0.13.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "608a8c52657f4a9e3e89757f2c773bb6872b461223b2d57fcd9bf37d56c9358f",
                "md5": "9c566093396b0a6423ba6a99737003a7",
                "sha256": "36c58b94669c9072d645e02c0c65c7455f8f136ef8f7b56a5d9123847421f95b"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "9c566093396b0a6423ba6a99737003a7",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 367861,
            "upload_time": "2024-10-03T15:30:05",
            "upload_time_iso_8601": "2024-10-03T15:30:05.023753Z",
            "url": "https://files.pythonhosted.org/packages/60/8a/8c52657f4a9e3e89757f2c773bb6872b461223b2d57fcd9bf37d56c9358f/optree-0.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bc6fcff94d69554ecc2286bfcb7386c85db88e99f96e449bc9df673adf535f0e",
                "md5": "7d93ffd31b793e3d0488e81ab3d91578",
                "sha256": "54be625517ef3cf52905da7fee63795b2f154dbdb02b37e8cfd63e7fb2f266ea"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp311-cp311-win32.whl",
            "has_sig": false,
            "md5_digest": "7d93ffd31b793e3d0488e81ab3d91578",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 254418,
            "upload_time": "2024-10-03T15:30:06",
            "upload_time_iso_8601": "2024-10-03T15:30:06.352406Z",
            "url": "https://files.pythonhosted.org/packages/bc/6f/cff94d69554ecc2286bfcb7386c85db88e99f96e449bc9df673adf535f0e/optree-0.13.0-cp311-cp311-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "89d5a999b5e995afb98676cc5671b91b4b160e87980fb3a852d1370507614ca1",
                "md5": "2fb9e0e5badf5f143a992781f7d17749",
                "sha256": "e3d100890a643e12f39de4226ab4f9d0a22842b4f34ae2964d0149419e4d7aff"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "2fb9e0e5badf5f143a992781f7d17749",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 283748,
            "upload_time": "2024-10-03T15:30:07",
            "upload_time_iso_8601": "2024-10-03T15:30:07.612321Z",
            "url": "https://files.pythonhosted.org/packages/89/d5/a999b5e995afb98676cc5671b91b4b160e87980fb3a852d1370507614ca1/optree-0.13.0-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4f492e643d7c51d24b3829b33b9c802032c6886b1d5c06f3125aa0d520a0baff",
                "md5": "36e1366ea79e3b5e93bf7643c7aeacbe",
                "sha256": "cb8d9a2cebc5fadde98773bb27809a72ff01d11f1037cb58f8e71e740586223e"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp311-cp311-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "36e1366ea79e3b5e93bf7643c7aeacbe",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 283728,
            "upload_time": "2024-10-03T15:30:08",
            "upload_time_iso_8601": "2024-10-03T15:30:08.794614Z",
            "url": "https://files.pythonhosted.org/packages/4f/49/2e643d7c51d24b3829b33b9c802032c6886b1d5c06f3125aa0d520a0baff/optree-0.13.0-cp311-cp311-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3cc87cd83c6ffefaf92b8cb90200a286131880395eefd6ea39ecf4200e282158",
                "md5": "b0a394cbd2db23025e983f86b6487218",
                "sha256": "abeb8acc83d168063b70168ccf8dfd55f5a7ce50f9af2ca025c41285781ecdd4"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp312-cp312-macosx_10_13_universal2.whl",
            "has_sig": false,
            "md5_digest": "b0a394cbd2db23025e983f86b6487218",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 564255,
            "upload_time": "2024-10-03T15:30:10",
            "upload_time_iso_8601": "2024-10-03T15:30:10.123635Z",
            "url": "https://files.pythonhosted.org/packages/3c/c8/7cd83c6ffefaf92b8cb90200a286131880395eefd6ea39ecf4200e282158/optree-0.13.0-cp312-cp312-macosx_10_13_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "30f728ed168baa10a4d38b38a9b6af5be499a6d03c84bd29f4900c6932260cd7",
                "md5": "228e94d755efbc98dbd2e91f77ea0ceb",
                "sha256": "4771266f05e99e94312add38d45bf97a4d98449aeab100f5c658c521152eb5e5"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp312-cp312-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "228e94d755efbc98dbd2e91f77ea0ceb",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 305077,
            "upload_time": "2024-10-03T15:30:11",
            "upload_time_iso_8601": "2024-10-03T15:30:11.364015Z",
            "url": "https://files.pythonhosted.org/packages/30/f7/28ed168baa10a4d38b38a9b6af5be499a6d03c84bd29f4900c6932260cd7/optree-0.13.0-cp312-cp312-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "02d83b2a4cc1a699a1aa953c43d913262bdc5cf0794abe19dff857ba860fd91d",
                "md5": "64e24e729dc23d4c9ce2bd26a59782e9",
                "sha256": "bc95c1d0c7acd534184bf3ba243a454e0942e4a7c8b9edd32d939fc15e33d753"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "64e24e729dc23d4c9ce2bd26a59782e9",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 332200,
            "upload_time": "2024-10-03T15:30:13",
            "upload_time_iso_8601": "2024-10-03T15:30:13.104546Z",
            "url": "https://files.pythonhosted.org/packages/02/d8/3b2a4cc1a699a1aa953c43d913262bdc5cf0794abe19dff857ba860fd91d/optree-0.13.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f103b7b2beb97d385d400598c2932ab5e4dc6aace1f4f178a7016a3191172107",
                "md5": "a0264875002999b22ee978694f0f98b3",
                "sha256": "9e48491e042f956d4232ebc138e07074100878c0080e3ba10af4c2db1ba4df9f"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "a0264875002999b22ee978694f0f98b3",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 376866,
            "upload_time": "2024-10-03T15:30:14",
            "upload_time_iso_8601": "2024-10-03T15:30:14.413954Z",
            "url": "https://files.pythonhosted.org/packages/f1/03/b7b2beb97d385d400598c2932ab5e4dc6aace1f4f178a7016a3191172107/optree-0.13.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6951a1ec0e804282ca358b888984eeb542e012aa946a993cf5fa7e25e33a6844",
                "md5": "ccd648300e9c596ac6b0c286c110675f",
                "sha256": "8e001d9c902e98912503eca66c93d4b4b22f5071e4ab777f4db9e140f35288f4"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "ccd648300e9c596ac6b0c286c110675f",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 374265,
            "upload_time": "2024-10-03T15:30:15",
            "upload_time_iso_8601": "2024-10-03T15:30:15.778229Z",
            "url": "https://files.pythonhosted.org/packages/69/51/a1ec0e804282ca358b888984eeb542e012aa946a993cf5fa7e25e33a6844/optree-0.13.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "577a9f56f9ee27f1fb4a5fbfa74f6b17f9e34741aabf7d97a9ff762dfbf7bf09",
                "md5": "a18d72af6c9be73be128b0b595ff1450",
                "sha256": "87870346278f46a8c22866ff48716590be35b4aea16e1373e695fb6442c28c41"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "a18d72af6c9be73be128b0b595ff1450",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 345345,
            "upload_time": "2024-10-03T15:30:17",
            "upload_time_iso_8601": "2024-10-03T15:30:17.038814Z",
            "url": "https://files.pythonhosted.org/packages/57/7a/9f56f9ee27f1fb4a5fbfa74f6b17f9e34741aabf7d97a9ff762dfbf7bf09/optree-0.13.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8ad2aa2eb567867bfbd9fb418619321bd94db5df2591e527dd405a21540c337b",
                "md5": "9b7725716d503983549f65b79d0502d7",
                "sha256": "7797c54a35e9d89b4664ec7d542745b87b5ffa9c1201c1062fdcd488eb583390"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "9b7725716d503983549f65b79d0502d7",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 362962,
            "upload_time": "2024-10-03T15:30:18",
            "upload_time_iso_8601": "2024-10-03T15:30:18.848553Z",
            "url": "https://files.pythonhosted.org/packages/8a/d2/aa2eb567867bfbd9fb418619321bd94db5df2591e527dd405a21540c337b/optree-0.13.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "93bd362ccdd09b4df8d66bb394c5affc55992cb4a07a770bee6ef83da28a0e0a",
                "md5": "28b3fd8fdc8be6bcfb85d606a2eba738",
                "sha256": "fc90a5373c92f4a9babb4c40fe148516f52160c0ba803bc9b2f936367f2f7437"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp312-cp312-win32.whl",
            "has_sig": false,
            "md5_digest": "28b3fd8fdc8be6bcfb85d606a2eba738",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 254773,
            "upload_time": "2024-10-03T15:30:20",
            "upload_time_iso_8601": "2024-10-03T15:30:20.205894Z",
            "url": "https://files.pythonhosted.org/packages/93/bd/362ccdd09b4df8d66bb394c5affc55992cb4a07a770bee6ef83da28a0e0a/optree-0.13.0-cp312-cp312-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "76044a130228ecc0fc1d7e839fd310fa3b655927815ff3368a887b1138ebf9dc",
                "md5": "aaa652702cde38ea43a8527ea3c823d1",
                "sha256": "1bc65743e8edb29e902cab894d1c4665a8fd6f8d10f75db68a2cef6c7246fa5c"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "aaa652702cde38ea43a8527ea3c823d1",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 283486,
            "upload_time": "2024-10-03T15:30:21",
            "upload_time_iso_8601": "2024-10-03T15:30:21.713398Z",
            "url": "https://files.pythonhosted.org/packages/76/04/4a130228ecc0fc1d7e839fd310fa3b655927815ff3368a887b1138ebf9dc/optree-0.13.0-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "788926d89a49173bedabcbd7d4f7a65e1950e1e0b08c56e4d9d9a8c4154bf890",
                "md5": "39fcd9d15fc8eeae5996ca795112338b",
                "sha256": "de2729e1e4ae47a07ac3c70ff977ed1ebe19e7b44d5089075c94f7a9a2dc6f4f"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp312-cp312-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "39fcd9d15fc8eeae5996ca795112338b",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 283486,
            "upload_time": "2024-10-03T15:30:23",
            "upload_time_iso_8601": "2024-10-03T15:30:23.995411Z",
            "url": "https://files.pythonhosted.org/packages/78/89/26d89a49173bedabcbd7d4f7a65e1950e1e0b08c56e4d9d9a8c4154bf890/optree-0.13.0-cp312-cp312-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "11ddef557f1b2ccaddcc905f87b778c9f681b1c8571801f18c70c798c4d6f1d1",
                "md5": "e17f191c4dd1f5484aa46517898b6385",
                "sha256": "dda6efabd0621f53eb46a3789ec89c6fd2c90dfb57aebfce3fcda6eab9ed6a7e"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313-macosx_10_13_universal2.whl",
            "has_sig": false,
            "md5_digest": "e17f191c4dd1f5484aa46517898b6385",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 572235,
            "upload_time": "2024-10-03T15:30:25",
            "upload_time_iso_8601": "2024-10-03T15:30:25.589006Z",
            "url": "https://files.pythonhosted.org/packages/11/dd/ef557f1b2ccaddcc905f87b778c9f681b1c8571801f18c70c798c4d6f1d1/optree-0.13.0-cp313-cp313-macosx_10_13_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4c7fd266b929fe45b1966b97940c2e476c49fdebb10bb8007e52151e29731d6d",
                "md5": "4ea17201df0dc2a5835b61b66e7b303a",
                "sha256": "5de8da9bbdd08b6200244ee818cd15d1da0f2b06ac926dba0e686260bac7fd40"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "4ea17201df0dc2a5835b61b66e7b303a",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 308048,
            "upload_time": "2024-10-03T15:30:26",
            "upload_time_iso_8601": "2024-10-03T15:30:26.898225Z",
            "url": "https://files.pythonhosted.org/packages/4c/7f/d266b929fe45b1966b97940c2e476c49fdebb10bb8007e52151e29731d6d/optree-0.13.0-cp313-cp313-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ac863b17056b654e5b610ff0df2dbd51d61679f7dd73256fa9c924a980c83296",
                "md5": "a7d91f57457f4024250f1790e2a05a70",
                "sha256": "ca1e4854134023ba687a7abf45ed3355f773ca7198b6895d88a89030446a9f2e"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "a7d91f57457f4024250f1790e2a05a70",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 335440,
            "upload_time": "2024-10-03T15:30:28",
            "upload_time_iso_8601": "2024-10-03T15:30:28.235097Z",
            "url": "https://files.pythonhosted.org/packages/ac/86/3b17056b654e5b610ff0df2dbd51d61679f7dd73256fa9c924a980c83296/optree-0.13.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "936776decf96ccbf257756284a3ac03a4d09bd73e0c527e0cbe0e1c080789cf5",
                "md5": "dc4e8eeb7f61f7d3cb1501644f648f6e",
                "sha256": "d1ac5343e921ce21f8f10f91158ad6404a1488c1cc22ddfa6b34cfb9d997cebd"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "dc4e8eeb7f61f7d3cb1501644f648f6e",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 380357,
            "upload_time": "2024-10-03T15:30:29",
            "upload_time_iso_8601": "2024-10-03T15:30:29.667736Z",
            "url": "https://files.pythonhosted.org/packages/93/67/76decf96ccbf257756284a3ac03a4d09bd73e0c527e0cbe0e1c080789cf5/optree-0.13.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "45026986e5c549ea89652e43553d36c2412aefcede1ff0f97a953eb4b38ee203",
                "md5": "f4bc22ec3933c8db81a20abcb89ae097",
                "sha256": "2e282212ddf3aafb10ca6ca223772e06ea3c31687c9cae192467b8e0a7dafbfc"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "f4bc22ec3933c8db81a20abcb89ae097",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 378690,
            "upload_time": "2024-10-03T15:30:32",
            "upload_time_iso_8601": "2024-10-03T15:30:32.072570Z",
            "url": "https://files.pythonhosted.org/packages/45/02/6986e5c549ea89652e43553d36c2412aefcede1ff0f97a953eb4b38ee203/optree-0.13.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9cafbd901f029ec3cdebbad23e43794a96df33f2b805fb705ba4c6f042f91afa",
                "md5": "386fcc414e3baddaad60a9e7ccc7757f",
                "sha256": "24fcd4cb659bcd9b675bc3401950de891b32a047c4787857fb870cd515fcc315"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "386fcc414e3baddaad60a9e7ccc7757f",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 349577,
            "upload_time": "2024-10-03T15:30:33",
            "upload_time_iso_8601": "2024-10-03T15:30:33.902531Z",
            "url": "https://files.pythonhosted.org/packages/9c/af/bd901f029ec3cdebbad23e43794a96df33f2b805fb705ba4c6f042f91afa/optree-0.13.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5ed13336fe90a29b5237b437def9fd2446a69ca0a234dd80d68111a687884bd6",
                "md5": "6bb284d4787590fcf101525ede500345",
                "sha256": "9d735a7d2d2e2eb9a88d932d35b335c10fae9038034f381b6d437dafed46497e"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6bb284d4787590fcf101525ede500345",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 367375,
            "upload_time": "2024-10-03T15:30:35",
            "upload_time_iso_8601": "2024-10-03T15:30:35.316143Z",
            "url": "https://files.pythonhosted.org/packages/5e/d1/3336fe90a29b5237b437def9fd2446a69ca0a234dd80d68111a687884bd6/optree-0.13.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef922a4a1ee91d074f3902813c31152c006a1b4f9acce2feafc4c9e96f020d74",
                "md5": "02b0656ca4c387d7173bad88efb556d6",
                "sha256": "1318434b0740a2325c197e191e6dd53d9df0a8ac0338c67d58b476aad9d07829"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313t-macosx_10_13_universal2.whl",
            "has_sig": false,
            "md5_digest": "02b0656ca4c387d7173bad88efb556d6",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 674076,
            "upload_time": "2024-10-03T15:30:41",
            "upload_time_iso_8601": "2024-10-03T15:30:41.320332Z",
            "url": "https://files.pythonhosted.org/packages/ef/92/2a4a1ee91d074f3902813c31152c006a1b4f9acce2feafc4c9e96f020d74/optree-0.13.0-cp313-cp313t-macosx_10_13_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "84676585d6f5d143d89afcc85bd78f70d19fb9295bab37d7ae5d21ae5aa690ca",
                "md5": "0666d54ebef3e97f30ff89799e119d39",
                "sha256": "d58c6e8d4c4fa4e0c31bc4b876960ccba94eb5fcfb045f2b064ce55707034be9"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313t-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "0666d54ebef3e97f30ff89799e119d39",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 354957,
            "upload_time": "2024-10-03T15:30:42",
            "upload_time_iso_8601": "2024-10-03T15:30:42.951599Z",
            "url": "https://files.pythonhosted.org/packages/84/67/6585d6f5d143d89afcc85bd78f70d19fb9295bab37d7ae5d21ae5aa690ca/optree-0.13.0-cp313-cp313t-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "84666e22fd91c3c0efae0c16f23d90a1e1f48813d1d377ebc829a134fa9b37ec",
                "md5": "5757ac3c85fd8db8bd5f93353d2e9904",
                "sha256": "c6a290ba771cc9004f9fc194d23ab11ee4aae71550ca874c3dc985af5b5f910b"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "5757ac3c85fd8db8bd5f93353d2e9904",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 355144,
            "upload_time": "2024-10-03T15:30:44",
            "upload_time_iso_8601": "2024-10-03T15:30:44.189837Z",
            "url": "https://files.pythonhosted.org/packages/84/66/6e22fd91c3c0efae0c16f23d90a1e1f48813d1d377ebc829a134fa9b37ec/optree-0.13.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5adb529170be3bd962b1aa583bb9515f918dd45ccc48f6b47a46727b5640599e",
                "md5": "fb2803ed7c518378652819625b253f80",
                "sha256": "c95488ecbab2916de094e68f2a2c55c9475b2e979c03d91a6cd3565f9e5ff2f9"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "fb2803ed7c518378652819625b253f80",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 398205,
            "upload_time": "2024-10-03T15:30:45",
            "upload_time_iso_8601": "2024-10-03T15:30:45.387967Z",
            "url": "https://files.pythonhosted.org/packages/5a/db/529170be3bd962b1aa583bb9515f918dd45ccc48f6b47a46727b5640599e/optree-0.13.0-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e6a4709302007b6845608c63c853cde863876922304761b239fdd8527a297fd7",
                "md5": "0629688c34ae53f7bc47c9a7a890b293",
                "sha256": "8f76a65ff322b3d47af2a23f60409d6d8f184804da551c734e355834e69c0dfb"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "0629688c34ae53f7bc47c9a7a890b293",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 398120,
            "upload_time": "2024-10-03T15:30:46",
            "upload_time_iso_8601": "2024-10-03T15:30:46.957419Z",
            "url": "https://files.pythonhosted.org/packages/e6/a4/709302007b6845608c63c853cde863876922304761b239fdd8527a297fd7/optree-0.13.0-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4c3ff74ae5e59a9cc092c6847aecfd46776ea544211228b6fed6f0ae04a53df3",
                "md5": "c890aee1402a2079b238339a443cf82c",
                "sha256": "58cc303f982fb0f23644b7f8e98b4f64b0d031365fcc2284da896e96493176d2"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "c890aee1402a2079b238339a443cf82c",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 368580,
            "upload_time": "2024-10-03T15:30:48",
            "upload_time_iso_8601": "2024-10-03T15:30:48.632172Z",
            "url": "https://files.pythonhosted.org/packages/4c/3f/f74ae5e59a9cc092c6847aecfd46776ea544211228b6fed6f0ae04a53df3/optree-0.13.0-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b41034437943c94e0c493c3c413c57af4091a245dcdbd57d84acc6ac0979931a",
                "md5": "99da4166ccc01b2f3bae692f9400bca5",
                "sha256": "6866b6e4154303dc7c48c7ca3b867a8ce31d469334b67976dfc0513455aa1ca0"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "99da4166ccc01b2f3bae692f9400bca5",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 384994,
            "upload_time": "2024-10-03T15:30:49",
            "upload_time_iso_8601": "2024-10-03T15:30:49.969216Z",
            "url": "https://files.pythonhosted.org/packages/b4/10/34437943c94e0c493c3c413c57af4091a245dcdbd57d84acc6ac0979931a/optree-0.13.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "563684fed312a5aa1865dbe4292324926d153fd92a7d915740b14d900176e79f",
                "md5": "dd57b54448f7e7e6c80dc5ac4e325ced",
                "sha256": "f5ce67f81fe3d7ca5fed8fdaf93a762a63e1d125e20e425ca7200f9e54a3e3a6"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313t-win32.whl",
            "has_sig": false,
            "md5_digest": "dd57b54448f7e7e6c80dc5ac4e325ced",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 285895,
            "upload_time": "2024-10-03T15:30:51",
            "upload_time_iso_8601": "2024-10-03T15:30:51.306368Z",
            "url": "https://files.pythonhosted.org/packages/56/36/84fed312a5aa1865dbe4292324926d153fd92a7d915740b14d900176e79f/optree-0.13.0-cp313-cp313t-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "45e6a043f21d04674544207248c4d7fa1348a61be0fbdc64794325384ed53bc6",
                "md5": "03095143b3aa02f0428eb56db5a294d0",
                "sha256": "0008cd39169c1fc10870528b2decfea8b79e61042c12d65a964f3b1cf41cc37d"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313t-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "03095143b3aa02f0428eb56db5a294d0",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 321826,
            "upload_time": "2024-10-03T15:30:52",
            "upload_time_iso_8601": "2024-10-03T15:30:52.546912Z",
            "url": "https://files.pythonhosted.org/packages/45/e6/a043f21d04674544207248c4d7fa1348a61be0fbdc64794325384ed53bc6/optree-0.13.0-cp313-cp313t-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0cef0f4ebc4061022ffca10637936f7d7b9a45c8db7593c1f06d32641a7bc16f",
                "md5": "4dbba83f3ec5d91dd207918134c4e712",
                "sha256": "539962675b547957c64b52b7f82178febb9c0f2d47438b810bbc23cfdcf84821"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313t-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "4dbba83f3ec5d91dd207918134c4e712",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 321828,
            "upload_time": "2024-10-03T15:30:53",
            "upload_time_iso_8601": "2024-10-03T15:30:53.943647Z",
            "url": "https://files.pythonhosted.org/packages/0c/ef/0f4ebc4061022ffca10637936f7d7b9a45c8db7593c1f06d32641a7bc16f/optree-0.13.0-cp313-cp313t-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7ac7073b6d014963e5621c4d515e6a86541787ef7920ab324e8db96ea755e71d",
                "md5": "4dd2d8dd960f73a4f962a180fc68b9f8",
                "sha256": "ef01e79224f0ee6cf2ca642884f0bc04e446227b96dc576c312717eb33552d57"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313-win32.whl",
            "has_sig": false,
            "md5_digest": "4dd2d8dd960f73a4f962a180fc68b9f8",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 257814,
            "upload_time": "2024-10-03T15:30:37",
            "upload_time_iso_8601": "2024-10-03T15:30:37.228648Z",
            "url": "https://files.pythonhosted.org/packages/7a/c7/073b6d014963e5621c4d515e6a86541787ef7920ab324e8db96ea755e71d/optree-0.13.0-cp313-cp313-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bd4192cd15786619bd1d3c233661ecdfbe790a26610a0979122a44e1972b9c66",
                "md5": "30ac46c776d8699590c4bd45bf620eaf",
                "sha256": "d3f61fb669b36c1a714346b18c9c488ad33a58049b7b229785c241de18c005d7"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "30ac46c776d8699590c4bd45bf620eaf",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 285900,
            "upload_time": "2024-10-03T15:30:38",
            "upload_time_iso_8601": "2024-10-03T15:30:38.529771Z",
            "url": "https://files.pythonhosted.org/packages/bd/41/92cd15786619bd1d3c233661ecdfbe790a26610a0979122a44e1972b9c66/optree-0.13.0-cp313-cp313-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8147f4c77affa551a46e2019a06db95cb4319293630383e9d7e18fe1f47435c5",
                "md5": "534f389ec9bca37868b08aa0c46645eb",
                "sha256": "695b3f1aab50519230e3d8d86abaedaadf91af105b569cce3b8ebe0dc612b312"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp313-cp313-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "534f389ec9bca37868b08aa0c46645eb",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.7",
            "size": 285914,
            "upload_time": "2024-10-03T15:30:39",
            "upload_time_iso_8601": "2024-10-03T15:30:39.942316Z",
            "url": "https://files.pythonhosted.org/packages/81/47/f4c77affa551a46e2019a06db95cb4319293630383e9d7e18fe1f47435c5/optree-0.13.0-cp313-cp313-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "281f050aa458c61909353bebcb8535ec8340641bb22590fb81c29259e83826ac",
                "md5": "4050e926541e28ad3af05ec6c6b51d93",
                "sha256": "b08e4873814d11aa25ef3927c848b9e5cf21215b925e83875b9fe11c7a035b0e"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp37-cp37m-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "4050e926541e28ad3af05ec6c6b51d93",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 314380,
            "upload_time": "2024-10-03T15:30:55",
            "upload_time_iso_8601": "2024-10-03T15:30:55.358394Z",
            "url": "https://files.pythonhosted.org/packages/28/1f/050aa458c61909353bebcb8535ec8340641bb22590fb81c29259e83826ac/optree-0.13.0-cp37-cp37m-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "809e7d9cbbd61ffe0e2bd9103eb0f293ea004573a0d1809b0b55d7b2362818d8",
                "md5": "599370b9f374daef102a4549d81377d1",
                "sha256": "d6e236c6601480997c6e1dbbd4ab2b7ea0bc82a9a7baa1f681a1b072c9c02677"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "599370b9f374daef102a4549d81377d1",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 337585,
            "upload_time": "2024-10-03T15:30:56",
            "upload_time_iso_8601": "2024-10-03T15:30:56.569795Z",
            "url": "https://files.pythonhosted.org/packages/80/9e/7d9cbbd61ffe0e2bd9103eb0f293ea004573a0d1809b0b55d7b2362818d8/optree-0.13.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e2a59ce256d41416a3bda8dcde5df6b0f55c066eb6ceec1ee53a39b27524151",
                "md5": "9882b12d4aada223ac67f64e0c439711",
                "sha256": "557b415b41006cca88d86ad190b795455e9334d3cf5838e63c4c668a65227ccb"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "9882b12d4aada223ac67f64e0c439711",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 378118,
            "upload_time": "2024-10-03T15:30:57",
            "upload_time_iso_8601": "2024-10-03T15:30:57.921201Z",
            "url": "https://files.pythonhosted.org/packages/0e/2a/59ce256d41416a3bda8dcde5df6b0f55c066eb6ceec1ee53a39b27524151/optree-0.13.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c137248acdf450854d69bb26bcd36d31126319c4a6c8bfc95eaf98ed509b941c",
                "md5": "841ee455d5d9668dd08d2dd93c7441ed",
                "sha256": "11b78c8a18894fe9503515d073a60ebaed366aeb3cfa65e61e7e71ae833f640b"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "841ee455d5d9668dd08d2dd93c7441ed",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 379688,
            "upload_time": "2024-10-03T15:30:59",
            "upload_time_iso_8601": "2024-10-03T15:30:59.192220Z",
            "url": "https://files.pythonhosted.org/packages/c1/37/248acdf450854d69bb26bcd36d31126319c4a6c8bfc95eaf98ed509b941c/optree-0.13.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5fd27adff539fd5e7ca9181c031678a0b387f211751b0e700da12d8e6f378e3c",
                "md5": "6b4911bfce7114e673a95945fc2d6e10",
                "sha256": "4207f6fa0bd4730f5496772c139f1444b2b69e4eeb0f454e2100b5a380648f70"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "6b4911bfce7114e673a95945fc2d6e10",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 350102,
            "upload_time": "2024-10-03T15:31:00",
            "upload_time_iso_8601": "2024-10-03T15:31:00.777667Z",
            "url": "https://files.pythonhosted.org/packages/5f/d2/7adff539fd5e7ca9181c031678a0b387f211751b0e700da12d8e6f378e3c/optree-0.13.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4f4dc227a01674bb77fbf86aa9740e7a0e0899e79354532455ff661ebf1a2b30",
                "md5": "29dfd7437339dd16b602e40f53b0c715",
                "sha256": "fe9fd84b7d87f365f720699dedd254882ba7e5ef927d3ba1e13413d45963b691"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "29dfd7437339dd16b602e40f53b0c715",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 365731,
            "upload_time": "2024-10-03T15:31:02",
            "upload_time_iso_8601": "2024-10-03T15:31:02.587190Z",
            "url": "https://files.pythonhosted.org/packages/4f/4d/c227a01674bb77fbf86aa9740e7a0e0899e79354532455ff661ebf1a2b30/optree-0.13.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d13252cd421655725d27ba4023fe45a81a391bbf4c891b2f331e399fda4eacc2",
                "md5": "5da84d6aeabb79779fb58027229e3324",
                "sha256": "c0f9f250f617f114061ab718d460be6be8e0a1cbbfdbbfb5541ed1c8fefee150"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp37-cp37m-win32.whl",
            "has_sig": false,
            "md5_digest": "5da84d6aeabb79779fb58027229e3324",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 251651,
            "upload_time": "2024-10-03T15:31:03",
            "upload_time_iso_8601": "2024-10-03T15:31:03.960318Z",
            "url": "https://files.pythonhosted.org/packages/d1/32/52cd421655725d27ba4023fe45a81a391bbf4c891b2f331e399fda4eacc2/optree-0.13.0-cp37-cp37m-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8869e01a17852561c4d52015452f40676d342493c48537238ce76436afb58a8f",
                "md5": "984819100d3a6e88cf3be4fa910e2221",
                "sha256": "5cf612aefe0201a2995763cce82b9cd03cbddd2bfd6f8975f910c091dfa7bb5f"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp37-cp37m-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "984819100d3a6e88cf3be4fa910e2221",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 273068,
            "upload_time": "2024-10-03T15:31:05",
            "upload_time_iso_8601": "2024-10-03T15:31:05.184633Z",
            "url": "https://files.pythonhosted.org/packages/88/69/e01a17852561c4d52015452f40676d342493c48537238ce76436afb58a8f/optree-0.13.0-cp37-cp37m-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dfcb81c15207cd30186b51aa276b585ce5782f20d022f0d575e308e434f893be",
                "md5": "09e7b5db924ebc27207db01d90bc37e4",
                "sha256": "46623259b10f6e3565ea0d37e0b313feb20484bccb005459b3504e1aa706b730"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp38-cp38-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "09e7b5db924ebc27207db01d90bc37e4",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 543103,
            "upload_time": "2024-10-03T15:31:06",
            "upload_time_iso_8601": "2024-10-03T15:31:06.948501Z",
            "url": "https://files.pythonhosted.org/packages/df/cb/81c15207cd30186b51aa276b585ce5782f20d022f0d575e308e434f893be/optree-0.13.0-cp38-cp38-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "08c73387f7c2299f245409e97259355a851fb66c9911dd541f60505f2f22ee6e",
                "md5": "522a2a6605e7236328d0b791da0e138b",
                "sha256": "e7f9184c6040365e79a0b900507c289b6a4e06ade3c9691e501d176d5cf775cf"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp38-cp38-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "522a2a6605e7236328d0b791da0e138b",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 296249,
            "upload_time": "2024-10-03T15:31:09",
            "upload_time_iso_8601": "2024-10-03T15:31:09.007179Z",
            "url": "https://files.pythonhosted.org/packages/08/c7/3387f7c2299f245409e97259355a851fb66c9911dd541f60505f2f22ee6e/optree-0.13.0-cp38-cp38-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5c78bc4d50445e44c82a6e938ea819a9abc83c7cdf53bc8a12d7a0039cb87331",
                "md5": "befc3be5923caef75b7c46d57ed7535e",
                "sha256": "6201c065791422a73d5aeb4916e00879de9b097cf54526f82b5b3c297126d938"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "befc3be5923caef75b7c46d57ed7535e",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 328627,
            "upload_time": "2024-10-03T15:31:10",
            "upload_time_iso_8601": "2024-10-03T15:31:10.322502Z",
            "url": "https://files.pythonhosted.org/packages/5c/78/bc4d50445e44c82a6e938ea819a9abc83c7cdf53bc8a12d7a0039cb87331/optree-0.13.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "96001ceda40b54035f95e8a6b0b0b259976ff3620076f28209e946e0e377da42",
                "md5": "853e4da7170fc902ad0e43f4aa851004",
                "sha256": "2a423897010c6d8490097671d907da1b6ee90d3fa783aaad5e36e46e0a73bc5e"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "853e4da7170fc902ad0e43f4aa851004",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 369498,
            "upload_time": "2024-10-03T15:31:13",
            "upload_time_iso_8601": "2024-10-03T15:31:13.032058Z",
            "url": "https://files.pythonhosted.org/packages/96/00/1ceda40b54035f95e8a6b0b0b259976ff3620076f28209e946e0e377da42/optree-0.13.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d565845f4fd8e21f832136441460f1133e05215c092a8e3b8182b952f6369ff6",
                "md5": "1fa4ca9322a3ac5498b02055a96d6a92",
                "sha256": "1fb74282fce108e07972e88dbc23f6b7650c2d3bbddbedc2002d3e0becb1c452"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "1fa4ca9322a3ac5498b02055a96d6a92",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 369847,
            "upload_time": "2024-10-03T15:31:14",
            "upload_time_iso_8601": "2024-10-03T15:31:14.399499Z",
            "url": "https://files.pythonhosted.org/packages/d5/65/845f4fd8e21f832136441460f1133e05215c092a8e3b8182b952f6369ff6/optree-0.13.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c3822a0f4677ba1add3bdc16bb2ac26f01f726c9b8f9b112a9a2be70b128383a",
                "md5": "66d641cc9fa3673242d18157282ef3bb",
                "sha256": "94ecab158521225b20e44d67c8afc2d9af6760985a9f489d21bf2aa8bbe467f8"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "66d641cc9fa3673242d18157282ef3bb",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 342798,
            "upload_time": "2024-10-03T15:31:15",
            "upload_time_iso_8601": "2024-10-03T15:31:15.939107Z",
            "url": "https://files.pythonhosted.org/packages/c3/82/2a0f4677ba1add3bdc16bb2ac26f01f726c9b8f9b112a9a2be70b128383a/optree-0.13.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "43e0e5f4be8181af713aeffd1c5bceb1b639b93f80a68ca140a38db816064e01",
                "md5": "87a15d28cf860c2ca59a0bc0723fe20e",
                "sha256": "8244d0fbfe1ef15ffb443f3d32a44aff062adbef0a7fd6db3f011999df966223"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "87a15d28cf860c2ca59a0bc0723fe20e",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 358487,
            "upload_time": "2024-10-03T15:31:17",
            "upload_time_iso_8601": "2024-10-03T15:31:17.323527Z",
            "url": "https://files.pythonhosted.org/packages/43/e0/e5f4be8181af713aeffd1c5bceb1b639b93f80a68ca140a38db816064e01/optree-0.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "38eda8fb39e8791e7234dcab356a1ef15b73b4362bbd0b8072cb34438f20254b",
                "md5": "284d0b149224666e64f1400452b15082",
                "sha256": "0a34c11d637cb01217828e28eef382c621c9ec53f981d8ccbfe56e0a11cda501"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp38-cp38-win32.whl",
            "has_sig": false,
            "md5_digest": "284d0b149224666e64f1400452b15082",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 248871,
            "upload_time": "2024-10-03T15:31:18",
            "upload_time_iso_8601": "2024-10-03T15:31:18.929389Z",
            "url": "https://files.pythonhosted.org/packages/38/ed/a8fb39e8791e7234dcab356a1ef15b73b4362bbd0b8072cb34438f20254b/optree-0.13.0-cp38-cp38-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "355ad5405339649cb7eb6942c271309f174e1044f7d8fde64c7c6b032393c455",
                "md5": "c00c48d1eb4f68ae9c4ca540b293d087",
                "sha256": "ebe56c17bf3754335307b17be7f554c5eae47acf738471cf38dba0ec73a42c37"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "c00c48d1eb4f68ae9c4ca540b293d087",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 274592,
            "upload_time": "2024-10-03T15:31:20",
            "upload_time_iso_8601": "2024-10-03T15:31:20.684070Z",
            "url": "https://files.pythonhosted.org/packages/35/5a/d5405339649cb7eb6942c271309f174e1044f7d8fde64c7c6b032393c455/optree-0.13.0-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c7e8d864be4d0453d53d765c24450557013ceb80a233c734c994eee5419c7884",
                "md5": "f64e6aa88fe451688a8df363cfb70748",
                "sha256": "e9c619a49984212e5f757e10d5e5f95888b0c08d67a7f2b9f395cede30712dc2"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp39-cp39-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "f64e6aa88fe451688a8df363cfb70748",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 543434,
            "upload_time": "2024-10-03T15:31:22",
            "upload_time_iso_8601": "2024-10-03T15:31:22.034663Z",
            "url": "https://files.pythonhosted.org/packages/c7/e8/d864be4d0453d53d765c24450557013ceb80a233c734c994eee5419c7884/optree-0.13.0-cp39-cp39-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "768047ad8e735187a2f7d815b249b8b150abefc9fe9b023813b14af7fbc91e09",
                "md5": "c8dfed8e323ef36374e6d5e707722762",
                "sha256": "50a9e2d9ffff99d45b37289a3422ed3723a45225616f5b48cea606ff0f539c0f"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp39-cp39-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "c8dfed8e323ef36374e6d5e707722762",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 296462,
            "upload_time": "2024-10-03T15:31:23",
            "upload_time_iso_8601": "2024-10-03T15:31:23.438874Z",
            "url": "https://files.pythonhosted.org/packages/76/80/47ad8e735187a2f7d815b249b8b150abefc9fe9b023813b14af7fbc91e09/optree-0.13.0-cp39-cp39-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6cf1743eac9c896471b365cfe7df5a7a0d003f8cf16420fceddd925a67fd211b",
                "md5": "a8e58fc678fab1505f62e9a86f017f15",
                "sha256": "d702dbcafcd16e8925e30c0e780ab3dc81450e19008fd3e77494111fc161a2b2"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "a8e58fc678fab1505f62e9a86f017f15",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 329471,
            "upload_time": "2024-10-03T15:31:24",
            "upload_time_iso_8601": "2024-10-03T15:31:24.695610Z",
            "url": "https://files.pythonhosted.org/packages/6c/f1/743eac9c896471b365cfe7df5a7a0d003f8cf16420fceddd925a67fd211b/optree-0.13.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cbafbc560b72495db3f688b4e23182aeeed15af3d8eaf7f0aa215fd3ee1d9d0b",
                "md5": "d8b9000b3f4a819d7c00aedd81e4318d",
                "sha256": "9f44a58f87059161f300e2be66ad3878fff540d27f5dcd69b21feae65c243a02"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "d8b9000b3f4a819d7c00aedd81e4318d",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 370062,
            "upload_time": "2024-10-03T15:31:26",
            "upload_time_iso_8601": "2024-10-03T15:31:26.044510Z",
            "url": "https://files.pythonhosted.org/packages/cb/af/bc560b72495db3f688b4e23182aeeed15af3d8eaf7f0aa215fd3ee1d9d0b/optree-0.13.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a0299e5bea51aa43c56d5e8acee451ec6e8e8d362d75505dc50df44d4ec34c64",
                "md5": "cf5e24e63e6a2ef7c70067e41f700e35",
                "sha256": "954899edc024f13079932418f59bbdadabc52d9dcb49c7b559c382c7be352dfc"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "cf5e24e63e6a2ef7c70067e41f700e35",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 372316,
            "upload_time": "2024-10-03T15:31:27",
            "upload_time_iso_8601": "2024-10-03T15:31:27.455607Z",
            "url": "https://files.pythonhosted.org/packages/a0/29/9e5bea51aa43c56d5e8acee451ec6e8e8d362d75505dc50df44d4ec34c64/optree-0.13.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "613e700def92bbc4b0b5a6ba8d452c89d9729c365884debb7f036a7450b6cf46",
                "md5": "17482f2805e15cfbc6ab6406a0d047c6",
                "sha256": "0c736ce6f4b8857bd171f3682ef849e3d67692c3fc4db42b99c5d2c7cc1bdf11"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "17482f2805e15cfbc6ab6406a0d047c6",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 343121,
            "upload_time": "2024-10-03T15:31:28",
            "upload_time_iso_8601": "2024-10-03T15:31:28.829595Z",
            "url": "https://files.pythonhosted.org/packages/61/3e/700def92bbc4b0b5a6ba8d452c89d9729c365884debb7f036a7450b6cf46/optree-0.13.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c949db3a3f9ef897291cd53151985eb569c008292f53f037d98317e6d1f61739",
                "md5": "deb8f3bc33a1978efa969c2d3cb4ea5e",
                "sha256": "7941d3bd48d860d0e17ca24827b5233ea27bb4227e822eafb3897df1f43f8342"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "deb8f3bc33a1978efa969c2d3cb4ea5e",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 358805,
            "upload_time": "2024-10-03T15:31:30",
            "upload_time_iso_8601": "2024-10-03T15:31:30.233124Z",
            "url": "https://files.pythonhosted.org/packages/c9/49/db3a3f9ef897291cd53151985eb569c008292f53f037d98317e6d1f61739/optree-0.13.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1b1fe19168cf24893155fc9d2838dea238e14f900e0109aa1ede2c313f658aaf",
                "md5": "282ef028fa0b8e997c3315651e1dbf42",
                "sha256": "9f6fc47c9b10d1a9e77163ebd6f2e251af41fab895475d2ce9643423a41899af"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp39-cp39-win32.whl",
            "has_sig": false,
            "md5_digest": "282ef028fa0b8e997c3315651e1dbf42",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 248902,
            "upload_time": "2024-10-03T15:31:31",
            "upload_time_iso_8601": "2024-10-03T15:31:31.889091Z",
            "url": "https://files.pythonhosted.org/packages/1b/1f/e19168cf24893155fc9d2838dea238e14f900e0109aa1ede2c313f658aaf/optree-0.13.0-cp39-cp39-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f91e5ad271ab5b1ed18f2921e31948bb5218cb47202cdf91f91997c6d1a821ab",
                "md5": "48e3b011c245f6bd332e669099d4e012",
                "sha256": "246020f0be50fb66791d8a25c4acb59ad0b4bbdea71c998e375eba4c58fbc3e0"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "48e3b011c245f6bd332e669099d4e012",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 270148,
            "upload_time": "2024-10-03T15:31:33",
            "upload_time_iso_8601": "2024-10-03T15:31:33.350828Z",
            "url": "https://files.pythonhosted.org/packages/f9/1e/5ad271ab5b1ed18f2921e31948bb5218cb47202cdf91f91997c6d1a821ab/optree-0.13.0-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9426aefb57c09e253e4925fb86e0bbf3219c449c0f2ec1b12178e7bbc935dbff",
                "md5": "f9b1735c68dce98883a84de8f3b44410",
                "sha256": "069bf166b7aa48ccf8dfe76b920d2115dd8261107c7895d02500b2ce39621b40"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-cp39-cp39-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "f9b1735c68dce98883a84de8f3b44410",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 270153,
            "upload_time": "2024-10-03T15:31:34",
            "upload_time_iso_8601": "2024-10-03T15:31:34.726696Z",
            "url": "https://files.pythonhosted.org/packages/94/26/aefb57c09e253e4925fb86e0bbf3219c449c0f2ec1b12178e7bbc935dbff/optree-0.13.0-cp39-cp39-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dcab60d993e7d1a69451f59e411b123239f2b1d499499620b30a8aa8554f6c8e",
                "md5": "f093e55c0ecf7d2feea0d1a62c74b478",
                "sha256": "496170a3d093a7fb69be7ce847f5b5b3aa30a6da81457ba6b54268e6e97c6b13"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "f093e55c0ecf7d2feea0d1a62c74b478",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.7",
            "size": 302770,
            "upload_time": "2024-10-03T15:31:36",
            "upload_time_iso_8601": "2024-10-03T15:31:36.137611Z",
            "url": "https://files.pythonhosted.org/packages/dc/ab/60d993e7d1a69451f59e411b123239f2b1d499499620b30a8aa8554f6c8e/optree-0.13.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "09d2835b648422b93f6bfbd08f517556c13e890c080ed7c8e8ea0932a6436f01",
                "md5": "ec5af550f68394acc271f7050a138724",
                "sha256": "73543a82be71c041d5b169754089a58d02063eb72ac8688533b6fc26ab6beea8"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "ec5af550f68394acc271f7050a138724",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.7",
            "size": 332010,
            "upload_time": "2024-10-03T15:31:38",
            "upload_time_iso_8601": "2024-10-03T15:31:38.056893Z",
            "url": "https://files.pythonhosted.org/packages/09/d2/835b648422b93f6bfbd08f517556c13e890c080ed7c8e8ea0932a6436f01/optree-0.13.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "70ddbc8cb831ef8c911bdaa18abb86f76526fb266b56ca6c95cffa8d97377127",
                "md5": "9fb177478c54fb8bbdb68dc331dbc08e",
                "sha256": "278e2c620df99f5b1477b375b01cf9658528fa0332c0bc431d3ec65857244094"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "9fb177478c54fb8bbdb68dc331dbc08e",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.7",
            "size": 375068,
            "upload_time": "2024-10-03T15:31:39",
            "upload_time_iso_8601": "2024-10-03T15:31:39.406178Z",
            "url": "https://files.pythonhosted.org/packages/70/dd/bc8cb831ef8c911bdaa18abb86f76526fb266b56ca6c95cffa8d97377127/optree-0.13.0-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a9e84d41e3bf58a5cee37fc1196f052671baff54201145f6457fc267177d1c31",
                "md5": "451fb562620d743705cf103594a3821d",
                "sha256": "36b32155dce29edb6f63a99a44d6da2d8fcd1c56353cc2f4af65f793a0b2712f"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "451fb562620d743705cf103594a3821d",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.7",
            "size": 362426,
            "upload_time": "2024-10-03T15:31:40",
            "upload_time_iso_8601": "2024-10-03T15:31:40.798713Z",
            "url": "https://files.pythonhosted.org/packages/a9/e8/4d41e3bf58a5cee37fc1196f052671baff54201145f6457fc267177d1c31/optree-0.13.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dd047c993d0152069c8afd6b8f8af0b33abdd83563f0138e6755f9a797af221d",
                "md5": "bab32373ae8cee6e9638f761c2244e96",
                "sha256": "c98a43204841cc4698155acb523d7b21a78f8b05666704359e0fddecd5d1043d"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-pp310-pypy310_pp73-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "bab32373ae8cee6e9638f761c2244e96",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.7",
            "size": 277836,
            "upload_time": "2024-10-03T15:31:42",
            "upload_time_iso_8601": "2024-10-03T15:31:42.605992Z",
            "url": "https://files.pythonhosted.org/packages/dd/04/7c993d0152069c8afd6b8f8af0b33abdd83563f0138e6755f9a797af221d/optree-0.13.0-pp310-pypy310_pp73-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "82d385df4a2914643dbc3c92e371e2f38756c237f0b60c6e49be2c6004c63a06",
                "md5": "52fe98ace5512713e686a733496ddb8d",
                "sha256": "5c2803d4ef257f2599cffd0e9d60cfb3d4c522abbe8f5a839bd48d8edd26dae7"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "52fe98ace5512713e686a733496ddb8d",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 302695,
            "upload_time": "2024-10-03T15:31:43",
            "upload_time_iso_8601": "2024-10-03T15:31:43.986171Z",
            "url": "https://files.pythonhosted.org/packages/82/d3/85df4a2914643dbc3c92e371e2f38756c237f0b60c6e49be2c6004c63a06/optree-0.13.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "601f0ff77a50b4ace1635afbccccf807a141636ab133a0d33cdbd40805d18b7c",
                "md5": "2a3e512cbc5002ecf932f75baddd5281",
                "sha256": "ac3b454f98d28a89c15a1170e771c61902cbc53eed126db36138b684dba5a729"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "2a3e512cbc5002ecf932f75baddd5281",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 331748,
            "upload_time": "2024-10-03T15:31:45",
            "upload_time_iso_8601": "2024-10-03T15:31:45.427166Z",
            "url": "https://files.pythonhosted.org/packages/60/1f/0ff77a50b4ace1635afbccccf807a141636ab133a0d33cdbd40805d18b7c/optree-0.13.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9face323862e36ec252a8579b7cce187138c1a78114535eec98b1f8d3ed95964",
                "md5": "ef47710a641c68920e0f1bd20ff669ec",
                "sha256": "b74afed3db289228e0f95a8909835365f644eb69ff31cd6c0b45608ca9e56d78"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "ef47710a641c68920e0f1bd20ff669ec",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 375264,
            "upload_time": "2024-10-03T15:31:46",
            "upload_time_iso_8601": "2024-10-03T15:31:46.991390Z",
            "url": "https://files.pythonhosted.org/packages/9f/ac/e323862e36ec252a8579b7cce187138c1a78114535eec98b1f8d3ed95964/optree-0.13.0-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "53b9f779c65d14c8f5b15280b7d44a710b5c8b5f237ba68ca44417de11437fcd",
                "md5": "f1e9dff053d0837958479aaaedba561d",
                "sha256": "cc3cebfd7d0826d223662f01ed0fa25932edf3f62479be13c4d6ff0fab090c34"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "f1e9dff053d0837958479aaaedba561d",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 362411,
            "upload_time": "2024-10-03T15:31:48",
            "upload_time_iso_8601": "2024-10-03T15:31:48.933173Z",
            "url": "https://files.pythonhosted.org/packages/53/b9/f779c65d14c8f5b15280b7d44a710b5c8b5f237ba68ca44417de11437fcd/optree-0.13.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1262757282bafdbb1c4dad147f8910daa72aa692e0538926fc6a78c45274769e",
                "md5": "acf10461fd5a74d01b0d8986cc844e94",
                "sha256": "5703637ede6fba04cbeabbb47aada7d17606c2d4df73305063f4a3c829c21fc7"
            },
            "downloads": -1,
            "filename": "optree-0.13.0-pp39-pypy39_pp73-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "acf10461fd5a74d01b0d8986cc844e94",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 277707,
            "upload_time": "2024-10-03T15:31:50",
            "upload_time_iso_8601": "2024-10-03T15:31:50.795506Z",
            "url": "https://files.pythonhosted.org/packages/12/62/757282bafdbb1c4dad147f8910daa72aa692e0538926fc6a78c45274769e/optree-0.13.0-pp39-pypy39_pp73-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f33cc6673a6141cb1546d94c3b8b396d115a338022875c485d8b2219853851b",
                "md5": "143a3f8f60fbd2f0866b317eeb64721f",
                "sha256": "1ea493cde8c60f7950ccbd682bd67e787bf67ed2251d6d3e9ad7471b72d37538"
            },
            "downloads": -1,
            "filename": "optree-0.13.0.tar.gz",
            "has_sig": false,
            "md5_digest": "143a3f8f60fbd2f0866b317eeb64721f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 153449,
            "upload_time": "2024-10-03T15:31:52",
            "upload_time_iso_8601": "2024-10-03T15:31:52.278013Z",
            "url": "https://files.pythonhosted.org/packages/9f/33/cc6673a6141cb1546d94c3b8b396d115a338022875c485d8b2219853851b/optree-0.13.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-03 15:31:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "metaopt",
    "github_project": "optree",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "optree"
}
        
Elapsed time: 0.47667s