Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 226 for uvicorn (0.06 sec)

  1. docs/ja/docs/deployment/server-workers.md

    そして、Gunicorn互換の**Uvicornワーカー**クラスが、FastAPIが使えるように、Gunicornから送られてきたデータをASGI標準に変換する役割を担います。
    
    ## GunicornUvicornをインストールする
    
    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]" gunicorn
    
    ---> 100%
    ```
    
    </div>
    
    これによりUvicornと(高性能を得るための)標準(`standard`)の追加パッケージとGunicornの両方がインストールされます。
    
    ## UvicornのワーカーとともにGunicornを実行する
    
    Gunicornを以下のように起動させることができます:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. docs/de/docs/benchmarks.md

        * Wenn Sie Uvicorn vergleichen, vergleichen Sie es mit Anwendungsservern wie Daphne, Hypercorn, uWSGI, usw.
    * **Starlette**:
        * Wird nach Uvicorn die nächstbeste Performanz erbringen. Tatsächlich nutzt Starlette intern Uvicorn. Daher kann es wahrscheinlich nur „langsamer“ als Uvicorn sein, weil mehr Code ausgeführt wird.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 23 16:04:13 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/debugging.md

    Vous pouvez connecter le <abbr title="En anglais: debugger">débogueur</abbr> dans votre éditeur, par exemple avec Visual Studio Code ou PyCharm.
    
    ## Faites appel à `uvicorn`
    
    Dans votre application FastAPI, importez et exécutez directement `uvicorn` :
    
    {* ../../docs_src/debugging/tutorial001.py hl[1,15] *}
    
    ### À propos de `__name__ == "__main__"`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:31:14 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/behind-a-proxy.md

                // More stuff here
        }
    }
    ```
    
    👉 🖼, "🗳" 💪 🕳 💖 **Traefik**. &amp; 💽 🔜 🕳 💖 **Uvicorn**, 🏃‍♂ 👆 FastAPI 🈸.
    
    ### 🚚 `root_path`
    
    🏆 👉, 👆 💪 ⚙️ 📋 ⏸ 🎛 `--root-path` 💖:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/first-steps.md

    Este será el punto de interacción principal para crear todo tu API.
    
    Esta `app` es la misma a la que nos referimos cuando usamos el comando de `uvicorn`:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Si creas un app como:
    
    ```Python hl_lines="3"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/first-steps.md

    Este será o principal ponto de interação para criar toda a sua API.
    
    Este `app` é o mesmo referenciado por `uvicorn` no comando:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Se você criar a sua aplicação como:
    
    ```Python hl_lines="3"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. docs/pt/docs/deployment/manually.md

    Existem diversas alternativas, incluindo:
    
    * <a href="https://www.uvicorn.org/" class="external-link" target="_blank">Uvicorn</a>: um servidor ASGI de alta performance.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:10:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/index.md

    그러므로 필요할 때에 다시 돌아와서 원하는 것을 정확히 찾을 수 있습니다.
    
    ## 코드 실행하기
    
    모든 코드 블록은 복사하여 바로 사용할 수 있습니다(실제로 테스트된 파이썬 파일입니다).
    
    예제를 실행하려면 코드를 `main.py` 파일에 복사하고 다음을 사용하여 `uvicorn`을 시작합니다:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 04 10:57:17 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/first-steps.md

    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    这里的变量 `app` 会是 `FastAPI` 类的一个「实例」。
    
    这个实例将是创建你所有 API 的主要交互对象。
    
    这个 `app` 同样在如下命令中被 `uvicorn` 所引用:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    如果你像下面这样创建应用:
    
    ```Python hl_lines="3"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/behind-a-proxy.md

    ### Fornecendo o `root_path`
    
    Para conseguir isso, você pode usar a opção de linha de comando `--root-path` assim:
    
    <div class="termy">
    
    ```console
    $ fastapi run main.py --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:28:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top