- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 203 for Main (0.14 sec)
-
docs/em/docs/advanced/sub-applications.md
👉 💼, ⚫️ 🔜 📌 ➡ `/subapi`: ```Python hl_lines="11 19" {!../../../docs_src/sub_applications/tutorial001.py!} ``` ### ✅ 🏧 🛠️ 🩺 🔜, 🏃 `uvicorn` ⏮️ 👑 📱, 🚥 👆 📁 `main.py`, ⚫️ 🔜: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 2.4K bytes - Viewed (0) -
docs/bn/docs/index.md
INFO: Application startup complete. ``` </div> <details markdown="1"> <summary>নির্দেশনা সম্পর্কে <code>uvicorn main:app --reload</code>...</summary> `uvicorn main:app` নির্দেশনাটি দ্বারা বোঝায়: - `main`: ফাইল `main.py` (পাইথন "মডিউল")। - `app`: `app = FastAPI()` লাইন দিয়ে `main.py` এর ভিতরে তৈরি করা অবজেক্ট। - `--reload`: কোড পরিবর্তনের পরে সার্ভার পুনরায় চালু করুন। এটি শুধুমাত্র ডেভেলপমেন্ট এর সময় ব্যবহার করুন।
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 30.2K bytes - Viewed (0) -
docs/en/docs/deployment/concepts.md
You can use simple tools like `htop` to see the CPU and RAM used in your server or the amount used by each process. Or you can use more complex monitoring tools, which may be distributed across servers, etc. ## Recap
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 18K bytes - Viewed (0) -
docs/pt/docs/deployment.md
```Dockerfile FROM python:3.7 RUN pip install fastapi uvicorn EXPOSE 80 COPY ./app /app CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"] ``` ### Crie o código **FastAPI** * Crie um diretório `app` e entre nele. * Crie um arquivo `main.py` com: ```Python from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root():
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Aug 18 16:16:54 GMT 2022 - 16.8K bytes - Viewed (0) -
docs/de/docs/how-to/custom-docs-ui-assets.md
Nehmen wir an, die Dateistruktur Ihres Projekts sieht folgendermaßen aus: ``` . ├── app │ ├── __init__.py │ ├── main.py ``` Erstellen Sie jetzt ein Verzeichnis zum Speichern dieser statischen Dateien. Ihre neue Dateistruktur könnte so aussehen: ``` . ├── app │ ├── __init__.py │ ├── main.py └── static/ ``` ### Die Dateien herunterladen
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:17:36 GMT 2024 - 9.2K bytes - Viewed (0) -
docs/zh/docs/advanced/extending-openapi.md
本文介绍如何为 FastAPI 应用提供文件自托管服务,并设置文档使用这些文件。 ### 项目文件架构 假设项目文件架构如下: ``` . ├── app │ ├── __init__.py │ ├── main.py ``` 接下来,创建存储静态文件的文件夹。 新的文件架构如下: ``` . ├── app │ ├── __init__.py │ ├── main.py └── static/ ``` ### 下载文件 下载文档所需的静态文件,把文件放到 `static/` 文件夹里。 右键点击链接,选择**另存为...**。 **Swagger UI** 使用如下文件:
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sat Mar 30 22:46:12 GMT 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
Let's use the tools provided by **FastAPI** to handle security. ## How it looks Let's first just use the code and see how it works, and then we'll come back to understand what's happening. ## Create `main.py` Copy the example in a file `main.py`: === "Python 3.9+" ```Python {!> ../../../docs_src/security/tutorial001_an_py39.py!} ``` === "Python 3.8+" ```Python
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/en/docs/how-to/conditional-openapi.md
Then you could disable OpenAPI (including the UI docs) by setting the environment variable `OPENAPI_URL` to the empty string, like: <div class="termy"> ```console $ OPENAPI_URL= uvicorn main:app <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 2.3K bytes - Viewed (0) -
docs/de/docs/advanced/behind-a-proxy.md
### Bereitstellung des `root_path` Um dies zu erreichen, können Sie die Kommandozeilenoption `--root-path` wie folgt verwenden: <div class="termy"> ```console $ uvicorn main:app --root-path /api/v1 <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> Falls Sie Hypercorn verwenden, das hat auch die Option `--root-path`.
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) -
docs/ru/docs/tutorial/schema-extra-example.md
или `examples` добавляются в <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#parameter-object" class="external-link" target="_blank">определение OpenAPI, к объекту `Parameter Object` (в спецификации)</a>. И для функций `Body()`, `File()` и `Form()` аргументы `example` или `examples` аналогично добавляются в <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#mediaTypeObject" class="external-link" target="_blank"> определение...
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.6K bytes - Viewed (0)