diff --git a/README.md b/README.md index c95e4e2b..3e56130f 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ You will also need an ASGI server, for production such as ```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 40512416..daa31a30 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:
```console - $ pip install uvicorn + $ pip install uvicorn[standard] ---> 100% ```
+ !!! 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" *
Hypercorn, an ASGI server also compatible with HTTP/2. diff --git a/docs/en/docs/index.md b/docs/en/docs/index.md index 518beb33..a721c3c1 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 ```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 107961d3..bd02cd53 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 5beb6167..03658474 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 ```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 05a9271c..14ce3922 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 f913a1f6..9cc706c4 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 ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/it/docs/index.md b/docs/it/docs/index.md index 45a02d48..318acc41 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 ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/ja/docs/index.md b/docs/ja/docs/index.md index f492906c..87dac883 100644 --- a/docs/ja/docs/index.md +++ b/docs/ja/docs/index.md @@ -128,7 +128,7 @@ $ pip install fastapi
```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 c78f7795..29fc86f9 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 099fe1ea..abbad4fb 100644 --- a/docs/ko/docs/index.md +++ b/docs/ko/docs/index.md @@ -128,7 +128,7 @@ $ pip install fastapi
```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/pt/docs/deployment.md b/docs/pt/docs/deployment.md index a51d6165..cd820cbd 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:
```console - $ pip install uvicorn + $ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/pt/docs/index.md b/docs/pt/docs/index.md index fd6428e1..97ca5a05 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 ```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 8470927a..f93fd8d7 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 3ae90835..c5dac9c3 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 ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/sq/docs/index.md b/docs/sq/docs/index.md index 4cf33911..edc19fa4 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 ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/tr/docs/index.md b/docs/tr/docs/index.md index 97964b70..26147196 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 ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/uk/docs/index.md b/docs/uk/docs/index.md index 4cf33911..edc19fa4 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 ```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/zh/docs/deployment.md b/docs/zh/docs/deployment.md index 8cca1091..4dac57be 100644 --- a/docs/zh/docs/deployment.md +++ b/docs/zh/docs/deployment.md @@ -338,7 +338,7 @@ Traefik 也集成了 Docker,所以你也可以在每个应用的配置中声
```console -$ pip install uvicorn +$ pip install uvicorn[standard] ---> 100% ``` diff --git a/docs/zh/docs/index.md b/docs/zh/docs/index.md index 2502295a..0c73578a 100644 --- a/docs/zh/docs/index.md +++ b/docs/zh/docs/index.md @@ -128,7 +128,7 @@ $ pip install fastapi
```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 fbc48820..36495ec0 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] ``` 然后对你想使用的每个可选依赖项也执行相同的操作。