Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,045 for cython (0.04 seconds)

  1. docs/fr/docs/alternatives.md

    > Requests est l'un des packages Python les plus téléchargés de tous les temps
    
    La façon dont vous l'utilisez est très simple. Par exemple, pour faire une requête `GET`, vous devez écrire :
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    L’opération de chemin d'accès correspondante dans **FastAPI** pourrait ressembler à ceci :
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  2. docs/fr/docs/index.md

    Vous faites cela avec les types Python standard modernes.
    
    Vous n'avez pas à apprendre une nouvelle syntaxe, les méthodes ou les classes d'une bibliothèque spécifique, etc.
    
    Juste du **Python** standard.
    
    Par exemple, pour un `int` :
    
    ```Python
    item_id: int
    ```
    
    ou pour un modèle `Item` plus complexe :
    
    ```Python
    item: Item
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  3. .github/workflows/topic-repos.yml

            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
              python-version-file: ".python-version"
          - name: Setup uv
            uses: astral-sh/setup-uv@v7
            with:
              enable-cache: true
              cache-dependency-glob: |
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 969 bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/bigger-applications.md

    다음처럼 import할 수도 있습니다:
    
    ```Python
    from app.routers import items, users
    ```
    
    /// info | 정보
    
    첫 번째 버전은 "상대 import"입니다:
    
    ```Python
    from .routers import items, users
    ```
    
    두 번째 버전은 "절대 import"입니다:
    
    ```Python
    from app.routers import items, users
    ```
    
    Python Packages와 Modules에 대해 더 알아보려면 [Modules에 대한 Python 공식 문서](https://docs.python.org/3/tutorial/modules.html)를 읽어보세요.
    
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/query-params-str-validations.md

    Пришло время использовать его с FastAPI. 🚀
    
    У нас была такая аннотация типа:
    
    ```Python
    q: str | None = None
    ```
    
    Мы «обернём» это в `Annotated`, и получится:
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  6. docs/zh/docs/alternatives.md

    它们处在某种意义上的“对立端”,彼此互补。
    
    Requests 设计非常简单直观,易于使用,且有合理的默认值。同时它也非常强大、可定制。
    
    这就是为什么,正如其官网所说:
    
    > Requests 是有史以来下载量最高的 Python 包之一
    
    它的用法非常简单。例如,进行一次 `GET` 请求,你会这样写:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    对应地,FastAPI 的 API 路径操作可能看起来是这样的:
    
    ```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:06:37 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  7. docs/tr/docs/tutorial/path-params.md

    ```JSON
    {"item_id":3}
    ```
    
    /// check | Ek bilgi
    
    Dikkat edin: fonksiyonunuzun aldığı (ve döndürdüğü) değer olan `3`, string `"3"` değil, bir Python `int`'idir.
    
    Yani, bu tip tanımıyla birlikte **FastAPI** size otomatik request "<dfn title="HTTP request'ten gelen string'i Python verisine dönüştürme">ayrıştırma</dfn>" sağlar.
    
    ///
    
    ## Veri Doğrulama { #data-validation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/query-params-str-validations.md

    [Python Tiplerine Giriş](../python-types.md#type-hints-with-metadata-annotations) içinde `Annotated` ile parametrelerinize metadata ekleyebileceğinizi söylemiştim, hatırlıyor musunuz?
    
    Şimdi bunu FastAPI ile kullanmanın zamanı. 🚀
    
    Şu tip anotasyonuna sahiptik:
    
    ```Python
    q: str | None = None
    ```
    
    Şimdi bunu `Annotated` ile saracağız; şöyle olacak:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17.3K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/features.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### 現代 Python { #just-modern-python }
    
    這一切都基於標準的 **Python 型別**宣告(感謝 Pydantic)。無需學習新的語法,只需使用標準的現代 Python。
    
    如果你需要 2 分鐘來學習如何使用 Python 型別(即使你不使用 FastAPI),可以看看這個簡短的教學:[Python 型別](python-types.md)。
    
    如果你寫帶有 Python 型別的程式碼:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # 宣告一個變數為 string
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  10. .github/workflows/label-approved.yml

        - name: Dump GitHub context
          env:
            GITHUB_CONTEXT: ${{ toJson(github) }}
          run: echo "$GITHUB_CONTEXT"
        - uses: actions/checkout@v6
        - name: Set up Python
          uses: actions/setup-python@v6
          with:
            python-version-file: ".python-version"
        - name: Setup uv
          uses: astral-sh/setup-uv@v7
          with:
            enable-cache: true
            cache-dependency-glob: |
                pyproject.toml
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 1.1K bytes
    - Click Count (0)
Back to Top