# API Core

Core lib for building REST API in Python 3.

Documentation available at http://apicore.readthedocs.io/en/latest/

## Features

* Cross-origin resource sharing (CORS) ready
* Data caching with redis server or direct in memory
* Configuration file loader
* A simple Logger
* Raise exception conform to HTTP status codes
* Authorization using JSON Web Token(JWT) issued from an OpenID Connect provider
* OpenAPI 3.0 specification embedded with Swagger UI

# API Core

Core lib for building REST API in Python 3.

Documentation available at http://apicore.readthedocs.io/en/latest/

## Features

* Cross-origin resource sharing (CORS) ready
* Data caching with redis server or direct in memory
* Configuration file loader
* A simple Logger
* Raise exception conform to HTTP status codes
* Authorization using JSON Web Token(JWT) issued from an OpenID Connect provider
* OpenAPI 3.0 specification embedded with Swagger UI

## Release cheat sheet

* Update version in ``setup.py``.
* git
```
git checkout master
git merge -m "..." develop
git push
git tag x.y.z
git push --tags
```
* PyPI
```
python setup.py test
python setup.py sdist
twine upload dist/*
```
* Docker
```
cd docker
docker build -t meezio/apicore .
docker build -t meezio/apicore:x.y.z .
docker push meezio/apicore
```

Update readme : release commands
Update readme : release commands
