Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 834 for Pythons (0.21 sec)

  1. 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
    cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    $VERSION-distutils
    EOF
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/encoder.md

    Es nimmt ein Objekt entgegen, wie etwa ein Pydantic-Modell, und gibt eine JSON-kompatible Version zurück:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4  21"
        {!> ../../../docs_src/encoder/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="5  22"
        {!> ../../../docs_src/encoder/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:07:21 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. 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):
    
    === "Python 3.9+"
    
        ```Python hl_lines="18"
        {!> ../../../docs_src/extra_models/tutorial004_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  20"
        {!> ../../../docs_src/extra_models/tutorial004.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:26:47 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. docs/de/docs/python-types.md

    Ein Beispiel aus der offiziellen Pydantic Dokumentation:
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011.py!}
        ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K 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.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:32:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/body-nested-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/body_nested_models/tutorial003_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial003_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  14"
        {!> ../../../docs_src/body_nested_models/tutorial003.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. docs/de/docs/features.md

    ### Nur modernes Python
    
    Alles basiert auf **Python 3.8 Typ**-Deklarationen (dank Pydantic). Es muss keine neue Syntax gelernt werden, nur standardisiertes modernes Python.
    
    Wenn Sie eine zweiminütige Auffrischung benötigen, wie man Python-Typen verwendet (auch wenn Sie FastAPI nicht benutzen), schauen Sie sich das kurze Tutorial an: [Einführung in Python-Typen](python-types.md){.internal-link target=_blank}.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    === "Python 3.9+"
    
        ```Python hl_lines="6  14  22"
        {!> ../../../docs_src/dependencies/tutorial008_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="5  13  21"
        {!> ../../../docs_src/dependencies/tutorial008_an.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:10:29 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/custom-response.md

    !!! warning "Achtung"
        `ujson` ist bei der Behandlung einiger Sonderfälle weniger sorgfältig als Pythons eingebaute Implementierung.
    
    ```Python hl_lines="2  7"
    {!../../../docs_src/custom_response/tutorial001.py!}
    ```
    
    !!! tip "Tipp"
        Möglicherweise ist `ORJSONResponse` eine schnellere Alternative.
    
    ### `RedirectResponse`
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 23 13:05:12 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/settings.md

        ```
    
        </div>
    
    ### Umgebungsvariablen mit Python auslesen
    
    Sie können Umgebungsvariablen auch außerhalb von Python im Terminal (oder mit einer anderen Methode) erstellen und diese dann mit Python auslesen.
    
    Sie könnten zum Beispiel eine Datei `main.py` haben mit:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    !!! tip "Tipp"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
Back to top