safetywrap
Error handling library
Typesafe wrappers for handling errors and absent data in Python
Fully typesafe, Rust-like Result and Option types for Python
44 stars
4 watching
3 forks
Language: Python
last commit: about 6 years agoLinked from 2 awesome lists
optionpythonpython3resultresult-typerustrust-optionrust-resulttypesafetyping
Related projects:
| Repository | Description | Stars |
|---|---|---|
| A library providing a simple, type-safe way to handle values with potential errors in Python 3. | 1,625 | |
| 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 | |
| Provides an Option type inspired by Rust for Python 3 | 71 | |
| Enables typed polymorphism and type-safe business logic in Python without inheritance or interfaces. | 678 | |
| Provides error handling and options for TypeScript and Deno similar to Rust's Option and Result enums | 179 | |
| Implements functional types for handling side-effects in Python with Either, Option, Try, and Future monads. | 31 | |
| Phantom types enable safe parsing and validation of data by making certain states unrepresentable at compile time | 205 | |
| Analyze and optimize type-checking imports in Python code to improve maintainability and runtime performance. | 115 | |
| Provides commonly used data structures and protocols in Python to improve code clarity and maintainability | 115 | |
| Provides static type annotations for the Python standard library and third-party packages | 3 | |
| Enforces consistent use of optional type annotations in Python code | 17 | |
| A set of tools that simplify Python class creation by reducing boilerplate code and enforcing type checking. | 15 | |
| A library that provides runtime-checkable type protocols for operator overloading in Python | 24 | |
| Infer static type information from Python code by tracing execution paths | 11 | |
| Rust bindings for the Python interpreter, allowing Rust code to interact with and use Python libraries and scripts. | 1,815 |