Flusso

Latest version: v0.1.0

Safety actively analyzes 688178 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.0

We're excited to announce the release of version 0.1.0, which brings seamless handling of asynchronous operations to the Flusso library! This update makes it even more convenient to work with coroutines and improves the integration with Result instances.

Key features in this release:

- AsyncResult: A new AsyncResult class has been added, which wraps the Result instances and provides asynchronous counterparts for common Result methods, such as fmap, and_then, and or_else. This allows you to easily chain asynchronous operations and handle errors without the need for nested if statements or complex error handling.

- Do Notation for AsyncResult: To further simplify working with asynchronous operations, we've introduced a new Do Notation implementation for the AsyncResult class. This enables you to write more concise and readable code by using async with statements to chain multiple async functions and handle errors in a clean and elegant way.

- Updated Readme: The documentation has been updated to include detailed explanations and examples of the new features introduced in this release. This will help you get started with using AsyncResult and the new Do Notation in your projects right away!

We hope you enjoy the new features and find them useful in your projects. As always, we welcome your feedback and contributions. Happy coding!

0.0.1

This is the initial release of Flusso (v0.0.1), which is a Python library inspired by Rust's approach to safely handling exceptions and missing values.

Features included in this release:
- Option and Result types
- Do notation support for chained operations
- Decorators for handling Optional values and exceptions
- Type-safety and compatibility with mypy
- Pattern matching support

Please refer to the README for installation instructions and usage examples.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.