Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 873 for Pythona (0.07 sec)

  1. common/Makefile.common.mk

    .*$$' $(MAKEFILE_LIST) | sort  | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
    
    .PHONY: lint-dockerfiles lint-scripts lint-yaml lint-copyright-banner lint-go lint-python lint-helm lint-markdown lint-sass lint-typescript lint-all format-go format-python update-common lint-licenses dump-licenses dump-licenses-csv check-clean-repo tidy-docker help tidy-go mod-download-go...
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. docs/zh/docs/contributing.md

    首先,你可能想了解 [帮助 FastAPI 及获取帮助](help-fastapi.md){.internal-link target=_blank}的基本方式。
    
    ## 开发
    
    如果你已经克隆了源码仓库,并且需要深入研究代码,下面是设置开发环境的指南。
    
    ### 通过 `venv` 管理虚拟环境
    
    你可以使用 Python 的 `venv` 模块在一个目录中创建虚拟环境:
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    这将使用 Python 程序创建一个 `./env/` 目录,然后你将能够为这个隔离的环境安装软件包。
    
    ### 激活虚拟环境
    
    使用以下方法激活新环境:
    
    //// tab | Linux, macOS
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/custom-response.md

    ```Python hl_lines="1  18"
    {!../../docs_src/response_directly/tutorial002.py!}
    ```
    
    ### `HTMLResponse`
    
    Takes some text or bytes and returns an HTML response, as you read above.
    
    ### `PlainTextResponse`
    
    Takes some text or bytes and returns a plain text response.
    
    ```Python hl_lines="2  7  9"
    {!../../docs_src/custom_response/tutorial005.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. docs/en/docs/reference/middleware.md

    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.cors import CORSMiddleware
    ```
    
    ::: fastapi.middleware.gzip.GZipMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.gzip import GZipMiddleware
    ```
    
    ::: fastapi.middleware.httpsredirect.HTTPSRedirectMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 991 bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/handling-errors.md

    ### Импортируйте `HTTPException`
    
    ```Python hl_lines="1"
    {!../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    ### Вызовите `HTTPException` в своем коде
    
    `HTTPException` - это обычное исключение Python с дополнительными данными, актуальными для API.
    
    Поскольку это исключение Python, то его не `возвращают`, а `вызывают`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.packages.txt

    libhdf5-serial-dev
    libomp-18-dev
    libssl-dev
    libtool
    libxml2-dev
    libxslt1-dev
    libzmq3-dev
    mlocate
    moreutils
    openjdk-21-jdk
    openjdk-21-jre-headless
    openssl
    parallel
    patchelf
    pkg-config
    python3-dev
    python3-setuptools
    rsync
    software-properties-common
    sudo
    swig
    unzip
    vim
    wget
    zip
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 09 19:53:03 UTC 2024
    - 494 bytes
    - Viewed (0)
  7. docs/em/docs/advanced/security/http-basic-auth.md

        * ⚫️ 🔌 `username` &amp; `password` 📨.
    
    ```Python hl_lines="2  6  10"
    {!../../docs_src/security/tutorial006.py!}
    ```
    
    🕐❔ 👆 🔄 📂 📛 🥇 🕰 (⚖️ 🖊 "🛠️" 🔼 🩺) 🖥 🔜 💭 👆 👆 🆔 &amp; 🔐:
    
    <img src="/img/tutorial/security/image12.png">
    
    ## ✅ 🆔
    
    📥 🌅 🏁 🖼.
    
    ⚙️ 🔗 ✅ 🚥 🆔 &amp; 🔐 ☑.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/additional-responses.md

    Para estes casos, você pode utilizar a técnica do Python de "desempacotamento" de um `dict` utilizando `**dict_to_unpack`:
    
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    Aqui, o `new_dict` terá todos os pares de chave-valor do `old_dict` mais o novo par de chave-valor:
    
    ```Python
    {
        "old key": "old value",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/security/first-steps.md

    ## ✍ `main.py`
    
    📁 🖼 📁 `main.py`:
    
    ```Python
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    ## 🏃 ⚫️
    
    /// info
    
    🥇 ❎ <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    🤶 Ⓜ. `pip install python-multipart`.
    
    👉 ↩️ **Oauth2️⃣** ⚙️ "📨 📊" 📨 `username` &amp; `password`.
    
    ///
    
    🏃 🖼 ⏮️:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/response-status-code.md

    ///
    
    O parâmetro `status_code` recebe um número com o código de status HTTP.
    
    /// info | "Informação"
    
    `status_code` também pode receber um `IntEnum`, como o do Python <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    Dessa forma:
    
    * Este código de status será retornado na resposta.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top