Aiostream

Latest version: v0.6.4

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

Scan your dependencies

Page 2 of 4

0.5.1

Changes:

- Expose `pipable_operator` at package level (46ddb24)
- Modernize examples (a704e9a)

> [!WARNING]
> The `0.5.x` releases are affected by an unintentional breaking change, see the [v0.5.0](https://github.com/vxgmichel/aiostream/releases/tag/v0.5.0) release for more information.

0.5.0

Changes:

- Drop python 3.7 support
- Add type annotations (issue 36, PR 84)
- Add task_limit argument to action operator (issue 85, PR 86)

> [!WARNING]
> A breaking change has slipped into this release: The `merge`, `chain` and `ziplatest` operators used to work with no sources provided:
> python
> assert await (stream.merge() | pipe.list()) == []
> assert await (stream.chain() | pipe.list()) == []
> assert await (stream.ziplatest() | pipe.list()) == []
>
> This is no longer the case for releases `0.5.x`, where at least one async iterable has to be provided for those operators.
> This can be a problem for code that passes an arbitrary list of arguments to the operator, as this list might be empty.
> A workaround exists for the `merge` operator, which works by adding `stream.empty()` to the list of arguments:
> python
> args = []
> new_args = stream.empty(), *args
> assert await (stream.merge(*new_args) | pipe.list()) == []
>
> The `zip` operator should have also been affected, although the former version had a bug that caused an empty zip to block indefinitely.
>
> This change has been fixed in [v0.6.0](https://github.com/vxgmichel/aiostream/releases/tag/v0.6.0)

0.4.5

Build and upload a wheel package to PyPI

0.4.4

- Fix confusing traceback when calling wait_stream on a empty stream (issue 76, PR 77)
- Add support for python 3.10 and drop python 3.6 (issue 79, PR 80)

0.4.3

- Fix several issues with the task group (issue 73, PR 75)
- Fix "Task exception was never retrieved" warning (issue 71, PR 72)

0.4.2

- Add python 3.8 and 3.9 support (PR 63)
- Do not raise exceptions when cancelling an already finished task (issue 65, PR 66)
- Improve code quality (PR 67)

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.