Superfunctions: A universal solution against sync/async fragmentation in Python
This library is designed to solve one of the most important problems in python programming - dividing all written code into 2 camps: sync and async. We get rid of code duplication by using templates. Table of contents Quick start Install it: pip install transfunctions And use: from asyncio import run from transfunctions import ( transfunction , sync_context , async_context , generator_context , ) @ transfunction def template (): print ( 'so, ' , end = '' ) with sync_context : print ( "it's