result
htmd
result | htmd | |
---|---|---|
7 | 2 | |
1,363 | 2 | |
3.5% | - | |
8.1 | 8.9 | |
about 1 month ago | 3 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
result
-
Ask HN: Anyone looking for contributors for their open source projects
https://github.com/rustedpy/result
Small Python library, slowly and steadily growing in use.
-
Python errors as values: Comparing useful patterns from Rust and Go
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 to take a look.
-
Blog post: Writing Python like it’s Rust
For the part "Writing Python like it's Rust", did you try the result package? I didn't (yet?) use it as I feel that if I push to use it at work, I will fall in the Rustacean caricature..
-
Rust-like error handling in Python with NamedTuple
Use the result package, if you want a proper, rusty result type. This approach is bad.
- A simple Rust-like Result type for Python
- Rust-like Result type for Python
htmd
What are some alternatives?
returns - Make your functions return something meaningful, typed, and safe!
silkie - Static site generator with the smoothness of silk
msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
Nikola - A static website and blog generator
Hyde - A Python Static Website Generator
dirmaker - dirmaker is a simple, opinionated static site generator for quickly publishing directory websites.
tg-archive - A tool for exporting Telegram group chats into static websites like mailing list archives.
girisagar46.github.io - My personal blog. Built using Pelican (a static site generator)
django-distill - Minimal configuration static site generator for Django