Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

This library provides python Flask utilities and static assets for rendering Swagger UI

Project Description
This library provides python Flask utilities and static assets for rendering Swagger UI.

# Example

```python
from flask import Flask, jsonify

from flask_swaggerui import render_swaggerui, build_static_blueprint

app = Flask(__name__)


@app.route('/')
def root():
return render_swaggerui(swagger_spec_path="/spec")


@app.route('/spec')
def spec():
return jsonify({"some swagger": "spec stuff"})


# Adds static assets for swagger-ui to path
app.register_blueprint(build_static_blueprint("swaggerui", __name__))

if __name__ == "__main__":
app.run(port=8080, debug=True)
```
Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
flask_swaggerui-0.0.1-py2.py3-none-any.whl (740.1 kB) Copy SHA256 Checksum SHA256 3.5 Wheel Jun 17, 2016
flask-swaggerui-0.0.1.tar.gz (722.6 kB) Copy SHA256 Checksum SHA256 Source Jun 17, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting