Skip to main content

Integrates official client for Elasticsearch into Flask

Project description

Integrates the official [Python low-level client for Elasticsearch](https://github.com/elasticsearch/elasticsearch-py) into Flask.

Installation

Flask-Elastic is pip installable:

$ pip install Flask-Elastic

Configure

The only configuration is ELASTICSEARCH_URL, defaults to localhost:9200

Usage

Import the extension into your Flask project and initialise:

from flask.ext.elastic import Elastic

elastic = Elastic(app)

Development

Source code is hosted on [GitHub](https://github.com/bbmogool/flask-elastic) (contributions are welcome).

Project details


Download files

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

Source Distribution

Flask-Elastic-0.1.tar.gz (2.1 kB view hashes)

Uploaded Source

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