Code Monkey home page Code Monkey logo

pyruc's Introduction

PyRuc (Python Redis Users Controller)

PyRuc is the service for maintaining new and existing users accounts

Coverage Status Codacy Badge GitHub license Release Status

Python Status
3.5 Build Status
3.6 Build Status
What do you get out of the box?
  • User's account maintenance in mode of persistent storage use
  • Granting access to your internal services
  • Rapid recovery access in case of loss of control
Requirements
  • Python >= 3.5
  • Redis >= 4
Implemented
  • Gunicorn WSGI
  • Gevent as default async worker for Gunicorn
  • Python flask
  • Twilio SMS notifier
  • Logstash client as logs filter to Elastic
  • JWT authentication
  • Redis as persistent user's storage
Configuration
/app/env/development.env
/app/env/production.env
Installation
  • Docker
# ENV development: using /app/env/development.env
> docker-compose --file docker-compose.dev.yml up --build

# ENV production: using /app/env/production.env
> docker-compose --file docker-compose.prod.yml up --build
  • Manualy & Run
> cd app
> pip install -r requirements.txt
> gunicorn -c config.py server --reload
Try API

http://drunk-start.surge.sh

Diagrams

Registration Authentication Restore

Tests

> cd app && coverage run setup.py test

pyruc's People

Stargazers

 avatar  avatar

Watchers

 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.