Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 637 for Lain (0.05 sec)

  1. docs/em/docs/deployment/server-workers.md

    ```
    
    </div>
    
    ➡️ 👀 ⚫️❔ 🔠 👈 🎛 ⛓:
    
    * `main:app`: 👉 🎏 ❕ ⚙️ Uvicorn, `main` ⛓ 🐍 🕹 📛 "`main`",, 📁 `main.py`. &amp; `app` 📛 🔢 👈 **FastAPI** 🈸.
        * 👆 💪 🌈 👈 `main:app` 🌓 🐍 `import` 📄 💖:
    
            ```Python
            from main import app
            ```
    
        * , ❤ `main:app` 🔜 🌓 🐍 `import` 🍕 `from main import app`.
    * `--workers`: 🔢 👨‍🏭 🛠️ ⚙️, 🔠 🔜 🏃 Uvicorn 👨‍🏭, 👉 💼, 4️⃣ 👨‍🏭.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/index.md

    All the code blocks can be copied and used directly (they are actually tested Python files).
    
    To run any of the examples, copy the code to a file `main.py`, and start `fastapi dev` with:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. docs/pt/docs/fastapi-cli.md

    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    <font color="#3465A4">INFO    </font> Resolved absolute path <font color="#75507B">/home/user/code/awesomeapp/</font><font color="#AD7FA8">main.py</font>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/settings.md

    <div class="termy">
    
    ```console
    // Here we don't set the env var yet
    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    // But if we create an environment variable first
    $ export MY_NAME="Wade Wilson"
    
    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. docs/vi/docs/fastapi-cli.md

       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with the
                 following code:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 07 22:09:16 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/websockets.md

    {*../../docs_src/websockets/tutorial001.py hl[48:52]*}
    
    Você pode receber e enviar dados binários, de texto e JSON.
    
    ## Tente você mesmo
    
    Se seu arquivo for nomeado `main.py`, execute sua aplicação com:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. docs/em/docs/deployment/docker.md

    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1️⃣. 📁 `main.py` 📁 `/code` 📁 🔗 (🍵 🙆 `./app` 📁).
    
    2️⃣. 🏃 Uvicorn &amp; 💬 ⚫️ 🗄 `app` 🎚 ⚪️➡️ `main` (↩️ 🏭 ⚪️➡️ `app.main`).
    
    ⤴️ 🔆 Uvicorn 📋 ⚙️ 🆕 🕹 `main` ↩️ `app.main` 🗄 FastAPI 🎚 `app`.
    
    ## 🛠️ 🔧
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/first-steps.md

    Найпростіший файл FastAPI може виглядати так:
    
    {* ../../docs_src/first_steps/tutorial001.py *}
    
    Скопіюйте це до файлу `main.py`.
    
    Запустіть сервер:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. docs/vi/docs/environment-variables.md

    <div class="termy">
    
    ```console
    // Ở đây chúng ta chưa cài đặt biến môi trường
    $ python main.py
    
    // Vì chúng ta chưa cài đặt biến môi trường, chúng ta nhận được giá trị mặc định
    
    Hello World from Python
    
    // Nhưng nếu chúng ta tạo một biến môi trường trước đó
    $ export MY_NAME="Wade Wilson"
    
    // Và sau đó gọi chương trình lại
    $ python main.py
    
    // Bây giờ nó có thể đọc biến môi trường
    
    Hello Wade Wilson from Python
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 07 22:17:13 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. docs/es/docs/fastapi-cli.md

       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with the
                 following code:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top