michael-christen / toolbox

My very own monorepo
https://michael-christen.github.io/toolbox/
MIT License
3 stars 1 forks source link

BEP reader delimiter #164

Closed michael-christen closed 6 days ago

michael-christen commented 1 week ago

Pull in a mechanism for reading/writing delimited protobufs from https://github.com/soulmachine/delimited-protobuf/blob/main/delimited_protobuf.py. Add a small example bep_reader.py that utilizes this. Also setup a small test of the delimited behavior.

Add tabulate requirement. Setup build_event_stream_py_library with gazelle

codecov[bot] commented 6 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (2b8c6a3) to head (090591e). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #164 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 5 7 +2 Lines 56 117 +61 ========================================= + Hits 56 117 +61 ``` | [Files with missing lines](https://app.codecov.io/gh/michael-christen/toolbox/pull/164?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Michael+Christen) | Coverage Δ | | |---|---|---| | [...ird\_party/delimited\_protobuf/delimited\_protobuf.py](https://app.codecov.io/gh/michael-christen/toolbox/pull/164?src=pr&el=tree&filepath=third_party%2Fdelimited_protobuf%2Fdelimited_protobuf.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Michael+Christen#diff-dGhpcmRfcGFydHkvZGVsaW1pdGVkX3Byb3RvYnVmL2RlbGltaXRlZF9wcm90b2J1Zi5weQ==) | `100.00% <100.00%> (ø)` | | | [...arty/delimited\_protobuf/delimited\_protobuf\_test.py](https://app.codecov.io/gh/michael-christen/toolbox/pull/164?src=pr&el=tree&filepath=third_party%2Fdelimited_protobuf%2Fdelimited_protobuf_test.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Michael+Christen#diff-dGhpcmRfcGFydHkvZGVsaW1pdGVkX3Byb3RvYnVmL2RlbGltaXRlZF9wcm90b2J1Zl90ZXN0LnB5) | `100.00% <100.00%> (ø)` | |

🚨 Try these New Features: