Skip to main content

An opinionated Elasticsearch bulk indexer for Python.

Project description

py-es-bulk

A simple wrapper around elasticsearch-py client streaming_bulk() API with robust error handling.

This library is designed to work across various versions of the elasticsearch Python module and of the Elasticsearch server, as well as Elasticsearch V1 with the elasticsearch1 Python module.

These names are available for import:

  • put_template

    Push a document template to the server using a specified Elasticsearch object. This module will determine whether a template document of the same name and version already exists, and PUT the new template if not.

  • streaming_bulk

    Push multiple source documents to Elasticsearch indices, using proper error handling and retry logic.

  • parallel_bulk

    Push multiple source documents to Elasticsearch indices in parallel across multiple threads, using proper error handling and retry logic.

  • TemplateException

    This exception is raised by put_template when a template document does not contain the required version metadata ({"_meta": {"version": }}); or, when multiple template documents are included in a single call to put_template, if the versions of those documents are not all identical.

See also https://pypi.org/project/pyesbulk/.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyesbulk-2.0.1-py3-none-any.whl (25.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page