option
Value handlers
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.
Rust like Option and Result types in Python
85 stars
1 watching
5 forks
Language: Python
last commit: over 2 years agoLinked from 2 awesome lists
mypyoption-typeoptionalpep484resultresult-typetyping
Related projects:
| Repository | Description | Stars |
|---|---|---|
| A library providing a simple, type-safe way to handle values with potential errors in Python 3. | 1,625 | |
| Typesafe wrappers for handling errors and absent data in Python | 44 | |
| Provides an Option type inspired by Rust for Python 3 | 71 | |
| Provides Go types for optionals and results with values or errors. | 17 | |
| A tool to integrate mypy into an existing Python project and track progress on resolving type errors. | 59 | |
| A Python library providing a set of attributes to make code more reliable and maintainable by declaring parameters with type and range checking, documentation strings, default values, etc. | 435 | |
| A collection of helpers and utilities to aid in dealing with types at static analysis and runtime. | 9 | |
| A library that provides runtime-checkable type protocols for operator overloading in Python | 24 | |
| A Python module that provides a convenient and object-oriented interface to file/directory operations. | 513 | |
| Implements functional types for handling side-effects in Python with Either, Option, Try, and Future monads. | 31 | |
| A Rust-based library that converts Rust objects to Python values and back using the PyO3 library. | 211 | |
| Enables typed polymorphism and type-safe business logic in Python without inheritance or interfaces. | 678 | |
| A tool to simplify Python package maintenance by automating type checking and stub installation. | 19 | |
| A Vim plugin for executing Python's static type checker. | 97 | |
| Phantom types enable safe parsing and validation of data by making certain states unrepresentable at compile time | 205 |