Portier authentication Python helpers that are asyncio-aware
The helpers work in much the same way as the ones in portier-python. Check the demos directory for usage examples.
- portier-python doesn't seem to work quite right with Redis as the cache backend, so there are a few Redis-specific modifications. This may change in the future.
- I expected the calls to cryptographic libraries to be blocking, but I saw no
improvement from running those calls in an
Executoras per https://docs.python.org/3/library/asyncio-eventloop.html#executor.