Useful general purpose functions and classes, used by Davte.
pip install davteutil==1.0.5
This project provides convenient general-purpose functions, used by Davte in his projects.
Please note that you need Python3.5+ to run async code
import asyncio
from davteutil.utilities import async_get, async_post
async def main():
url = 'http://www.google.com'
result = await async_get(url, mode='html')
print(result)
loop = asyncio.get_event_loop()
loop.run_until_complete(main())