rustedpy/result
View on GitHub ↗ ★ 1,678 Python archived
NOT MAINTAINED - A simple Rust like Result type for Python 3. Fully type annotated.
5 mentions on Hacker News by 5 people: 0 stories, 5 comments · first 2023-05-26 · latest 2024-03-22
20082026
-
https://github.com/rustedpy/result Small Python library, slowly and steadily growing in use. New contributors, junior devs welcome. Mainly just maintenance work, occasional bug fixes and small feature development. Fine someone looking for…
comment by rustedpy · 2024-03-22 · in Ask HN: Anyone looking for contributors for their open source projects -
…language for beginners) in an easy and accessible way ? https://en.wikipedia.org/wiki/Result_type https://github.com/rustedpy/result
comment by tester756 · 2024-02-21 · in Inversion of Control Containers and the Dependency Injection pattern (2004) -
The result package in the article: https://github.com/rustedpy/result There's a pretty decent explanation in the readme. If you're more interested in Monads, I am not sure I'd cover that in a HN comment very well, but I would encourage you…
comment by ed_blackburn · 2023-11-09 · in Python errors as values: Comparing useful patterns from Rust and Go -
…too well but I think this is covered in TFA. There's a comparison between a Result type using https://github.com/rustedpy/result and an ADT/sum type — and the sum type looks like it's way more ergonomic with Python's current typechecker.…
comment by tonyhb · 2023-11-09 · in Python errors as values: Comparing useful patterns from Rust and Go -
A nice library to handle results like Rust is https://github.com/rustedpy/result
comment by autorun · 2023-05-26 · in Writing Python like it's Rust