You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
30
+
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.7+ based on standard Python type hints.
31
31
32
32
The key features are:
33
33
@@ -112,7 +112,7 @@ If you are building a <abbr title="Command Line Interface">CLI</abbr> app to be
112
112
113
113
## Requirements
114
114
115
-
Python 3.6+
115
+
Python 3.7+
116
116
117
117
FastAPI stands on the shoulders of giants:
118
118
@@ -131,7 +131,7 @@ $ pip install fastapi
131
131
132
132
</div>
133
133
134
-
You will also need an ASGI server, for production such as <ahref="https://www.uvicorn.org"class="external-link"target="_blank">Uvicorn</a> or <ahref="https://gitlab.com/pgjones/hypercorn"class="external-link"target="_blank">Hypercorn</a>.
134
+
You will also need an ASGI server, for production such as <ahref="https://www.uvicorn.org"class="external-link"target="_blank">Uvicorn</a> or <ahref="https://github.com/pgjones/hypercorn"class="external-link"target="_blank">Hypercorn</a>.
135
135
136
136
<divclass="termy">
137
137
@@ -328,7 +328,7 @@ You do that with standard modern Python types.
328
328
329
329
You don't have to learn a new syntax, the methods or classes of a specific library, etc.
330
330
331
-
Just standard **Python 3.6+**.
331
+
Just standard **Python 3.7+**.
332
332
333
333
For example, for an `int`:
334
334
@@ -427,7 +427,7 @@ For a more complete example including more features, see the <a href="https://fa
427
427
***GraphQL** integration with <ahref="https://strawberry.rocks"class="external-link"target="_blank">Strawberry</a> and other libraries.
428
428
* Many extra features (thanks to Starlette) as:
429
429
***WebSockets**
430
-
* extremely easy tests based on `requests` and `pytest`
430
+
* extremely easy tests based on HTTPX and `pytest`
431
431
***CORS**
432
432
***Cookie Sessions**
433
433
* ...and more.
@@ -447,7 +447,7 @@ Used by Pydantic:
447
447
448
448
Used by Starlette:
449
449
450
-
* <ahref="https://requests.readthedocs.io"target="_blank"><code>requests</code></a> - Required if you want to use the `TestClient`.
450
+
* <ahref="https://www.python-httpx.org"target="_blank"><code>httpx</code></a> - Required if you want to use the `TestClient`.
451
451
* <ahref="https://jinja.palletsprojects.com"target="_blank"><code>jinja2</code></a> - Required if you want to use the default template configuration.
452
452
* <ahref="https://andrew-d.github.io/python-multipart/"target="_blank"><code>python-multipart</code></a> - Required if you want to support form <abbrtitle="converting the string that comes from an HTTP request into Python data">"parsing"</abbr>, with `request.form()`.
453
453
* <ahref="https://pythonhosted.org/itsdangerous/"target="_blank"><code>itsdangerous</code></a> - Required for `SessionMiddleware` support.
0 commit comments