Skip to main content

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

  1. Connexion: An instance of connexion
  2. flask: An instance of flask created by connexion
  3. app: Same as flask instance.
  4. postgress_session_factory: Binds the Postgres SQLAlchemy session context to Flask
  5. connexion_error_handler: An instance of the ConnexionErrorHandler used for serializing errors
  6. 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 is 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

microcosm_connexion-1.0.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

microcosm_connexion-1.0.0-py2.py3-none-any.whl (5.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file microcosm_connexion-1.0.0.tar.gz.

File metadata

  • Download URL: microcosm_connexion-1.0.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

Hashes for microcosm_connexion-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1e3064cb6735118b896578a7f5e11ac2b414c836771bdce4b90dfa14c2892478
MD5 bf2406ca64a9662aff0eb9f754a3e01c
BLAKE2b-256 668a19ee3513b811900d3e9d6d18f28b5a2dbc24a34bd1ed0412bac26ac8b409

See more details on using hashes here.

File details

Details for the file microcosm_connexion-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: microcosm_connexion-1.0.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

Hashes for microcosm_connexion-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7854687497e66414e9218f044d8ea12bbb8a5fd56e1293c1da229422c4e7179b
MD5 18262afcbbce44d6c688e15cae5b255e
BLAKE2b-256 4ad7ea8c892e2984a615d8330a50df2314b00278852032ab6dab33d8d7686c8c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page