- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 1,045 for cython (0.05 seconds)
-
docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
### Что такое «контекстные менеджеры» { #what-are-context-managers } «Контекстные менеджеры» — это любые объекты Python, которые можно использовать в операторе `with`. Например, [можно использовать `with` для чтения файла](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 19.4K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_mermaid_translated.md
Some text ```python # This is a sample Python code block def hello_world(): # Comment with indentation print("Hello, world!") # Print greeting ``` Some more text ```toml # This is a sample TOML code block title = "TOML Example" # Title of the document ``` And more text ```console // Use the command "live" and pass the language code as a CLI argument $ python ./scripts/docs.py live es
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 889 bytes - Click Count (0) -
docs/de/docs/tutorial/path-params.md
Weil die erlaubten Werte für den *Pfad-Parameter* nun vordefiniert sind, kann die interaktive Dokumentation sie als Auswahl-Drop-Down anzeigen: <img src="/img/tutorial/path-params/image03.png"> ### Mit Python-*Enumerationen* arbeiten { #working-with-python-enumerations } Der *Pfad-Parameter* wird ein *<abbr title="Member – Mitglied: Einer der möglichen Werte einer Enumeration">Member</abbr> einer Enumeration* sein.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 10K bytes - Click Count (0) -
docs/uk/docs/tutorial/body-nested-models.md
## Поля списку { #list-fields } Ви можете визначити атрибут як підтип. Наприклад, Python-список (`list`): {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *} Це зробить `tags` списком, хоча не визначається тип елементів списку. ## Поля списку з параметром типу { #list-fields-with-type-parameter } Але Python має специфічний спосіб оголошення списків з внутрішніми типами або «параметрами типу»:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 10.3K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_wrong_lang_code.md
# Code blocks { #code-blocks } Some text ```python # This is a sample Python code block def hello_world(): # Comment with indentation print("Hello, world!") # Print greeting ``` Some more text The following block has wrong language code (should be TOML): ```yaml # This is a sample TOML code block title = "TOML Example" # Title of the document ``` And more text ```consoleCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 946 bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_wrong_lang_code_2.md
# Code blocks { #code-blocks } Some text ```python # This is a sample Python code block def hello_world(): # Comment with indentation print("Hello, world!") # Print greeting ``` Some more text The following block has wrong language code (should be TOML): ``` # This is a sample TOML code block title = "TOML Example" # Title of the document ``` And more text ```consoleCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 942 bytes - Click Count (0) -
docs/de/docs/tutorial/testing.md
Es basiert auf [HTTPX](https://www.python-httpx.org), welches wiederum auf der Grundlage von Requests konzipiert wurde, es ist also sehr vertraut und intuitiv. Damit können Sie [pytest](https://docs.pytest.org/) direkt mit **FastAPI** verwenden. ## `TestClient` verwenden { #using-testclient } /// info | Info Um `TestClient` zu verwenden, installieren Sie zunächst [`httpx`](https://www.python-httpx.org).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 6.6K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/testing.md
多虧了 [Starlette](https://www.starlette.dev/testclient/),測試 **FastAPI** 應用既簡單又好用。 它是基於 [HTTPX](https://www.python-httpx.org) 打造,而 HTTPX 的設計又參考了 Requests,所以用起來非常熟悉、直覺。 借助它,你可以直接用 [pytest](https://docs.pytest.org/) 來測試 **FastAPI**。 ## 使用 `TestClient` { #using-testclient } /// info 要使用 `TestClient`,請先安裝 [`httpx`](https://www.python-httpx.org)。 請先建立並啟用一個[虛擬環境](../virtual-environments.md),然後安裝,例如: ```console $ pip install httpxCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5.6K bytes - Click Count (0) -
docs/zh/docs/tutorial/testing.md
感谢 [Starlette](https://www.starlette.dev/testclient/),测试**FastAPI** 应用轻松又愉快。 它基于 [HTTPX](https://www.python-httpx.org),而HTTPX又是基于Requests设计的,所以很相似且易懂。 有了它,你可以直接与**FastAPI**一起使用 [pytest](https://docs.pytest.org/)。 ## 使用 `TestClient` { #using-testclient } /// info | 信息 要使用 `TestClient`,先要安装 [`httpx`](https://www.python-httpx.org)。 确保你创建并激活一个[虚拟环境](../virtual-environments.md),然后再安装,例如: ```console $ pip install httpxCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.4K bytes - Click Count (0) -
docs/es/docs/tutorial/request-form-models.md
/// info | Información Para usar formularios, primero instala [`python-multipart`](https://github.com/Kludex/python-multipart). Asegúrate de crear un [entorno virtual](../virtual-environments.md), activarlo, y luego instalarlo, por ejemplo: ```console $ pip install python-multipart ``` /// /// note | Nota Esto es compatible desde la versión `0.113.0` de FastAPI. 🤓
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 2.3K bytes - Click Count (0)