Metadata-Version: 2.1
Name: async_services
Version: 1.0.0
Summary: Synchronus Wrapper for Async Code
Home-page: https://github.com/gekco/async_services
Author: Ankit Kathuria
Author-email: ankitkathuria534@gmail.com
License: MIT
Description: Run fast asynchronous code from a synchronous code. Async Services provide a synchronous wrapper to run third party asynchronous code or any
        coroutine for that matter in a synchronous way from a synchronous code.
        
        Installation :
        
        pip install async_services
        
        Example Usage:
        from async_services.core import run_coro
        
        async def coroutine(seconds=1, raise_exception=False):
            await asyncio.sleep(seconds)
            if raise_exception:
                raise Exception("Sample Exception")
            return "Hello World"
        
        result = run_coro(coroutine(), block=True)
        print(result)
        assert result[0] == CoroStatus.Completed
        assert result[1] == "Hello World"
        
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
