gwx-core

Core libraries and modules for flask projects.


License
MIT
Install
pip install gwx-core==0.0.7

Documentation

Is a collection of reusable tools and libraries that can be used within your flask projects.


Dependencies

  • Python 3.7^
  • Flask Restplus 0.13^

Installation

Install the package using pip, by executing:

pip install -U gwx-core

Quick start

Import the Response Module, this will handle the formatting of your responses for your flask_restplus routes.

from gwx_core.utils import response

class User(Resource):
    def get(self):
        return response.success('Success', {'key': 'value'}, {'SAMPLE-HEADER': 'header value'})

Usage Documentation

To be added on beta release.