Metadata-Version: 2.1
Name: layab
Version: 1.4.0
Summary: Provide helper for REST API related stuff.
Home-page: https://colin-b.github.io/layab/
Author: Colin Bounouar
Author-email: colin.bounouar.dev@gmail.com
Maintainer: Colin Bounouar
Maintainer-email: colin.bounouar.dev@gmail.com
License: MIT
Download-URL: https://pypi.org/project/layab/
Project-URL: GitHub, https://github.com/Colin-b/layab
Project-URL: Changelog, https://github.com/Colin-b/layab/blob/master/CHANGELOG.md
Project-URL: Issues, https://github.com/Colin-b/layab/issues
Keywords: flask
Platform: Windows
Platform: Linux
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: flask-restplus (==0.13.*)
Requires-Dist: PyYAML (==5.*)
Requires-Dist: flask-cors (==3.*)
Requires-Dist: flask-compress (==1.*)
Provides-Extra: testing
Requires-Dist: pytest-flask (==0.15.*) ; extra == 'testing'
Requires-Dist: pytest-cov (==2.*) ; extra == 'testing'

<h2 align="center">Layab: Wonderful REST API</h2>

<p align="center">
<a href="https://pypi.org/project/layab/"><img alt="pypi version" src="https://img.shields.io/pypi/v/layab"></a>
<a href="https://travis-ci.org/Colin-b/layab"><img alt="Build status" src="https://api.travis-ci.org/Colin-b/layab.svg?branch=develop"></a>
<a href="https://travis-ci.org/Colin-b/layab"><img alt="Coverage" src="https://img.shields.io/badge/coverage-100%25-brightgreen"></a>
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
<a href="https://travis-ci.org/Colin-b/layab"><img alt="Number of tests" src="https://img.shields.io/badge/tests-49 passed-blue"></a>
<a href="https://pypi.org/project/layab/"><img alt="Number of downloads" src="https://img.shields.io/pypi/dm/layab"></a>
</p>

Layab stands for Wonderful in Somali and is also a shortcut for Layabout (we all are).

This package provides the following features:

## YAML Configuration ##

API configuration and logging configuration can be standardized.

### Loading configuration ###

```python
import layab

# Load logging and service configuration
service_configuration = layab.load('path/to/a/file/in/module/folder')
```

## Flask RestPlus ##

The way your REST API behaves can be standardized

### Default behavior ###

Importing layab will make sure that every flask request is logged on reception. 

```python
import layab
```

## How to install
1. [python 3.6+](https://www.python.org/downloads/) must be installed
2. Use pip to install module:
```sh
python -m pip install layab
```


