Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 1,039 for Python (0.04 seconds)

  1. docs/ja/docs/index.md

    * [`email-validator`](https://github.com/JoshData/python-email-validator) - メール検証のため。
    
    Starlette によって使用されるもの:
    
    * [`httpx`](https://www.python-httpx.org) - `TestClient` を使用したい場合に必要です。
    * [`jinja2`](https://jinja.palletsprojects.com) - デフォルトのテンプレート設定を使用したい場合に必要です。
    * [`python-multipart`](https://github.com/Kludex/python-multipart) - `request.form()` とともに、フォームの <dfn title="HTTP リクエストから届く文字列を Python データに変換すること">「parsing」</dfn> をサポートしたい場合に必要です。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/index.md

    Pydantic 會使用:
    
    * [`email-validator`](https://github.com/JoshData/python-email-validator) - 用於電子郵件驗證。
    
    Starlette 會使用:
    
    * [`httpx`](https://www.python-httpx.org) - 若要使用 `TestClient` 必須安裝。
    * [`jinja2`](https://jinja.palletsprojects.com) - 若要使用預設的模板設定必須安裝。
    * [`python-multipart`](https://github.com/Kludex/python-multipart) - 若要支援表單 <dfn title="將來自 HTTP 請求的字串轉換為 Python 資料">"解析"</dfn>,搭配 `request.form()`。
    
    FastAPI 會使用:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  3. scripts/tests/test_translation_fixer/test_complex_doc/data/en_doc.md

    ```Python
    # Some Python code
    ```
    
    ### Triple backticks inside quadruple backticks { #triple-backticks-inside-quadruple-backticks }
    
    Comments inside nested code block will NOT be preserved.
    
    ````
    Here is a code block with quadruple backticks that contains triple backticks inside:
    
    ```python
    # This is a sample Python code block
    def hello_world():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  4. docs/zh/docs/history-design-future.md

    然后,我又花了一些时间从用户角度(使用 FastAPI 的开发者)设计了开发者 **API**。
    
    同时,我还在最流行的 Python 代码编辑器中测试了很多思路,包括 PyCharm、VS Code、基于 Jedi 的编辑器。
    
    根据最新 [Python 开发者调研报告](https://www.jetbrains.com/research/python-developers-survey-2018/#development-tools)显示,这几种编辑器覆盖了约 80% 的用户。
    
    也就是说,**FastAPI** 针对差不多 80% 的 Python 开发者使用的编辑器进行了测试,而且其它大多数编辑器的工作方式也与之类似,因此,**FastAPI** 的优势几乎能在所有编辑器上体现。
    
    通过这种方式,我就能找到尽可能减少代码重复的最佳方式,进而实现处处都有自动补全、类型提示与错误检查等支持。
    
    所有这些都是为了给开发者提供最佳的开发体验。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4K bytes
    - Click Count (0)
  5. .github/ISSUE_TEMPLATE/tensorflow_issue_template.yaml

      - type: dropdown
        id: source
        attributes:
          label: Source
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jun 28 18:25:42 GMT 2023
    - 3.7K bytes
    - Click Count (0)
  6. docs/ja/docs/alternatives.md

    Requestsは非常にシンプルかつ直感的なデザインで使いやすく、適切なデフォルト値を設定しています。しかし同時に、非常に強力でカスタマイズも可能です。
    
    公式サイトで以下のように言われているのは、それが理由です。
    
    > Requestsは史上最もダウンロードされたPythonパッケージのひとつです
    
    使い方はとても簡単です。例えば、`GET`リクエストを実行するには、このように書けば良いです:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    対応するFastAPIのAPIのpath operationはこのようになります:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  7. tensorflow/__init__.py

    # module.
    
    # pylint: disable=g-bad-import-order
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
    
    from tensorflow.python.platform import flags  # pylint: disable=g-import-not-at-top
    from tensorflow.python.platform import app  # pylint: disable=g-import-not-at-top
    app.flags = flags
    
    # These symbols appear because we import the python package which
    # in turn imports from tensorflow.core and tensorflow.python. They
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Sep 28 21:37:05 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/path-params.md

    # パスパラメータ { #path-parameters }
    
    Pythonのformat文字列と同様のシンタックスで「パスパラメータ」や「パス変数」を宣言できます:
    
    {* ../../docs_src/path_params/tutorial001_py310.py hl[6:7] *}
    
    パスパラメータ `item_id` の値は、引数 `item_id` として関数に渡されます。
    
    したがって、この例を実行して [http://127.0.0.1:8000/items/foo](http://127.0.0.1:8000/items/foo) にアクセスすると、次のレスポンスが表示されます。
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## 型付きパスパラメータ { #path-parameters-with-types }
    
    標準のPythonの型アノテーションを使用して、関数内のパスパラメータの型を宣言できます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/request-files.md

    You can define files to be uploaded by the client using `File`.
    
    /// info
    
    To receive uploaded files, first install [`python-multipart`](https://github.com/Kludex/python-multipart).
    
    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and then install it, for example:
    
    ```console
    $ pip install python-multipart
    ```
    
    This is because uploaded files are sent as "form data".
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/advanced/security/http-basic-auth.md

    這大致等同於:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # 回傳錯誤
        ...
    ```
    
    但藉由使用 `secrets.compare_digest()`,可以防禦一種稱為「計時攻擊」的攻擊。
    
    ### 計時攻擊 { #timing-attacks }
    
    什麼是「計時攻擊」呢?
    
    想像有攻擊者在嘗試猜測使用者名稱與密碼。
    
    他們送出一個帶有使用者名稱 `johndoe` 與密碼 `love123` 的請求。
    
    接著,你的應用程式中的 Python 程式碼等同於:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.7K bytes
    - Click Count (0)
Back to Top