GithubHelp home page GithubHelp logo

cnsam2012 / elastic_py Goto Github PK

View Code? Open in Web Editor NEW

This project forked from girishsaraf/elastic_py

0.0 0.0 0.0 37 KB

PoC for setting up an ElasticSearch Cluster, to serve APIs built in Flask

Python 100.00%

elastic_py's Introduction

ElasticSearch PoC

This is a basic PoC for setting up ElasticSearch from Scratch in a machine and APIs to Insert and Retrieve data from the ES instance

Inspiration

Elasticsearch is a distributed, free and open search and analytics engine for all types of data, including textual, numerical, geospatial, structured, and unstructured. -- The ElasticSearch Team But the primary issue is that many people are unaware how this can be used in existing web applications This is a lightweight application which will store the data on ES cluster and then retrieve using ES - Python Queries

Technologies Used:

  • Python Flask
  • ElasticSearch
  • Docker

Ensure to allocate more than 4 GB of space for docker, to ensure that the elastic cluster starts without fail

Machine:

MacOS 11

Some Useful Links:

Setup

This is done using ES 7+ and Python 3.7.5

Getting started

  • Steps for setting up on your machine
  1. Pull the latest code from main branch
  2. Create a python virtualenv
  3. Install packages mentioned in requirements.txt
  4. Use docker-compose up to create the ES container
  5. Run flask_app.py to get started
  6. api contains the python APIs for accessing ES using python

elastic_py's People

Contributors

girishsaraf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.