Giter VIP home page Giter VIP logo

adumrewal / python-production-server Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 3.0 27 KB

A boiler plate python production server using elasticsearch, elasticAPM, Docker and flask. Modular code with all the necessary code for setup and easily configurable based on usecase.

License: Apache License 2.0

Python 98.97% Dockerfile 1.03%
python production server flask elastic elasticsearch elasticapm elastic-apm logging python-logging

python-production-server's Introduction

Python Production Server

  • Flask ✅
  • Elasticsearch ✅
  • ElasticAPM ✅
  • MongoDB ✅
  • Redis cache ✅
  • S3 ✅
  • SQL 🚧
  • Docker ✅
  • Logging ✅
  • Config files ✅

Dependencies

  • Flask: 2.0.1
  • Flask_RESTful: 0.3.9
  • Elasticsearch: 7.13.4 (I recommend not using 7.14.x as of now. There are some issues with that version when using with python client.)
  • elastic_apm: 6.4.0
  • ecs_logging: 1.0.1
  • blinker: 1.4 (indirect import. pip install this incase you face any issues with elasticapm dependencies)

How to run

Raw flask server

pip install requirements.txt
python run.py

Docker

docker-compose build
docker-compose up

This will start running the server on localhost:5000

Detailed Readme coming soon...

python-production-server's People

Contributors

adumrewal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.