Metadata-Version: 1.1
Name: retrying-async
Version: 1.0.0
Summary: Simple retrying for asyncio
Home-page: https://github.com/lxl0928/retrying_async
Author: OCEAN S.A. & Timi.long
Author-email: lixiaolong@smuer.cn
License: UNKNOWN
Description: async_retrying
        ==============
        
        :info: Simple retrying for asyncio
        
        Installation
        ------------
        
        .. code-block:: shell
        
            pip install async_retrying
        
        Usage
        -----
        
        .. code-block:: python
        
            import asyncio
        
            from retrying_async import retry
        
            counter = 0
        
            @retry
            async def fn():
                global counter
        
                counter += 1
        
                if counter == 1:
                    raise RuntimeError
        
            async def main():
                await fn()
        
            loop = asyncio.get_event_loop()
        
            loop.run_until_complete(main())
        
            assert counter == 2
        
            loop.close()
        
        
        Python 3.5+ is required
        
Keywords: asyncio,retrying
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
