{"library":"optree","type":"library","category":null,"description":"OpTree is an optimized Python library for working with PyTrees, which are arbitrarily nested Python containers. It provides efficient utilities for flattening, unflattening, and mapping functions over tree structures. The current version is 0.19.0, and the library maintains an active development cycle with frequent releases.","language":"python","status":"active","version":"0.19.0","tags":["pytree","tree-traversal","functional-programming","python>=3.9","data-structures"],"install":[{"cmd":"pip install optree","imports":["from optree import tree_flatten","from optree import tree_unflatten","from optree import tree_map","from optree import register_pytree_node","import optree.pytree as pt"]}],"homepage":null,"github":"https://github.com/metaopt/optree","docs":"https://optree.readthedocs.io","changelog":null,"pypi":"https://pypi.org/project/optree/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":1.8,"avg_import_s":0.1,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/optree/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":"draft"}}