A Rust-like result type for Python
28.39 KB
built 2026-10-17 13:18:37 GMT
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]]`.
Dependencies
11 totalRequires6
- python(abi) = 3.15
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PartialHardlinkSets) <= 4.0.4-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides5
- python-result = 0.17.0-11.fc45
- python3-result = 0.17.0-11.fc45
- python3.15-result = 0.17.0-11.fc45
- python3.15dist(result) = 0.17
- python3dist(result) = 0.17
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
19
Files 1–19 of 19
Component of
buildroots that installed this RPMNo Buildroots
