- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 1,045 for cython (0.06 seconds)
-
docs/zh-hant/docs/alternatives.md
它們大致位於相反兩端,彼此互補。 Requests 設計非常簡單直觀、容易使用,且有合理的預設值。同時它也非常強大且可自訂。 因此,如其官網所言: > Requests is one of the most downloaded Python packages of all time 用法非常簡單。例如,發出一個 `GET` 請求,你會寫: ```Python response = requests.get("http://example.com/some/url") ``` 相對地,FastAPI 的 API 路徑操作(path operation)可能像這樣: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 20K bytes - Click Count (0) -
ci/official/utilities/code_check_full.bats
//tensorflow/python:mixed_precision //tensorflow/python:tf_optimizer //tensorflow/python:compare_test_proto_py //tensorflow/python/framework:test_file_system.so //tensorflow/python/debug:grpc_tensorflow_server.par //tensorflow/python/feature_column:vocabulary_testdata //tensorflow/python/util:nest_test_main_lib //tensorflow/lite/experimental/examples/lstm:rnn_cell //tensorflow/lite/experimental/examples/lstm:rnn_cell.py
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 28 22:41:17 GMT 2026 - 13.6K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/request-files.md
# 請求中的檔案 { #request-files } 你可以使用 `File` 定義由用戶端上傳的檔案。 /// info 若要接收上傳的檔案,請先安裝 [`python-multipart`](https://github.com/Kludex/python-multipart)。 請先建立並啟用一個[虛擬環境](../virtual-environments.md),然後安裝,例如: ```console $ pip install python-multipart ``` 因為上傳的檔案是以「表單資料」送出的。 /// ## 匯入 `File` { #import-file } 從 `fastapi` 匯入 `File` 與 `UploadFile`: {* ../../docs_src/request_files/tutorial001_an_py310.py hl[3] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.6K bytes - Click Count (0) -
docs/en/docs/advanced/security/http-basic-auth.md
And they send a request with a username `johndoe` and a password `love123`. Then the Python code in your application would be equivalent to something like: ```Python if "johndoe" == "stanleyjobson" and "love123" == "swordfish": ... ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5K bytes - Click Count (0) -
docs/de/docs/tutorial/query-params-str-validations.md
Erinnern Sie sich, dass ich Ihnen zuvor in [Python-Typen-Intro](../python-types.md#type-hints-with-metadata-annotations) gesagt habe, dass `Annotated` verwendet werden kann, um Metadaten zu Ihren Parametern hinzuzufügen? Jetzt ist es soweit, dies mit FastAPI zu verwenden. 🚀 Wir hatten diese Typannotation: ```Python q: str | None = None ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 18.7K bytes - Click Count (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
Agora é a hora de usá-lo com FastAPI. 🚀 Tínhamos esta anotação de tipo: ```Python q: str | None = None ``` O que faremos é envolver isso com `Annotated`, para que fique assim: ```Python q: Annotated[str | None] = None ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 17.2K bytes - Click Count (0) -
docs/uk/docs/tutorial/path-params.md
```JSON {"item_id":3} ``` /// check | Перевірте Зверніть увагу, що значення, яке отримала (і повернула) ваша функція, — це `3`, як Python `int`, а не рядок `"3"`. Отже, з таким оголошенням типу **FastAPI** надає вам автоматичний запит <dfn title="перетворення рядка, що надходить із HTTP-запиту, у дані Python">«парсинг»</dfn>. /// ## Валідація даних { #data-validation }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 14K bytes - Click Count (0) -
docs/zh/docs/tutorial/request-files.md
# 请求文件 { #request-files } 你可以使用 `File` 定义由客户端上传的文件。 /// info | 信息 要接收上传的文件,请先安装 [`python-multipart`](https://github.com/Kludex/python-multipart)。 请确保你创建一个[虚拟环境](../virtual-environments.md)、激活它,然后安装,例如: ```console $ pip install python-multipart ``` 这是因为上传文件是以「表单数据」发送的。 /// ## 导入 `File` { #import-file } 从 `fastapi` 导入 `File` 和 `UploadFile`: {* ../../docs_src/request_files/tutorial001_an_py310.py hl[3] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6.8K bytes - Click Count (0) -
.github/DISCUSSION_TEMPLATE/questions.yml
```bash python -c "import pydantic; print(pydantic.version.VERSION)" ``` validations: required: true - type: input id: python-version attributes: label: Python Version description: | What Python version are you using? You can find the Python version with: ```bash python --versionCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Aug 03 15:59:41 GMT 2023 - 5.8K bytes - Click Count (0) -
docs/de/docs/advanced/security/http-basic-auth.md
Dann würde der Python-Code in Ihrer Anwendung etwa so aussehen: ```Python if "johndoe" == "stanleyjobson" and "love123" == "swordfish": ... ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 6.1K bytes - Click Count (0)