forked from pallets/flask
-
Notifications
You must be signed in to change notification settings - Fork 3
A fork of flask to support asyncio
License
mrdon/flask
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
// Flask Async// web development, one drop at _any_ time ~ What is Flask? Flask is a microframework for Python based on Werkzeug and Jinja2. It's intended for getting started very quickly and was developed with best intentions in mind. ~ What is Flask Async? It's a fork of Flask to run on Python 3.3+ using asyncio. It supports both sync and async web applications. ~ What do I need? Just Jinja 2.4. A fork of Werkzeug is included. ~ What does it look like? Pretty much what a Flask app looks like: from asyncio import coroutine, sleep from flask import Flask, request app = Flask(__name__) @app.route("/hello/<string:name>") @coroutine def say_hi(name): yield from sleep(2) return "it worked %s" % request.args.get("name", name) app.run()
About
A fork of flask to support asyncio
Resources
License
Security policy
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Python 98.3%
- Other 1.7%