diff --git a/README.md b/README.md index c95e4e2bb..3e56130f1 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/en/docs/deployment/manually.md b/docs/en/docs/deployment/manually.md index 405124165..daa31a304 100644 --- a/docs/en/docs/deployment/manually.md +++ b/docs/en/docs/deployment/manually.md @@ -11,13 +11,18 @@ You just need to install an ASGI compatible server like: <div class="termy"> ```console - $ pip install uvicorn + $ pip install uvicorn[standard] ---> 100% ``` </div> + !!! tip + By adding the `standard`, Uvicorn will install and use some recommended extra dependencies. + + That including `uvloop`, the high-performance drop-in replacement for `asyncio`, that provides the big concurrency performance boost. + === "Hypercorn" * <a href="https://gitlab.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>, an ASGI server also compatible with HTTP/2. diff --git a/docs/en/docs/index.md b/docs/en/docs/index.md index 518beb33c..a721c3c12 100644 --- a/docs/en/docs/index.md +++ b/docs/en/docs/index.md @@ -128,7 +128,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/en/docs/tutorial/index.md b/docs/en/docs/tutorial/index.md index 107961d3b..bd02cd539 100644 --- a/docs/en/docs/tutorial/index.md +++ b/docs/en/docs/tutorial/index.md @@ -64,7 +64,7 @@ $ pip install fastapi[all] Also install `uvicorn` to work as the server: ``` - pip install uvicorn + pip install uvicorn[standard] ``` And the same for each of the optional dependencies that you want to use. diff --git a/docs/es/docs/index.md b/docs/es/docs/index.md index 5beb61670..036584745 100644 --- a/docs/es/docs/index.md +++ b/docs/es/docs/index.md @@ -127,7 +127,7 @@ También vas a necesitar un servidor ASGI para producción cómo <a href="https: <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/es/docs/tutorial/index.md b/docs/es/docs/tutorial/index.md index 05a9271ce..14ce39225 100644 --- a/docs/es/docs/tutorial/index.md +++ b/docs/es/docs/tutorial/index.md @@ -64,7 +64,7 @@ $ pip install fastapi[all] También debes instalar `uvicorn` para que funcione como tu servidor: ``` - pip install uvicorn + pip install uvicorn[standard] ``` Y lo mismo para cada una de las dependencias opcionales que quieras utilizar. diff --git a/docs/fr/docs/index.md b/docs/fr/docs/index.md index f913a1f68..9cc706c43 100644 --- a/docs/fr/docs/index.md +++ b/docs/fr/docs/index.md @@ -132,7 +132,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/it/docs/index.md b/docs/it/docs/index.md index 45a02d489..318acc413 100644 --- a/docs/it/docs/index.md +++ b/docs/it/docs/index.md @@ -132,7 +132,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/ja/docs/index.md b/docs/ja/docs/index.md index f492906cb..87dac8832 100644 --- a/docs/ja/docs/index.md +++ b/docs/ja/docs/index.md @@ -128,7 +128,7 @@ $ pip install fastapi <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/ja/docs/tutorial/index.md b/docs/ja/docs/tutorial/index.md index c78f77954..29fc86f94 100644 --- a/docs/ja/docs/tutorial/index.md +++ b/docs/ja/docs/tutorial/index.md @@ -64,7 +64,7 @@ $ pip install fastapi[all] また、サーバーとして動作するように`uvicorn` をインストールします: ``` - pip install uvicorn + pip install uvicorn[standard] ``` そして、使用したい依存関係をそれぞれ同様にインストールします。 diff --git a/docs/ko/docs/index.md b/docs/ko/docs/index.md index 099fe1eae..abbad4fb4 100644 --- a/docs/ko/docs/index.md +++ b/docs/ko/docs/index.md @@ -128,7 +128,7 @@ $ pip install fastapi <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/pt/docs/deployment.md b/docs/pt/docs/deployment.md index a51d61651..cd820cbd3 100644 --- a/docs/pt/docs/deployment.md +++ b/docs/pt/docs/deployment.md @@ -336,7 +336,7 @@ Você apenas precisa instalar um servidor ASGI compatível como: <div class="termy"> ```console - $ pip install uvicorn + $ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/pt/docs/index.md b/docs/pt/docs/index.md index fd6428e15..97ca5a056 100644 --- a/docs/pt/docs/index.md +++ b/docs/pt/docs/index.md @@ -121,7 +121,7 @@ Você também precisará de um servidor ASGI para produção, tal como <a href=" <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/pt/docs/tutorial/index.md b/docs/pt/docs/tutorial/index.md index 8470927a7..f93fd8d75 100644 --- a/docs/pt/docs/tutorial/index.md +++ b/docs/pt/docs/tutorial/index.md @@ -64,7 +64,7 @@ $ pip install fastapi[all] Também instale o `uvicorn` para funcionar como servidor: ``` - pip install uvicorn + pip install uvicorn[standard] ``` E o mesmo para cada dependência opcional que você quiser usar. diff --git a/docs/ru/docs/index.md b/docs/ru/docs/index.md index 3ae908357..c5dac9c39 100644 --- a/docs/ru/docs/index.md +++ b/docs/ru/docs/index.md @@ -132,7 +132,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/sq/docs/index.md b/docs/sq/docs/index.md index 4cf339117..edc19fa48 100644 --- a/docs/sq/docs/index.md +++ b/docs/sq/docs/index.md @@ -132,7 +132,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/tr/docs/index.md b/docs/tr/docs/index.md index 97964b70c..261471961 100644 --- a/docs/tr/docs/index.md +++ b/docs/tr/docs/index.md @@ -132,7 +132,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/uk/docs/index.md b/docs/uk/docs/index.md index 4cf339117..edc19fa48 100644 --- a/docs/uk/docs/index.md +++ b/docs/uk/docs/index.md @@ -132,7 +132,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/zh/docs/deployment.md b/docs/zh/docs/deployment.md index 8cca1091e..4dac57bef 100644 --- a/docs/zh/docs/deployment.md +++ b/docs/zh/docs/deployment.md @@ -338,7 +338,7 @@ Traefik 也集成了 Docker,所以你也可以在每个应用的配置中声 <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/zh/docs/index.md b/docs/zh/docs/index.md index 2502295a7..0c73578aa 100644 --- a/docs/zh/docs/index.md +++ b/docs/zh/docs/index.md @@ -128,7 +128,7 @@ $ pip install fastapi <div class="termy"> ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/zh/docs/tutorial/index.md b/docs/zh/docs/tutorial/index.md index fbc488202..36495ec0b 100644 --- a/docs/zh/docs/tutorial/index.md +++ b/docs/zh/docs/tutorial/index.md @@ -64,7 +64,7 @@ $ pip install fastapi[all] 并且安装`uvicorn`来作为服务器: ``` - pip install uvicorn + pip install uvicorn[standard] ``` 然后对你想使用的每个可选依赖项也执行相同的操作。