Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Flask extension for ESClient (elasticsearch client)

Project description

Flask-ESClient is a Flask extension for ESClient (elasticsearch client).

Here is an example:

from flask import Flask
from flask_esclient import ESClient

app = Flask(__name__)
app.config['ELASTICSEARCH_URL'] = 'http://localhost:9200/'
esclient = ESClient(app)

def add_document():
    # Construct the data dynamically
    data = {
      "title": "Some Title",
      "content": "Some content",
                              docid=1) # docid should be dynamically changed

Project details

Download files

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

Files for Flask-ESClient, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size Flask-ESClient-0.1.1.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page