Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 1,039 for Python (0.04 seconds)

  1. docs/en/docs/tutorial/testing.md

    It is based on [HTTPX](https://www.python-httpx.org), which in turn is designed based on Requests, so it's very familiar and intuitive.
    
    With it, you can use [pytest](https://docs.pytest.org/) directly with **FastAPI**.
    
    ## Using `TestClient` { #using-testclient }
    
    /// info
    
    To use `TestClient`, first install [`httpx`](https://www.python-httpx.org).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ### What are "Context Managers" { #what-are-context-managers }
    
    "Context Managers" are any of those Python objects that you can use in a `with` statement.
    
    For example, [you can use `with` to read a file](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. docs/en/docs/deployment/docker.md

    And there's a public [Docker Hub](https://hub.docker.com/) with pre-made **official container images** for many tools, environments, databases, and applications.
    
    For example, there's an official [Python Image](https://hub.docker.com/_/python).
    
    And there are many other images for different things like databases, for example for:
    
    * [PostgreSQL](https://hub.docker.com/_/postgres)
    * [MySQL](https://hub.docker.com/_/mysql)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 28.3K bytes
    - Click Count (1)
  4. docs/zh-hant/docs/project-generation.md

    ## 全端 FastAPI 範本 - 技術堆疊與功能 { #full-stack-fastapi-template-technology-stack-and-features }
    
    - ⚡ [**FastAPI**](https://fastapi.tiangolo.com/zh-hant) 作為 Python 後端 API。
      - 🧰 [SQLModel](https://sqlmodel.tiangolo.com) 作為 Python 與 SQL 資料庫互動(ORM)。
      - 🔍 [Pydantic](https://docs.pydantic.dev)(由 FastAPI 使用)用於資料驗證與設定管理。
      - 💾 [PostgreSQL](https://www.postgresql.org) 作為 SQL 資料庫。
    - 🚀 [React](https://react.dev) 作為前端。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/request-forms.md

    # 폼 데이터 { #form-data }
    
    JSON 대신 폼 필드를 받아야 하는 경우 `Form`을 사용할 수 있습니다.
    
    /// info | 정보
    
    폼을 사용하려면, 먼저 [`python-multipart`](https://github.com/Kludex/python-multipart)를 설치하세요.
    
    [가상 환경](../virtual-environments.md)을 생성하고 활성화한 다음, 예를 들어 다음과 같이 설치하세요:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## `Form` 임포트하기 { #import-form }
    
    `fastapi`에서 `Form`을 임포트합니다:
    
    {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[3] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3K bytes
    - Click Count (0)
  6. docs/ru/docs/deployment/manually.md

    ```
    
    </div>
    
    /// note | Примечание
    
    Команда `uvicorn main:app` означает:
    
    * `main`: файл `main.py` (Python‑«модуль»).
    * `app`: объект, созданный в `main.py` строкой `app = FastAPI()`.
    
    Эквивалентно:
    
    ```Python
    from main import app
    ```
    
    ///
    
    У каждого альтернативного ASGI‑сервера будет похожая команда; подробнее см. в их документации.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  7. docs/fr/docs/deployment/manually.md

    ```
    
    </div>
    
    /// note | Remarque
    
    La commande `uvicorn main:app` fait référence à :
    
    * `main` : le fichier `main.py` (le « module » Python).
    * `app` : l'objet créé dans `main.py` avec la ligne `app = FastAPI()`.
    
    C'est équivalent à :
    
    ```Python
    from main import app
    ```
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  8. fastapi/datastructures.py

        attribute to access the raw standard Python file (blocking, not async), useful and
        needed for non-async code.
    
        Read more about it in the
        [FastAPI docs for Request Files](https://fastapi.tiangolo.com/tutorial/request-files/).
    
        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import FastAPI, File, UploadFile
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/deployment/manually.md

    ```
    
    </div>
    
    /// note
    
    指令 `uvicorn main:app` 指的是:
    
    * `main`:檔案 `main.py`(Python「模組」)。
    * `app`:在 `main.py` 中以 `app = FastAPI()` 建立的物件。
    
    等同於:
    
    ```Python
    from main import app
    ```
    
    ///
    
    其他 ASGI 伺服器也有類似的指令,詳見各自的文件。
    
    /// warning
    
    Uvicorn 與其他伺服器支援 `--reload` 選項,對開發期間很有幫助。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/security/first-steps.md

    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## Run it { #run-it }
    
    /// info
    
    The [`python-multipart`](https://github.com/Kludex/python-multipart) package is automatically installed with **FastAPI** when you run the `pip install "fastapi[standard]"` command.
    
    However, if you use the `pip install fastapi` command, the `python-multipart` package is not included by default.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 8.3K bytes
    - Click Count (0)
Back to Top