Name: | python3-result |
---|---|
Version: | 0.10.0 |
Release: | 1.el9 |
Architecture: | noarch |
Group: | Unspecified |
Size: | 46252 |
License: | MIT |
RPM: | python3-result-0.10.0-1.el9.noarch.rpm |
Source RPM: | python-result-0.10.0-1.el9.src.rpm |
Build Date: | Thu May 25 2023 |
Build Host: | build-ol9-x86_64.oracle.com |
Vendor: | Oracle America |
URL: | https://github.com/rustedpy/result |
Summary: | A Rust-like result type for Python |
Description: | A simple Result type for Python 3 inspired by Rust, fully type annotated. The idea is that a result value can be either `Ok(value)` or `Err(error)`, with a way to differentiate between the two. `Ok` and `Err` are both classes encapsulating an arbitrary value. `Result[T, E]` is a generic type alias for `typing.Union[Ok[T], Err[E]]`. |