A structured parallelism library for Python

Stpr is a Python concurrency library. It simplifies asyncio programming significantly and adds useful concurrency tools, data structures, and functions that can be used to achieve highly scalable I/O.
Easily transform synchronous code to async code by simply decorating existing functions with the Stpr decorator.
with stpr.parallel: with stpr.seq: a() b() c() with stpr.seq: d() with stpr.parallel: e() f() g()