ASEM000 / pytreeclass

Visualize, create, and operate on pytrees in the most intuitive way possible.
https://pytreeclass.rtfd.io/en/latest
Apache License 2.0
41 stars 1 forks source link

initial #86

Closed ASEM000 closed 1 year ago

ASEM000 commented 1 year ago

First step to support multibackends (e.g. optree)

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 98.57% and project coverage change: -0.03% :warning:

Comparison is base (5efaf71) 99.02% compared to head (eb507b6) 98.99%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #86 +/- ## ========================================== - Coverage 99.02% 98.99% -0.03% ========================================== Files 15 16 +1 Lines 2758 2782 +24 ========================================== + Hits 2731 2754 +23 - Misses 27 28 +1 ``` | [Files Changed](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem) | Coverage Δ | | |---|---|---| | [pytreeclass/\_src/backend.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy9iYWNrZW5kLnB5) | `96.87% <96.87%> (ø)` | | | [pytreeclass/\_src/tree\_index.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy90cmVlX2luZGV4LnB5) | `98.53% <97.05%> (-0.01%)` | :arrow_down: | | [pytreeclass/\_\_init\_\_.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | | [pytreeclass/\_src/code\_build.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy9jb2RlX2J1aWxkLnB5) | `97.18% <100.00%> (-0.04%)` | :arrow_down: | | [pytreeclass/\_src/tree\_base.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy90cmVlX2Jhc2UucHk=) | `100.00% <100.00%> (ø)` | | | [pytreeclass/\_src/tree\_mask.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy90cmVlX21hc2sucHk=) | `98.27% <100.00%> (ø)` | | | [pytreeclass/\_src/tree\_pprint.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy90cmVlX3BwcmludC5weQ==) | `99.61% <100.00%> (+<0.01%)` | :arrow_up: | | [pytreeclass/\_src/tree\_util.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy90cmVlX3V0aWwucHk=) | `97.71% <100.00%> (-0.13%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.