Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 290 for PIP (0.01 seconds)

  1. docs/zh/docs/tutorial/request-forms.md

    当你需要接收表单字段而不是 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] *}
    
    ## 定义 `Form` 参数 { #define-form-parameters }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/security/oauth2-jwt.md

    Make sure you create a [virtual environment](../../virtual-environments.md), activate it, and then install `pyjwt`:
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    
    ---> 100%
    ```
    
    </div>
    
    /// info
    
    If you are planning to use digital signature algorithms like RSA or ECDSA, you should install the cryptography library dependency `pyjwt[crypto]`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/request-forms.md

    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:07:17 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  4. fastapi/openapi/models.py

                    "To install, run: pip install email-validator"
                )
                return str(v)
    
            @classmethod
            def _validate(cls, __input_value: Any, _: Any) -> str:
                logger.warning(
                    "email-validator not installed, email fields will be treated as str.\n"
                    "To install, run: pip install email-validator"
                )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  5. docs/ko/docs/fastapi-cli.md

    # FastAPI CLI { #fastapi-cli }
    
    **FastAPI <abbr title="command line interface - 명령줄 인터페이스">CLI</abbr>**는 FastAPI 애플리케이션을 서빙하고, FastAPI 프로젝트를 관리하는 등 다양한 작업에 사용할 수 있는 커맨드 라인 프로그램입니다.
    
    FastAPI를 설치하면(예: `pip install "fastapi[standard]"`) 터미널에서 실행할 수 있는 커맨드 라인 프로그램이 함께 제공됩니다.
    
    개발용으로 FastAPI 애플리케이션을 실행하려면 `fastapi dev` 명령어를 사용할 수 있습니다:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  6. tensorflow/api_template.__init__.py

    from tensorflow.python.compat import v2_compat as _compat
    _compat.enable_v2_behavior()
    _major_api_version = 2
    
    
    # Load all plugin libraries from site-packages/tensorflow-plugins if we are
    # running under pip.
    # TODO(gunan): Find a better location for this code snippet.
    from tensorflow.python.framework import load_library as _ll
    from tensorflow.python.lib.io import file_io as _fi
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Oct 02 22:16:02 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  7. fastapi/dependencies/utils.py

        'You can install "python-multipart" with: \n\n'
        "pip install python-multipart\n"
    )
    multipart_incorrect_install_error = (
        'Form data requires "python-multipart" to be installed. '
        'It seems you installed "multipart" instead. \n'
        'You can remove "multipart" with: \n\n'
        "pip uninstall multipart\n\n"
        'And then install "python-multipart" with: \n\n'
        "pip install python-multipart\n"
    )
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  8. docs/en/docs/advanced/websockets.md

    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and install `websockets` (a Python library that makes it easy to use the "WebSocket" protocol):
    
    <div class="termy">
    
    ```console
    $ pip install websockets
    
    ---> 100%
    ```
    
    </div>
    
    ## WebSockets client { #websockets-client }
    
    ### In production { #in-production }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. docs/en/docs/fastapi-cli.md

    **FastAPI <abbr title="command line interface">CLI</abbr>** is a command line program that you can use to serve your FastAPI app, manage your FastAPI project, and more.
    
    When you install FastAPI (e.g. with `pip install "fastapi[standard]"`), it comes with a command line program you can run in the terminal.
    
    To run your FastAPI app for development, you can use the `fastapi dev` command:
    
    <div class="termy">
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/response-model.md

    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and then install it, for example:
    
    ```console
    $ pip install email-validator
    ```
    
    or with:
    
    ```console
    $ pip install "pydantic[email]"
    ```
    
    ///
    
    And we are using this model to declare our input and the same model to declare our output:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
Back to Top