result

Error handling library

A library providing a simple, type-safe way to handle values with potential errors in Python 3.

A simple Rust like Result type for Python 3. Fully type annotated.

GitHub

2k stars
13 watching
78 forks
Language: Python
last commit: 3 months ago
functional-programmingmypypythonpython3railway-oriented-programmingruststrongly-typedtype-safetytypechecking

Related projects:

Repository Description Stars
mat1g3r/option A library that provides Rust-like Option and Result types in Python to handle optional and error values in a more type-safe and expressive way. 85
mplanchard/safetywrap Typesafe wrappers for handling errors and absent data in Python 44
rustedpy/maybe Provides an Option type inspired by Rust for Python 3 67
orsinium-labs/mypy-baseline A tool to integrate mypy into an existing Python project and track progress on resolving type errors. 55
oliverbrotchie/optionals Provides error handling and options for TypeScript and Deno similar to Rust's Option and Result enums 178
cryptex-github/ril-py A Python binding around an image processing library written in Rust. 29
messense/typst-py Provides a Python interface to compile and query markup-based typesetting system typst. 115
dry-python/classes Typed polymorphism primitives for Python business logic 670
emperror/errors Provides a unified error handling package with features from standard libraries and pkg/errors. 198
windelbouwman/rspython An alternative implementation of Python in Rust, aiming to provide a native compilation option and explore new possibilities for combining Rust with Python. 30
autopilot-rs/autopy A cross-platform GUI automation module for Python and Rust. 858
orsinium-labs/typeforce A tool to simplify Python package maintenance by automating type checking and stub installation. 19
dgrunwald/rust-cpython Rust bindings for the Python interpreter, allowing Rust code to interact with and use Python libraries and scripts. 1,813
jturner314/py_literal A Rust crate for parsing and formatting Python literals. 16
jorenham/scipy-stubs Provides type hints and stubs for SciPy libraries to facilitate code completion and error detection in Python. 16