Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 133 for terms (0.28 sec)

  1. docs/zh/docs/index.md

    ## 安装
    
    <div class="termy">
    
    ```console
    $ pip install fastapi
    
    ---> 100%
    ```
    
    </div>
    
    你还会需要一个 ASGI 服务器,生产环境可以使用 <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a> 或者 <a href="https://gitlab.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>。
    
    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  2. docs/ru/docs/deployment/docker.md

    ```
    fastapi>=0.68.0,<0.69.0
    pydantic>=1.8.0,<2.0.0
    uvicorn>=0.15.0,<0.16.0
    ```
    
    Устанавливать зависимости проще всего с помощью `pip`:
    
    <div class="termy">
    
    ```console
    $ pip install -r requirements.txt
    ---> 100%
    Successfully installed fastapi pydantic uvicorn
    ```
    
    </div>
    
    !!! info "Информация"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/sql-databases.md

        ├── models.py
        └── schemas.py
    ```
    
    该文件`__init__.py`只是一个空文件,但它告诉 Python 其中`sql_app`的所有模块(Python 文件)都是一个包。
    
    现在让我们看看每个文件/模块的作用。
    
    ## 安装 SQLAlchemy
    
    先下载`SQLAlchemy`所需要的依赖:
    
    <div class="termy">
    
    ```console
    $ pip install sqlalchemy
    
    ---> 100%
    ```
    
    </div>
    
    ## 创建 SQLAlchemy 部件
    
    让我们转到文件`sql_app/database.py`。
    
    ### 导入 SQLAlchemy 部件
    
    ```Python hl_lines="1-3"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27K bytes
    - Viewed (0)
  4. docs/en/docs/alternatives.md

    Using it led to the creation of several Flask full-stack generators. These are the main stacks I (and several external teams) have been using up to now:
    
    * <a href="https://github.com/tiangolo/full-stack" class="external-link" target="_blank">https://github.com/tiangolo/full-stack</a>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  5. fastapi/param_functions.py

            Optional[Sequence[str]],
            Doc(
                """
                OAuth2 scopes required for the *path operation* that uses this Security
                dependency.
    
                The term "scope" comes from the OAuth2 specification, it seems to be
                intentionaly vague and interpretable. It normally refers to permissions,
                in cases to roles.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/metadata.md

    | `title` | `str` | Заголовок API. |
    | `description` | `str` | Краткое описание API. Может быть использован Markdown. |
    | `version` | `string` | Версия API. Версия вашего собственного приложения, а не OpenAPI. К примеру `2.5.0`. |
    | `terms_of_service` | `str` | Ссылка к условиям пользования API. Если указано, то это должен быть URL-адрес. |
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/debugging.md

    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    но не вызывался, когда другой файл импортирует это, например:
    
    ```Python
    from myapp import app
    ```
    
    #### Больше деталей
    
    Давайте назовём ваш файл `myapp.py`.
    
    Если вы запустите его с помощью:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/websockets.md

    ## `WebSockets` installieren
    
    Zuerst müssen Sie `WebSockets` installieren:
    
    <div class="termy">
    
    ```console
    $ pip install websockets
    
    ---> 100%
    ```
    
    </div>
    
    ## WebSockets-Client
    
    ### In Produktion
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/settings.md

    === "💾, 🇸🇻, 🚪 🎉"
    
        <div class="termy">
    
        ```console
        // You could create an env var MY_NAME with
        $ export MY_NAME="Wade Wilson"
    
        // Then you could use it with other programs, like
        $ echo "Hello $MY_NAME"
    
        Hello Wade Wilson
        ```
    
        </div>
    
    === "🚪 📋"
    
        <div class="termy">
    
        ```console
        // Create an env var MY_NAME
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/behind-a-proxy.md

    Starten Sie nun Traefik:
    
    <div class="termy">
    
    ```console
    $ ./traefik --configFile=traefik.toml
    
    INFO[0000] Configuration loaded from file: /home/user/awesomeapi/traefik.toml
    ```
    
    </div>
    
    Und jetzt starten Sie Ihre Anwendung mit Uvicorn, indem Sie die Option `--root-path` verwenden:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:30:07 GMT 2024
    - 13.1K bytes
    - Viewed (0)
Back to top