Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
:info: elasticsearch-py wrapper for asyncio
.. image:: https://img.shields.io/travis/aio-libs/aioelasticsearch.svg :target: https://travis-ci.org/aio-libs/aioelasticsearch
.. image:: https://img.shields.io/pypi/v/aioelasticsearch.svg :target: https://pypi.python.org/pypi/aioelasticsearch
.. image:: https://codecov.io/gh/aio-libs/aioelasticsearch/branch/master/graph/badge.svg :target: https://codecov.io/gh/aio-libs/aioelasticsearch
.. code-block:: shell
pip install aioelasticsearch
.. code-block:: python
import asyncio
from aioelasticsearch import Elasticsearch
async def go():
es = Elasticsearch()
print(await es.search())
await es.close()
loop = asyncio.get_event_loop()
loop.run_until_complete(go())
loop.close()
Asynchronous scroll <https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html>
_
.. code-block:: python
import asyncio
from aioelasticsearch import Elasticsearch
from aioelasticsearch.helpers import Scan
async def go():
async with Elasticsearch() as es:
async with Scan(
es,
index='index',
doc_type='doc_type',
query={},
) as scan:
print(scan.total)
async for doc in scan:
print(doc['_source'])
loop = asyncio.get_event_loop()
loop.run_until_complete(go())
loop.close()
The library was donated by Ocean S.A. <https://ocean.io/>
_
Thanks to the company for contribution.
FAQs
elasticsearch-py wrapper for asyncio
We found that aioelasticsearch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.