optree

Optimized PyTree Utilities.

optree has been downloaded 238,825,063 times in total on PyPI, including 6,738,035 in the last 30 days. The latest version is 0.20.0, released Aug 20, 2026. It is distributed under the Apache-2.0 license.

Version0.20.0
Downloads
238.83M
LicenseApache-2.0
AuthorOpTree Contributors
UpdatedAug 20, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal0.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included2 / 31 series
Selected total40.16M
238.8MAll-time
6.7MLast 30 days
323.7kLast 24 h
2.60/sPer second

Version distribution

Share of downloads by released version. Computed over the last quarter.

  • 01

    0.20.0

    12.2M downloads
    60.6%
  • 02

    0.19.1

    2.8M downloads
    14.1%
  • 03

    0.18.0

    1.3M downloads
    6.3%
  • 04

    0.17.0

    1.1M downloads
    5.2%
  • 05

    0.19.0

    964.4k downloads
    4.8%
  • 06

    0.16.0

    445.3k downloads
    2.2%
  • 07

    0.13.0

    429.7k downloads
    2.1%
  • 08

    0.14.1

    288.4k downloads
    1.4%
  • 09

    Other

    640.2k downloads
    3.2%

Guess the next day

Thirteen recent days of optree downloads. Drag the green handle on the right to guess where day fourteen lands.

TRUTH323.7k256.9kTHUFRISATSUNMONTUEWEDTHUFRISATSUNMONTUE