Skip to main content

Plugin for aiohttp with swagger support a

Project description

Jibrel aiohttp swagger plugin

Minimal aiohttp swagger UI plugin.

Features:

  • render swagger UI
  • add spec endpoint and serve provided yaml for UI
  • serve swagger UI static
  • optional spec version substitution from file content

Install

Last published release:

pip install jibrel-aiohttp-swagger

Dev version from git:

pip install git+https://github.com/jibrelnetwork/jibrel-aiohttp-swagger#egg=jibrel_aiohttp_swagger

Usage

from jibrel_aiohttp_swagger import setup_swagger
setup_swagger(app,
              spec_path='v1.swagger.yml',
              version_file_path='version.txt')

======= History

0.1.0 (2019-07-05)

  • First release on PyPI.

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

jibrel_aiohttp_swagger-0.1.0.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jibrel_aiohttp_swagger-0.1.0-py2.py3-none-any.whl (2.4 MB view details)

Uploaded Python 2Python 3

File details

Details for the file jibrel_aiohttp_swagger-0.1.0.tar.gz.

File metadata

  • Download URL: jibrel_aiohttp_swagger-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

File hashes

Hashes for jibrel_aiohttp_swagger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 69aefccf0586210e4163d63c76b7160abebb544af1fd5c97e7f29901e1df46b3
MD5 f280cf8eb5c2e059fd5a0fd0b938cd51
BLAKE2b-256 25ba7d7f71899ed5221c62195c83994a2f7c8ecc7e888b6b573e9fcf3cc8b7ff

See more details on using hashes here.

File details

Details for the file jibrel_aiohttp_swagger-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: jibrel_aiohttp_swagger-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

File hashes

Hashes for jibrel_aiohttp_swagger-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9a9faa78f4234abba514ff8fc2e8fd70a193792ef548586584a1d8c36ad5e7a9
MD5 e7b1f851747ce5f7491637cad57e8fb0
BLAKE2b-256 7bba14aad0afa445eb13c635c6fe4753f89a06062528f122b16052c44c3e6825

See more details on using hashes here.

Supported by

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