Core libraries and modules for flask projects.
Project description
GWX Core
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gwx-core-0.0.7.tar.gz
(5.1 kB
view details)
File details
Details for the file gwx-core-0.0.7.tar.gz
.
File metadata
- Download URL: gwx-core-0.0.7.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5110803b787e70cb96b867a7d18f75cd9f4424abfe0e9a2a603df9d9a9bd3f11 |
|
MD5 | 2923c2edbdc268ac96c666b7ea7e4e36 |
|
BLAKE2b-256 | acd9934346a3268f90b1fc3c4cbb44699ed1f1e113a3b46ccada62bcdc5576c3 |