montasaurus/result: A simple Rust-like Result type for Python 3

by networkedon 4/6/2025, 2:10 PMwith 2 comments

by niuxon 4/7/2025, 12:46 PM

Funnily, I released something similar two weeks ago with more targeted decorators (sync vs async), a more strict `Err` type and a less verbose type guard (`ok`):

https://github.com/overflowy/safe-result

by atoavon 4/6/2025, 10:35 PM

I used this in a project or two and I really like what it does to the code and error handling. Can recommend checking it out.