Aiostream

Latest version: v0.6.1

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

Scan your dependencies

Page 1 of 4

0.6.1

Changes:

- Fix documentation build (https://github.com/vxgmichel/aiostream/commit/42f9119359fbdeb09636bcd68b93a1861157f8dd)
- Expose `Stream` and `sources_operator` in the aiostream package (https://github.com/vxgmichel/aiostream/commit/e029efd2a141ed8a233fc7b8fc4e8c9e1d3fe534)

0.6.0

Changes:

* Support python 3.12 (PR https://github.com/vxgmichel/aiostream/pull/93)
* Support pyright and improve typing in general (PR https://github.com/vxgmichel/aiostream/pull/99)
* Move from `setup.*` to `pyproject.toml` (PR 101, 102, 103, 110)
* Add typing to `aiostream.test_utils` (PR 104)
* Make operators a singleton object instead of a class (PR 106)
* Add sources operator to fix a [breaking change in v0.5.x](https://github.com/vxgmichel/aiostream/releases/tag/v0.5.0) (PR #108, issue 95)

Thanks to hf-kklein for the valuable contributions :)

0.5.2

Changes:

- Properly expose pipe methods in `aiostream.pipe` (PR 88, issue 87)

> [!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.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

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.