Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for Flask (0.23 sec)

  1. docs/de/docs/advanced/wsgi.md

    # WSGI inkludieren – Flask, Django und andere
    
    Sie können WSGI-Anwendungen mounten, wie Sie es in [Unteranwendungen – Mounts](sub-applications.md){.internal-link target=_blank}, [Hinter einem Proxy](behind-a-proxy.md){.internal-link target=_blank} gesehen haben.
    
    Dazu können Sie die `WSGIMiddleware` verwenden und damit Ihre WSGI-Anwendung wrappen, zum Beispiel Flask, Django usw.
    
    ## `WSGIMiddleware` verwenden
    
    Sie müssen `WSGIMiddleware` importieren.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:05 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. docs/de/docs/alternatives.md

    
    !!! check "Inspirierte **FastAPI**"
        Eine automatische API-Dokumentationsoberfläche zu haben.
    
    ### <a href="https://flask.palletsprojects.com" class="external-link" target="_blank">Flask</a>
    
    Flask ist ein „Mikroframework“, es enthält weder Datenbankintegration noch viele der Dinge, die standardmäßig in Django enthalten sind.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:28 GMT 2024
    - 26.7K bytes
    - Viewed (0)
  3. docs_src/wsgi/tutorial001.py

    from fastapi import FastAPI
    from fastapi.middleware.wsgi import WSGIMiddleware
    from flask import Flask, request
    from markupsafe import escape
    
    flask_app = Flask(__name__)
    
    
    @flask_app.route("/")
    def flask_main():
        name = request.args.get("name", "World")
        return f"Hello, {escape(name)} from Flask!"
    
    
    app = FastAPI()
    
    
    @app.get("/v2")
    def read_main():
        return {"message": "Hello World"}
    
    
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue May 09 14:32:00 GMT 2023
    - 443 bytes
    - Viewed (0)
  4. docs/en/docs/advanced/wsgi.md

    You can mount WSGI applications as you saw with [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank}.
    
    For that, you can use the `WSGIMiddleware` and use it to wrap your WSGI application, for example, Flask, Django, etc.
    
    ## Using `WSGIMiddleware`
    
    You need to import `WSGIMiddleware`.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  5. docs/ru/docs/alternatives.md

    * <a href="https://github.com/tiangolo/full-stack-flask-couchbase" class="external-link" target="_blank">https://github.com/tiangolo/full-stack-flask-couchbase</a>
    * <a href="https://github.com/tiangolo/full-stack-flask-couchdb" class="external-link" target="_blank">https://github.com/tiangolo/full-stack-flask-couchdb</a>
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  6. docs/uk/docs/alternatives.md

    Це вирішило необхідність писати YAML (інший синтаксис) всередині рядків документів Python.
    
    Ця комбінація Flask, Flask-apispec із Marshmallow і Webargs була моїм улюбленим бекенд-стеком до створення **FastAPI**.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  7. docs/fr/docs/alternatives.md

    !!! check "A inspiré **FastAPI** à"
    Avoir une interface de documentation automatique de l'API.
    
    ### <a href="https://flask.palletsprojects.com" class="external-link" target="_blank">Flask</a>
    
    Flask est un "micro-framework", il ne comprend pas d'intégrations de bases de données ni beaucoup de choses qui sont fournies par défaut dans Django.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  8. docs/tr/docs/alternatives.md

    !!! check "**FastAPI**'a nasıl ilham verdi?"
        API'lar için açık standart desteği olmalı (OpenAPI gibi).
    
    ### <a href="https://flask-apispec.readthedocs.io/en/latest/" class="external-link" target="_blank">Flask-apispec</a>
    
    Flask-apispec ise Webargs, Marshmallow ve APISpec'i birbirine bağlayan bir Flask <abbr title="Eklenti: Plug-In">eklentisi</abbr>.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 28.8K bytes
    - Viewed (0)
  9. docs/pt/docs/alternatives.md

    Isso resolveu o problema de ter que escrever YAML (outra sintaxe) dentro das _docstrings_ Python.
    
    Essa combinação de Flask, Flask-apispec com Marshmallow e Webargs foi meu _backend stack_ favorito até construir **FastAPI**.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/wsgi.md

    # 包含 WSGI - Flask,Django,其它
    
    您可以挂载多个 WSGI 应用,正如您在 [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank} 中所看到的那样。
    
    为此, 您可以使用 `WSGIMiddleware` 来包装你的 WSGI 应用,如:Flask,Django,等等。
    
    ## 使用 `WSGIMiddleware`
    
    您需要导入 `WSGIMiddleware`。
    
    然后使用该中间件包装 WSGI 应用(例如 Flask)。
    
    之后将其挂载到某一个路径下。
    
    ```Python hl_lines="2-3  22"
    {!../../../docs_src/wsgi/tutorial001.py!}
    ```
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.2K bytes
    - Viewed (0)
Back to top