Metadata-Version: 1.1
Name: asynces
Version: 0.0.1
Summary: asyncio driver for elasticsearch
Home-page: https://github.com/fabregas/asynces/
Author: Kostiantyn Andrusenko
Author-email: kksstt@gmail.com
License: Apache 2
Download-URL: https://pypi.python.org/pypi/asynces
Description: # asynces
        ### Asyncio driver for Elasticsearch
        
        **asynces** package provide AsyncElasticsearch class inherited from
        Elasticsearch class from official python driver
        [elasticsearch](https://elasticsearch-py.readthedocs.io/en/master/index.html)
        
        All methods from Elasticsearch class instance are available in AsyncElasticsearch
        class intance. Every API method returns [coroutine](https://docs.python.org/3/library/asyncio-task.html#coroutines)
        that must be awaited.
        
        For example:
        ```python
        import asyncio
        from asynces import AsyncElasticsearch
        
        async def test(loop):
            es = AsyncElasticsearch('http://127.0.0.1:9200/', loop=loop)
            ret = await es.search(index='my-index')
            print(ret)
            es.close()
        
        loop = asyncio.get_event_loop()
        loop.run_until_complete(test(loop))
        loop.close()
        ```
        
        ### Supported Python versions: 3.5+
Platform: POSIX
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.5
Classifier: Operating System :: OS Independent
Classifier: Topic :: System :: Networking
Classifier: Topic :: System :: Distributed Computing
Classifier: Development Status :: 4 - Beta
