Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2023 (3)
20082026
  1. 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…
  2. …language for beginners) in an easy and accessible way ? https://en.wikipedia.org/wiki/Result_type https://github.com/rustedpy/result
  3. 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…
  4. …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.…
  5. 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