Pfun

Latest version: v0.13.2

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

Scan your dependencies

Page 1 of 4

0.13.2

Features
- Support Python 3.11 (contributed by sdaves) (125)

0.13.0

Features:
- More methods for combining effects asynchronously (93)
- `Effect.race` method which allows racing effects against each other asynchronously (94)
- `Effect.timeout` method which allows timing out effects (94)
- `Effect.retry` and `Effect.repeat` which allows retrying or repeating effects according to a schedule (94)
- `pfun.schedule` for building schedules (94)
- `pfun.random` for random number generation as an effect (94)
- `pfun.clock` for getting system time and sleeping as an effect (94)
- More flexible `pfun.Intersection` type that enables type inference (94)
- `pfun.DefaultModules` module provider for `pfun` provided live modules (`Files`, `Clock`, `Random`, `Console`)

Fixes
- Support variadic arguments to `pfun.effect.combine` mypy plugin hook (92)
- Improve typing of `pfun.maybe` (91)

Other
- Rename `sequence` to `gather`(95)
- Rename `pfun.ref` to `pfun.state` (96)

0.12.3

Features
- `pfun` now supports lenses through `pfun.lens` (86)

0.12.2

Fixes
- Process and thread pool executors of `pfun.effect` are now initialized lazily to support running on AWS Lambda (85)

0.12.1

- Hypothesis strategies are now published in the module `pfun.hypothesis_strategies`
- Adds curried, type-safe operators in the `pfun.operator` module

0.12.0

Features
- `pfun.effect` is now implemented in Cython, which greatly improves trampoline interpretation speed
- `pfun.maybe` and `pfun.either` are now both [tagged unions](https://mypy.readthedocs.io/en/stable/literal_types.html#tagged-unions) implemented through `__bool__`, which allows you to narrow the type using `if` statements instead of the more verbose `isinstance`

Fixes
- `aiohttp` dependency version is increased to 3.7.4 to avoid [open redirect vulnerability](https://github.com/advisories/GHSA-v6wp-4m6f-gcjg)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.