Welcome to unasync, a project that can transform your asynchronous code into synchronous code.
Why are we doing it? - urllib3/urllib3#1335
pip install unasync
To use the unasync project you need to install the package and then create a _async folder where you will place the asynchronous code that you want to transform into synchronous code.
And then in your setup.py
place the following code.
And when you will build your package you will get your synchronous code in _sync folder.
https://unasync.readthedocs.io/en/latest/
License: Your choice of MIT or Apache License 2.0