Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 620 for Pythons (0.1 sec)

  1. ci/official/containers/ml_build/setup.python.sh

    #
    # setup.python.sh: Install a specific Python version and packages for it.
    # Usage: setup.python.sh <pyversion> <requirements.txt>
    set -xe
    
    source ~/.bashrc
    VERSION=$1
    REQUIREMENTS=$2
    
    # Install Python packages for this container's version
    if [[ ${VERSION} == "python3.13" ]]; then
      cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    EOF
    else
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 23:34:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/setup.python.sh

    #
    # setup.python.sh: Install a specific Python version and packages for it.
    # Usage: setup.python.sh <pyversion> <requirements.txt>
    set -xe
    
    source ~/.bashrc
    VERSION=$1
    REQUIREMENTS=$2
    
    add-apt-repository ppa:deadsnakes/ppa
    # Install Python packages for this container's version
    if [[ ${VERSION} == "python3.13" ]]; then
      cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 01 12:56:16 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/encoder.md

    Es nimmt ein Objekt entgegen, wie etwa ein Pydantic-Modell, und gibt eine JSON-kompatible Version zurück:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="4  21"
    {!> ../../docs_src/encoder/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="5  22"
    {!> ../../docs_src/encoder/tutorial001.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/extra-models.md

    Genauso können Sie eine Response deklarieren, die eine Liste von Objekten ist.
    
    Verwenden Sie dafür Pythons Standard `typing.List` (oder nur `list` in Python 3.9 und darüber):
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18"
    {!> ../../docs_src/extra_models/tutorial004_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1  20"
    {!> ../../docs_src/extra_models/tutorial004.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/response-status-code.md

    ///
    
    Dem `status_code`-Parameter wird eine Zahl mit dem HTTP-Statuscode übergeben.
    
    /// info
    
    Alternativ kann `status_code` auch ein `IntEnum` erhalten, so wie Pythons <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    Das wird:
    
    * Diesen Statuscode mit der Response zurücksenden.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:59:43 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. docs/es/docs/python-types.md

    # Introducción a los Tipos de Python
    
    **Python 3.6+** tiene soporte para <abbr title="en español, anotaciones de tipo. En inglés también se conocen como: type annotations">"type hints"</abbr> opcionales.
    
    Estos **type hints** son una nueva sintaxis, desde Python 3.6+, que permite declarar el <abbr title="por ejemplo: str, int, float, bool">tipo</abbr> de una variable.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. docs/tr/docs/python-types.md

    Ancak, ne yazık ki, yararlı hiçbir şey elde edemediniz:
    
    <img src="/img/python-types/image01.png">
    
    ### Tipleri ekle
    
    Önceki sürümden sadece bir satırı değiştirelim.
    
    Tam olarak bu parçayı, işlevin parametrelerini  değiştireceğiz:
    
    ```Python
        first_name, last_name
    ```
    
    ve bu hale getireceğiz:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Bu kadar.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. docs/zh/docs/python-types.md

    # Python 类型提示简介
    
    **Python 3.6+ 版本**加入了对"类型提示"的支持。
    
    这些**"类型提示"**是一种新的语法(在 Python 3.6 版本加入)用来声明一个变量的<abbr title="例如:str、int、float、bool">类型</abbr>。
    
    通过声明变量的类型,编辑器和一些工具能给你提供更好的支持。
    
    这只是一个关于 Python 类型提示的**快速入门 / 复习**。它仅涵盖与 **FastAPI** 一起使用所需的最少部分...实际上只有很少一点。
    
    整个 **FastAPI** 都基于这些类型提示构建,它们带来了许多优点和好处。
    
    但即使你不会用到 **FastAPI**,了解一下类型提示也会让你从中受益。
    
    /// note
    
    如果你已经精通 Python,并且了解关于类型提示的一切知识,直接跳到下一章节吧。
    
    ///
    
    ## 动机
    
    让我们从一个简单的例子开始:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. ci/official/containers/ml_build/Dockerfile

    # Setup Python
    COPY setup.python.sh /setup.python.sh
    COPY builder.requirements.txt /builder.requirements.txt
    RUN /setup.python.sh python3.9 builder.requirements.txt
    RUN /setup.python.sh python3.10 builder.requirements.txt
    RUN /setup.python.sh python3.11 builder.requirements.txt
    RUN /setup.python.sh python3.13 builder.requirements.txt
    
    # Since we are using python3.12 as the default python version, we need to
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 30 00:07:17 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/Dockerfile

    FROM devel as tf
    # Setup TF Python environment.
    COPY devel.requirements.txt /devel.requirements.txt
    COPY setup.python.sh /setup.python.sh
    RUN /setup.python.sh python3.9 devel.requirements.txt
    RUN /setup.python.sh python3.10 devel.requirements.txt
    RUN /setup.python.sh python3.11 devel.requirements.txt
    RUN /setup.python.sh python3.12 devel.requirements.txt
    RUN /setup.python.sh python3.13 devel.requirements.txt
    # "python3" commands by default run under 3.10
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:30:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top