Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 873 for Python3 (0.08 sec)

  1. .github/actions/notify-translations/Dockerfile

    FROM python:3.9
    
    RUN pip install httpx PyGithub "pydantic==1.5.1" "pyyaml>=5.3.1,<6.0.0"
    
    COPY ./app /app
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 19:51:39 UTC 2023
    - 138 bytes
    - Viewed (0)
  2. docs/pt/docs/alternatives.md

    > Requests é um dos pacotes Python mais baixados de todos os tempos
    
    O jeito de usar é muito simples. Por exemplo, para fazer uma requisição `GET`, você deveria escrever:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    A contra-parte da aplicação FastAPI, *rota de operação*, poderia parecer como:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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/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)
Back to top