Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
3 of 219 committers (1.4%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.7%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Official Python client for Elasticsearch
Basic Info
- Host: GitHub
- Owner: elastic
- License: apache-2.0
- Language: Python
- Default Branch: main
- Homepage: https://ela.st/es-python
- Size: 13.3 MB
Statistics
- Stars: 4,326
- Watchers: 414
- Forks: 1,198
- Open Issues: 63
- Releases: 93
Topics
Metadata Files
README.md
Elasticsearch Python Client
The official Python client for Elasticsearch.
Features
- Translating basic Python data types to and from JSON
- Configurable automatic discovery of cluster nodes
- Persistent connections
- Load balancing (with pluggable selection strategy) across available nodes
- Failed connection penalization (time based - failed connections won't be retried until a timeout is reached)
- Support for TLS and HTTP authentication
- Thread safety across requests
- Pluggable architecture
- Helper functions for idiomatically using APIs together
Installation
Download the latest version of Elasticsearch or sign-up for a free trial of Elastic Cloud.
Refer to the Installation section of the getting started documentation.
Connecting
Refer to the Connecting section of the getting started documentation.
Usage
- Creating an index
- Indexing a document
- Getting documents
- Searching documents
- Updating documents
- Deleting documents
- Deleting an index
Compatibility
Language clients are forward compatible: each client version works with equivalent and later minor versions of Elasticsearch without breaking.
Compatibility does not imply full feature parity. New Elasticsearch features are supported only in equivalent client versions. For example, an 8.12 client fully supports Elasticsearch 8.12 features and works with 8.13 without breaking; however, it does not support new Elasticsearch 8.13 features. An 8.13 client fully supports Elasticsearch 8.13 features.
| Elasticsearch version | elasticsearch-py branch | | --- | --- | | main | main | | 9.x | 9.x | | 9.x | 8.x | | 8.x | 8.x |
Elasticsearch language clients are also backward compatible across minor versions — with default distributions and without guarantees.
[!TIP] To upgrade to a new major version, first upgrade Elasticsearch, then upgrade the Python Elasticsearch client.
If you need to work with multiple client versions, note that older versions are also released as elasticsearch7 and elasticsearch8.
Documentation
Documentation for the client is available on elastic.co and Read the Docs.
Try Elasticsearch and Kibana locally
If you want to try Elasticsearch and Kibana locally, you can run the following command:
bash
curl -fsSL https://elastic.co/start-local | sh
This will run Elasticsearch at http://localhost:9200 and Kibana at http://localhost:5601.
More information is available here.
Contributing
See CONTRIBUTING.md
License
This software is licensed under the Apache License 2.0. See NOTICE.
Owner
- Name: elastic
- Login: elastic
- Kind: organization
- Email: info@elastic.co
- Website: https://www.elastic.co/
- Repositories: 844
- Profile: https://github.com/elastic
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Honza Král | h****l@g****m | 793 |
| Seth Michael Larson | s****n@e****o | 293 |
| Quentin Pradet | q****t@e****o | 128 |
| Nick Lang | n****k@n****m | 62 |
| Elastic Machine | e****e | 57 |
| Miriam Eid | 9****d | 29 |
| Miguel Grinberg | m****g@g****m | 26 |
| István Zoltán Szabó | i****o@e****o | 20 |
| P. Sai Vinay | 3****8 | 12 |
| Jason Veatch | j****h@g****m | 10 |
| Colleen McGinnis | c****s@e****o | 9 |
| Boaz Leskes | b****s@g****m | 6 |
| Iulia Feroli | i****i@g****m | 6 |
| Patryk Krawaczyński | n****c | 6 |
| Philip Krauss | 3****a | 5 |
| Josh Mock | j****k@e****o | 5 |
| Liam Thompson | 3****o | 5 |
| Russell Savage | r****e@e****m | 5 |
| Xiaodong | x****g@h****m | 4 |
| Nigel Small | n****l@e****o | 4 |
| Michael Schier | s****e@g****m | 4 |
| Fabrice Bacchella | f****a@o****r | 4 |
| Annie Hansen | a****e@e****o | 4 |
| Glen Smith | g****b@s****m | 4 |
| epiphyte | e****e@v****k | 3 |
| Dmitri Vasilishin | v****o@g****m | 3 |
| Xiuming Chen | cc@c****c | 3 |
| Martijn Laarman | M****z@g****m | 3 |
| Joshua Carp | j****p@g****m | 3 |
| Jan Calanog | n****g@g****m | 3 |
| and 189 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 187
- Total pull requests: 1,209
- Average time to close issues: 4 months
- Average time to close pull requests: 12 days
- Total issue authors: 163
- Total pull request authors: 66
- Average comments per issue: 2.89
- Average comments per pull request: 0.86
- Merged pull requests: 1,004
- Bot issues: 1
- Bot pull requests: 390
Past Year
- Issues: 46
- Pull requests: 628
- Average time to close issues: 5 days
- Average time to close pull requests: 3 days
- Issue authors: 41
- Pull request authors: 23
- Average comments per issue: 1.48
- Average comments per pull request: 0.64
- Merged pull requests: 517
- Bot issues: 0
- Bot pull requests: 228
Top Authors
Issue Authors
- pquentin (6)
- honzakral (4)
- redbaron4 (3)
- dej611 (3)
- sethmlarson (3)
- ArtemIsmagilov (2)
- ctrl-Felix (2)
- b-deam (2)
- mortenb-buypass (2)
- artem-shelkovnikov (2)
- rishabh208gupta (2)
- floxay (2)
- kloczek (2)
- qfliu (2)
- omriel1 (2)
Pull Request Authors
- github-actions[bot] (388)
- pquentin (304)
- elasticmachine (241)
- miguelgrinberg (70)
- colleenmcginnis (18)
- szabosteve (17)
- iuliaferoli (13)
- leemthompo (10)
- sethmlarson (8)
- Mpdreamz (8)
- marciw (8)
- anniegale9538 (8)
- maxjakob (8)
- reakaleek (8)
- JoshMock (8)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 11
-
Total downloads:
- pypi 42,908,499 last-month
- Total docker downloads: 1,118,088,543
-
Total dependent packages: 476
(may contain duplicates) -
Total dependent repositories: 16,185
(may contain duplicates) - Total versions: 395
- Total maintainers: 7
pypi.org: elasticsearch
Python client for Elasticsearch
- Homepage: https://github.com/elastic/elasticsearch-py
- Documentation: https://elasticsearch-py.readthedocs.io/
- License: Apache Software License
-
Latest release: 9.1.0
published 7 months ago
Rankings
Maintainers (4)
pypi.org: elasticsearch5
Python client for Elasticsearch
- Homepage: https://github.com/elastic/elasticsearch-py
- Documentation: https://elasticsearch5.readthedocs.io/
- License: Apache License, Version 2.0
-
Latest release: 5.5.6
published over 6 years ago
Rankings
pypi.org: elasticsearch7
Python client for Elasticsearch
- Homepage: https://github.com/elastic/elasticsearch-py
- Documentation: https://elasticsearch-py.readthedocs.io
- License: Apache-2.0
-
Latest release: 7.17.12
published over 1 year ago
Rankings
pypi.org: elasticsearch2
Python client for Elasticsearch
- Homepage: https://github.com/elastic/elasticsearch-py
- Documentation: https://elasticsearch2.readthedocs.io/
- License: Apache License, Version 2.0
-
Latest release: 2.5.1
published over 6 years ago
Rankings
pypi.org: elasticsearch6
Python client for Elasticsearch
- Homepage: https://github.com/elastic/elasticsearch-py
- Documentation: https://elasticsearch6.readthedocs.io/
- License: Apache-2.0
-
Latest release: 6.8.2
published almost 5 years ago
Rankings
pypi.org: elasticsearch1
Python client for Elasticsearch 1.x
- Homepage: https://github.com/elastic/elasticsearch-py
- Documentation: https://elasticsearch1.readthedocs.io/
- License: Apache License, Version 2.0
-
Latest release: 1.10.0
published over 9 years ago
Rankings
Maintainers (1)
conda-forge.org: elasticsearch
- Homepage: https://github.com/elastic/elasticsearch-py
- License: Apache-2.0
-
Latest release: 8.4.3
published over 3 years ago
Rankings
proxy.golang.org: github.com/elastic/elasticsearch-py
- Documentation: https://pkg.go.dev/github.com/elastic/elasticsearch-py#section-documentation
- License: apache-2.0
-
Latest release: v9.1.0+incompatible
published 7 months ago
Rankings
spack.io: py-elasticsearch
Python client for Elasticsearch
- Homepage: https://github.com/elastic/elasticsearch-py
- License: []
-
Latest release: 8.6.2
published almost 3 years ago
Rankings
Maintainers (1)
pypi.org: elasticsearch7-compatible
- Documentation: https://elasticsearch-py.readthedocs.io
- License: Apache Software License
-
Latest release: 10.0.1
published 11 months ago
Rankings
Maintainers (1)
anaconda.org: elasticsearch
Official low-level client for Elasticsearch. Its goal is to provide common ground for all Elasticsearch-related code in Python; because of this it tries to be opinion-free and very extendable.
- Homepage: https://github.com/elastic/elasticsearch-py
- License: Apache-2.0
-
Latest release: 8.17.0
published about 1 year ago
Rankings
Dependencies
- aiohttp *
- black *
- build *
- coverage *
- elastic-transport >=8.0.0b1,<9
- isort *
- jinja2 *
- mapbox-vector-tile *
- nox *
- numpy *
- pandas *
- pytest *
- pytest-asyncio *
- pytest-cov *
- python-dateutil *
- pyyaml >=5.4
- requests >=2,<3
- sphinx *
- twine *
- unasync *
- elasticsearch *
- tqdm *
- urllib3 *
- elastic-apm *
- elasticsearch *
- fastapi *
- uvicorn *
- aiohttp ==3.7.4.post0
- asgiref ==3.3.4
- async-timeout ==3.0.1
- attrs ==21.2.0
- certifi ==2021.5.30
- chardet ==4.0.0
- click ==8.0.1
- elastic-apm ==6.2.1
- elasticsearch ==7.13.1
- fastapi ==0.65.1
- h11 ==0.12.0
- idna ==3.2
- multidict ==5.1.0
- pydantic ==1.8.2
- starlette ==0.14.2
- typing-extensions ==3.10.0.0
- urllib3 ==1.26.5
- uvicorn ==0.14.0
- yarl ==1.6.3
- elastic-transport >=8,<9
- tibdex/backport 9565281eda0731b1d20c4025c43339fb0a23812e composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- python ${PYTHON_VERSION} build
- docker.elastic.co/apm/apm-server 7.6.2
- docker.elastic.co/elasticsearch/elasticsearch 7.6.2
- docker.elastic.co/kibana/kibana 7.6.2
- python ${PYTHON_VERSION} build
- elastic/docs/.github/actions/docs-preview master composite