{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/11"}],"enrichment":{"capability":"Provides type-safe wrapper types for representing values that may be absent, failed, or deferred, enabling functional-style error handling and optional value composition in Python.","skillfed_tags":["functional-programming","type-safety","error-handling"],"use_cases":["Replace None checks with Option types to make absence explicit in function signatures.","Encode success or failure outcomes as Result types to propagate errors through operation chains.","Use Either to represent computations that can fail in two distinct ways with different error information.","Chain transformations on wrapped values using combinators for functional composition.","Write type-safe APIs where callers see at a glance whether a function returns a value or a fallible result."],"what_it_does":"wraps provides a collection of type-safe wrapper types inspired by functional programming\u2014Option, Result, Either, and Future\u2014that encode absence, failure, and deferred computation directly in the type system. Instead of using None or raising exceptions, you wrap values and compose operations safely, making error paths explicit and testable.\n\nThe library is built on top of attrs, funcs, named, typing-aliases, and typing-extensions to deliver typed, composable wrappers for modern Python. It targets developers familiar with functional patterns who want to bring that safety and clarity to Python codebases.","worth_installing":"Yes, if you are building a codebase that benefits from explicit error and absence handling and you are comfortable with functional programming patterns. The low install friction and permissive MIT license make adoption straightforward. However, note that the project is dormant (last release 719 days ago) and the README examples are incomplete, so verify that the current API meets your needs before committing to a dependency."},"id":"wraps","links":{"html":"https://skillfed.io/packages/wraps","md":"https://skillfed.io/packages/wraps.md","pypi":"https://pypi.org/project/wraps/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-08-25","license_spdx":null,"license_treatment":"permissive","name":"wraps","python_support":"supports_current","summary":"Meaningful and safe wrapping types."},"popularity":{"monthly_downloads":80833,"position":14266,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.15.0"}
