Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

asyncio driver for elasticsearch

Project Description

# asynces
[![Build Status](](

### Asyncio driver for Elasticsearch and Python 3.5+

Its goal is to create an asyncio transport for the official elasticsearch python driver.

The **asynces** package provides the AsyncElasticsearch class inherited from
the Elasticsearch class (see [elasticsearch](

All methods from the Elasticsearch class instance (see [API doc](
are available in the AsyncElasticsearch class instance.

Each API method returns [coroutine]( that must be awaited.

Example of asynces usage:
import asyncio
from asynces import AsyncElasticsearch

async def test(loop):
es = AsyncElasticsearch('', loop=loop)
doc = {'hello': 'world'}
await es.index(index='my-index', doc_type='test', body=doc, refresh=False)
await es.indices.refresh(index="my-index")
ret = await'my-index')

loop = asyncio.get_event_loop()

## Installation

First, you should install the latest version of [elasticsearch](
compatible with your elasticsearch server version.

After that you should install asynces package:

> pip install asynces

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(10.0 kB) Copy SHA256 Hash SHA256
Source None Feb 22, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers