Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 2,163 for termy (0.08 seconds)

  1. docs/tr/docs/index.md

    ## Kurulum { #installation }
    
    Bir [virtual environment](https://fastapi.tiangolo.com/tr/virtual-environments/) oluşturup etkinleştirelim ve ardından FastAPI'ı yükleyelim:
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    如果你想玩玩看 JWT 權杖並了解其運作,請參考 [https://jwt.io](https://jwt.io/)。
    
    ## 安裝 `PyJWT` { #install-pyjwt }
    
    我們需要安裝 `PyJWT` 才能在 Python 中產生與驗證 JWT 權杖。
    
    請先建立並啟用一個[虛擬環境](../../virtual-environments.md),然後安裝 `pyjwt`:
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    
    ---> 100%
    ```
    
    </div>
    
    /// info | 說明
    
    如果你打算使用像 RSA 或 ECDSA 這類的數位簽章演算法,應該安裝帶有加密函式庫相依的 `pyjwt[crypto]`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/security/oauth2-jwt.md

    如果你想动手体验 JWT 令牌并了解它的工作方式,请访问 [https://jwt.io](https://jwt.io/)。
    
    ## 安装 `PyJWT` { #install-pyjwt }
    
    我们需要安装 `PyJWT`,以便在 Python 中生成和校验 JWT 令牌。
    
    请确保创建并激活一个[虚拟环境](../../virtual-environments.md),然后安装 `pyjwt`:
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    
    ---> 100%
    ```
    
    </div>
    
    /// info | 信息
    
    如果你计划使用类似 RSA 或 ECDSA 的数字签名算法,你应该安装加密库依赖项 `pyjwt[crypto]`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. docs/zh/docs/deployment/server-workers.md

    ///
    
    ## 多个工作进程 { #multiple-workers }
    
    您可以使用 `--workers` 命令行选项来启动多个工作进程:
    
    //// tab | `fastapi`
    
    如果您使用 `fastapi` 命令:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run --workers 4 <u style="text-decoration-style:solid">main.py</u>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/sub-applications.md

    {* ../../docs_src/sub_applications/tutorial001_py310.py hl[11, 19] *}
    
    ### Check the automatic API docs { #check-the-automatic-api-docs }
    
    Now, run the `fastapi` command:
    
    <div class="termy">
    
    ```console
    $ fastapi dev
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/how-to/conditional-openapi.md

    {* ../../docs_src/conditional_openapi/tutorial001_py310.py hl[6,11] *}
    
    這裡我們宣告 `openapi_url` 設定,預設值同樣是 `"/openapi.json"`。
    
    接著在建立 `FastAPI` 應用時使用它。
    
    然後你可以將環境變數 `OPENAPI_URL` 設為空字串,以停用 OpenAPI(包含文件 UI),如下:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/advanced/async-tests.md

    {* ../../docs_src/async_tests/app_a_py310/main.py *}
    
    檔案 `test_main.py` 會包含針對 `main.py` 的測試,現在可能像這樣:
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py *}
    
    ## 執行 { #run-it }
    
    如常執行測試:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ---> 100%
    ```
    
    </div>
    
    ## 詳解 { #in-detail }
    
    標記 `@pytest.mark.anyio` 告訴 pytest 這個測試函式應以非同步方式執行:
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py hl[7] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/templates.md

    ## Install dependencies { #install-dependencies }
    
    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and install `jinja2`:
    
    <div class="termy">
    
    ```console
    $ pip install jinja2
    
    ---> 100%
    ```
    
    </div>
    
    ## Using `Jinja2Templates` { #using-jinja2templates }
    
    * Import `Jinja2Templates`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  9. docs/zh/docs/how-to/conditional-openapi.md

    这里我们声明了设置项 `openapi_url`,其默认值同样是 `"/openapi.json"`。
    
    然后在创建 `FastAPI` 应用时使用它。
    
    接着,你可以通过把环境变量 `OPENAPI_URL` 设为空字符串来禁用 OpenAPI(包括文档 UI),例如:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/sql-databases.md

    ## Install `SQLModel` { #install-sqlmodel }
    
    First, make sure you create your [virtual environment](../virtual-environments.md), activate it, and then install `sqlmodel`:
    
    <div class="termy">
    
    ```console
    $ pip install sqlmodel
    ---> 100%
    ```
    
    </div>
    
    ## Create the App with a Single Model { #create-the-app-with-a-single-model }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 15.3K bytes
    - Click Count (0)
Back to Top