A python library that exposes microcosm factories for connexions
Project description
microcosm-connexion
Description:
A python library that exposes microcosm factories for connexion
Connexion is a python library that reads a open-api/swagger spec and binds methods for a class to the spec. This project provides the glue between microcosm projects and connexion. It provides the following components
- Connexion: An instance of connexion
- flask: An instance of flask created by connexion
- app: Same as flask instance.
- postgress_session_factory: Binds the Postgres SQLAlchemy session context to Flask
- connexion_error_handler: An instance of the ConnexionErrorHandler used for serializing errors
- configure_connexion_error_handler: Binds ConnexionErrorHandler to flask's generic error handler mechanism.
The reason for providing flask and app is to make sure that connexion's version of flask overrides [microcosm-flask]'s app.
Note: A cookiecutter would created to make it easy for app developers to quickly start building APIs.
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
Built Distribution
File details
Details for the file microcosm_connexion-0.6.0.tar.gz
.
File metadata
- Download URL: microcosm_connexion-0.6.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6d623221b8c8e580b283a4bb928f45b8635cea33e04fcc2ecd7e9b3c54037aa |
|
MD5 | 1ea2092e0b7760bd9b544deb4ec915ea |
|
BLAKE2b-256 | 45bc9b24a3895d28a5457aab1bb9e6abdbbb06890fcc6aa197419fb13af6a097 |
File details
Details for the file microcosm_connexion-0.6.0-py2.py3-none-any.whl
.
File metadata
- Download URL: microcosm_connexion-0.6.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6604cb4a81eaa708a90fd808084da06457681ae594d3d94050d8fed94b9e2a3 |
|
MD5 | 23e58bfbe52e597c900d8905b434fcbd |
|
BLAKE2b-256 | ac133be7091eba4375d4d199bb04b2a6b7cee473552b3b1f84ca7ce963fd88c4 |