mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-11 13:06:43 +00:00
📝 Update docs with pip install calls when using extras with brackets, use quotes for compatibility with Zsh (#3131)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
parent
077e5baf2c
commit
c54fb7e208
6 changed files with 10 additions and 10 deletions
|
|
@ -133,7 +133,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u
|
||||||
<div class="termy">
|
<div class="termy">
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ pip install uvicorn[standard]
|
$ pip install "uvicorn[standard]"
|
||||||
|
|
||||||
---> 100%
|
---> 100%
|
||||||
```
|
```
|
||||||
|
|
@ -456,7 +456,7 @@ Used by FastAPI / Starlette:
|
||||||
* <a href="https://www.uvicorn.org" target="_blank"><code>uvicorn</code></a> - for the server that loads and serves your application.
|
* <a href="https://www.uvicorn.org" target="_blank"><code>uvicorn</code></a> - for the server that loads and serves your application.
|
||||||
* <a href="https://github.com/ijl/orjson" target="_blank"><code>orjson</code></a> - Required if you want to use `ORJSONResponse`.
|
* <a href="https://github.com/ijl/orjson" target="_blank"><code>orjson</code></a> - Required if you want to use `ORJSONResponse`.
|
||||||
|
|
||||||
You can install all of these with `pip install fastapi[all]`.
|
You can install all of these with `pip install "fastapi[all]"`.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ You can install an ASGI compatible server with:
|
||||||
<div class="termy">
|
<div class="termy">
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ pip install uvicorn[standard]
|
$ pip install "uvicorn[standard]"
|
||||||
|
|
||||||
---> 100%
|
---> 100%
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ And then the Gunicorn-compatible **Uvicorn worker** class would be in charge of
|
||||||
<div class="termy">
|
<div class="termy">
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ pip install uvicorn[standard] gunicorn
|
$ pip install "uvicorn[standard]" gunicorn
|
||||||
|
|
||||||
---> 100%
|
---> 100%
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u
|
||||||
<div class="termy">
|
<div class="termy">
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ pip install uvicorn[standard]
|
$ pip install "uvicorn[standard]"
|
||||||
|
|
||||||
---> 100%
|
---> 100%
|
||||||
```
|
```
|
||||||
|
|
@ -457,7 +457,7 @@ Used by FastAPI / Starlette:
|
||||||
* <a href="https://www.uvicorn.org" target="_blank"><code>uvicorn</code></a> - for the server that loads and serves your application.
|
* <a href="https://www.uvicorn.org" target="_blank"><code>uvicorn</code></a> - for the server that loads and serves your application.
|
||||||
* <a href="https://github.com/ijl/orjson" target="_blank"><code>orjson</code></a> - Required if you want to use `ORJSONResponse`.
|
* <a href="https://github.com/ijl/orjson" target="_blank"><code>orjson</code></a> - Required if you want to use `ORJSONResponse`.
|
||||||
|
|
||||||
You can install all of these with `pip install fastapi[all]`.
|
You can install all of these with `pip install "fastapi[all]"`.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ For the tutorial, you might want to install it with all the optional dependencie
|
||||||
<div class="termy">
|
<div class="termy">
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ pip install fastapi[all]
|
$ pip install "fastapi[all]"
|
||||||
|
|
||||||
---> 100%
|
---> 100%
|
||||||
```
|
```
|
||||||
|
|
@ -64,7 +64,7 @@ $ pip install fastapi[all]
|
||||||
Also install `uvicorn` to work as the server:
|
Also install `uvicorn` to work as the server:
|
||||||
|
|
||||||
```
|
```
|
||||||
pip install uvicorn[standard]
|
pip install "uvicorn[standard]"
|
||||||
```
|
```
|
||||||
|
|
||||||
And the same for each of the optional dependencies that you want to use.
|
And the same for each of the optional dependencies that you want to use.
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ We need to install `python-jose` to generate and verify the JWT tokens in Python
|
||||||
<div class="termy">
|
<div class="termy">
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ pip install python-jose[cryptography]
|
$ pip install "python-jose[cryptography]"
|
||||||
|
|
||||||
---> 100%
|
---> 100%
|
||||||
```
|
```
|
||||||
|
|
@ -76,7 +76,7 @@ So, install PassLib with Bcrypt:
|
||||||
<div class="termy">
|
<div class="termy">
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ pip install passlib[bcrypt]
|
$ pip install "passlib[bcrypt]"
|
||||||
|
|
||||||
---> 100%
|
---> 100%
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue