Functional, composable, asynchronous, type-safe Python.
MIT License
Bot releases are visible (Hide)
Published by suned 11 months ago
Published by suned over 2 years ago
Published by suned almost 3 years ago
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)pfun.Intersection
type that enables type inference (#94)pfun.DefaultModules
module provider for pfun
provided live modules (Files
, Clock
, Random
, Console
)pfun.effect.combine
mypy plugin hook (#92)pfun.maybe
(#91)sequence
to gather
(#95)pfun.ref
to pfun.state
(#96)Published by suned about 3 years ago
pfun
now supports lenses through pfun.lens
(#86)Published by suned over 3 years ago
pfun.effect
are now initialized lazily to support running on AWS Lambda (#85)Published by suned over 3 years ago
pfun.hypothesis_strategies
pfun.operator
modulePublished by suned over 3 years ago
pfun.effect
is now implemented in Cython, which greatly improves trampoline interpretation speedpfun.maybe
and pfun.either
are now both tagged unions implemented through __bool__
, which allows you to narrow the type using if
statements instead of the more verbose isinstance
aiohttp
dependency version is increased to 3.7.4 to avoid open redirect vulnerability
Published by suned over 3 years ago
effect.Resource
would not properly close resourcesPublished by suned over 3 years ago
pfun.files.read_byte
with missing r
parameter to open
(@thomhickey )Published by suned about 4 years ago
pfun.effect.catch
to accept async functionsPublished by suned about 4 years ago
pfun.aio_trampoline.sequence
(and thereby also of pfun.effect
)Published by suned about 4 years ago
pfun.either.sequence
significantly faster by reducing number of internal callbacks instantiatedpfun.Either
Published by suned about 4 years ago
pfun.functions.curry
decorated functions. Fixes a bug with generic functions, and makes it possible to curry functions with variadic and optional argsmap_m
to for_each
filter_m
to filter_
get_environment
to depend
Published by suned about 4 years ago
Published by suned over 4 years ago
pfun.effect.sql
for working with postgres databases without with Effect
resource_factory
in pfun.effect.Resource
to fail by returning an Either
Published by suned over 4 years ago
pfun.effect.http
module for making http requestspfun.effect.effect.Resource
for managing context managers in effectsPublished by suned over 4 years ago
pfun.effect.logging
which enables logging using Effect
and the built-in logging modulePublished by suned over 4 years ago
pfun.effect
module as a unified effect systemMonoid
ABC to use __add__
rather than append
as the binary operation to avoid collision with List.append
Published by suned about 5 years ago