Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 37 for AsyncIO (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/.agents/skills/fastapi/references/other-tools.md

    ## ty
    
    If ty is available, use it to check types.
    
    ## Asyncer
    
    When needing to run blocking code inside of async functions, or async code inside of blocking functions, suggest using Asyncer.
    
    Prefer it over AnyIO or asyncio.
    
    Install:
    
    ```bash
    uv add asyncer
    ```
    
    Run blocking sync code inside of async with `asyncify()`:
    
    ```python
    from asyncer import asyncify
    from fastapi import FastAPI
    
    app = FastAPI()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  2. docs/ru/docs/deployment/manually.md

    /// tip | Совет
    
    С добавлением `standard` Uvicorn установит и будет использовать ряд рекомендованных дополнительных зависимостей.
    
    В их числе `uvloop` — высокопроизводительная замена `asyncio`, дающая серьёзный прирост производительности при параллельной работе.
    
    Если вы устанавливаете FastAPI, например так: `pip install "fastapi[standard]"`, вы уже получаете и `uvicorn[standard]`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  3. docs/pt/docs/deployment/manually.md

    /// tip | Dica
    
    Adicionando o `standard`, o Uvicorn instalará e usará algumas dependências extras recomendadas.
    
    Isso inclui o `uvloop`, a substituição de alto desempenho para `asyncio`, que fornece um grande aumento de desempenho de concorrência.
    
    Quando você instala o FastAPI com algo como `pip install "fastapi[standard]"`, você já obtém `uvicorn[standard]` também.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  4. fastapi/dependencies/models.py

    from fastapi.security.base import SecurityBase
    from fastapi.types import DependencyCacheKey
    
    if sys.version_info >= (3, 13):  # pragma: no cover
        from inspect import iscoroutinefunction
    else:  # pragma: no cover
        from asyncio import iscoroutinefunction
    
    
    def _unwrapped_call(call: Callable[..., Any] | None) -> Any:
        if call is None:
            return call  # pragma: no cover
        unwrapped = inspect.unwrap(_impartial(call))
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  5. docs/en/docs/alternatives.md

    ### [Sanic](https://sanic.readthedocs.io/en/latest/) { #sanic }
    
    It was one of the first extremely fast Python frameworks based on `asyncio`. It was made to be very similar to Flask.
    
    /// note | Technical Details
    
    It used [`uvloop`](https://github.com/MagicStack/uvloop) instead of the default Python `asyncio` loop. That's what made it so fast.
    
    It clearly inspired Uvicorn and Starlette, that are currently faster than Sanic in open benchmarks.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  6. docs/tr/docs/deployment/manually.md

    ```
    
    </div>
    
    Benzer bir süreç, diğer ASGI server programlarının tamamı için de geçerlidir.
    
    /// tip | İpucu
    
    `standard` eklediğinizde Uvicorn, önerilen bazı ek bağımlılıkları kurar ve kullanır.
    
    Bunlara, `asyncio` için yüksek performanslı bir drop-in replacement olan ve concurrency performansını ciddi şekilde artıran `uvloop` da dahildir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  7. docs/zh/docs/alternatives.md

    使用 Python 类型以获得出色的编辑器支持。
    
    拥有强大的依赖注入系统,并设法尽量减少代码重复。
    
    ///
    
    ### [Sanic](https://sanic.readthedocs.io/en/latest/) { #sanic }
    
    它是最早的一批基于 `asyncio` 的极速 Python 框架之一,且做得与 Flask 很相似。
    
    /// note | 技术细节
    
    它使用了 [`uvloop`](https://github.com/MagicStack/uvloop) 来替代 Python 默认的 `asyncio` 循环。这正是它如此之快的原因。
    
    它显然启发了 Uvicorn 和 Starlette;在公开的基准测试中,它们目前比 Sanic 更快。
    
    ///
    
    /// check | 启发 **FastAPI**:
    
    找到实现疯狂性能的路径。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  8. docs/ko/docs/deployment/manually.md

    ```console
    $ pip install "uvicorn[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    다른 어떤 ASGI 서버 프로그램도 비슷한 과정이 적용됩니다.
    
    /// tip | 팁
    
    `standard`를 추가하면 Uvicorn이 권장되는 추가 의존성 몇 가지를 설치하고 사용합니다.
    
    여기에는 `uvloop`가 포함되며, 이는 `asyncio`를 고성능으로 대체할 수 있는 드롭인 대체재로, 큰 동시성 성능 향상을 제공합니다.
    
    `pip install "fastapi[standard]"` 같은 방식으로 FastAPI를 설치하면 `uvicorn[standard]`도 함께 설치됩니다.
    
    ///
    
    ## 서버 프로그램 실행하기 { #run-the-server-program }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  9. docs/en/docs/deployment/manually.md

    /// tip
    
    By adding the `standard`, Uvicorn will install and use some recommended extra dependencies.
    
    That including `uvloop`, the high-performance drop-in replacement for `asyncio`, that provides the big concurrency performance boost.
    
    When you install FastAPI with something like `pip install "fastapi[standard]"` you already get `uvicorn[standard]` as well.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  10. docs/es/docs/deployment/manually.md

    /// tip | Consejo
    
    Al añadir `standard`, Uvicorn instalará y usará algunas dependencias adicionales recomendadas.
    
    Eso incluye `uvloop`, el reemplazo de alto rendimiento para `asyncio`, que proporciona un gran impulso de rendimiento en concurrencia.
    
    Cuando instalas FastAPI con algo como `pip install "fastapi[standard]"` ya obtienes `uvicorn[standard]` también.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7K bytes
    - Click Count (0)
Back to Top