{"id":25595394,"url":"https://github.com/aio-libs/aioelasticsearch","last_synced_at":"2025-04-05T16:10:21.209Z","repository":{"id":44683085,"uuid":"84354630","full_name":"aio-libs/aioelasticsearch","owner":"aio-libs","description":"aioelasticsearch-py wrapper for asyncio","archived":false,"fork":false,"pushed_at":"2023-02-10T23:08:06.000Z","size":260,"stargazers_count":139,"open_issues_count":29,"forks_count":41,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-05-09T21:55:01.579Z","etag":null,"topics":["aiohttp","asyncio","elasticsearch"],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/aioelasticsearch","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aio-libs.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-03-08T18:46:07.000Z","updated_at":"2024-04-23T00:15:46.000Z","dependencies_parsed_at":"2024-01-30T00:55:31.605Z","dependency_job_id":null,"html_url":"https://github.com/aio-libs/aioelasticsearch","commit_stats":{"total_commits":253,"total_committers":17,"mean_commits":"14.882352941176471","dds":0.6482213438735178,"last_synced_commit":"81b6ae343489cefe84b1d77f758315e6d0bff3c2"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aio-libs%2Faioelasticsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aio-libs%2Faioelasticsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aio-libs%2Faioelasticsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aio-libs%2Faioelasticsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aio-libs","download_url":"https://codeload.github.com/aio-libs/aioelasticsearch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361695,"owners_count":20926643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aiohttp","asyncio","elasticsearch"],"created_at":"2025-02-21T11:20:58.984Z","updated_at":"2025-04-05T16:10:21.170Z","avatar_url":"https://github.com/aio-libs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"aioelasticsearch\n================\n\n:info: elasticsearch-py wrapper for asyncio\n\n.. image:: https://img.shields.io/travis/aio-libs/aioelasticsearch.svg\n    :target: https://travis-ci.org/aio-libs/aioelasticsearch\n\n.. image:: https://img.shields.io/pypi/v/aioelasticsearch.svg\n    :target: https://pypi.python.org/pypi/aioelasticsearch\n\n.. image:: https://codecov.io/gh/aio-libs/aioelasticsearch/branch/master/graph/badge.svg\n  :target: https://codecov.io/gh/aio-libs/aioelasticsearch\n\nInstallation\n------------\n\n.. code-block:: shell\n\n    pip install aioelasticsearch\n\nUsage\n-----\n\n.. code-block:: python\n\n    import asyncio\n\n    from aioelasticsearch import Elasticsearch\n\n    async def go():\n        es = Elasticsearch()\n\n        print(await es.search())\n\n        await es.close()\n\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(go())\n    loop.close()\n\nFeatures\n--------\n\nAsynchronous `scroll \u003chttps://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html\u003e`_\n\n.. code-block:: python\n\n    import asyncio\n\n    from aioelasticsearch import Elasticsearch\n    from aioelasticsearch.helpers import Scan\n\n    async def go():\n        async with Elasticsearch() as es:\n            async with Scan(\n                es,\n                index='index',\n                doc_type='doc_type',\n                query={},\n            ) as scan:\n                print(scan.total)\n\n                async for doc in scan:\n                    print(doc['_source'])\n\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(go())\n    loop.close()\n\nThanks\n------\n\nThe library was donated by `Ocean S.A. \u003chttps://ocean.io/\u003e`_\n\nThanks to the company for contribution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faio-libs%2Faioelasticsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faio-libs%2Faioelasticsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faio-libs%2Faioelasticsearch/lists"}