Skip to content

🔰 - 👩‍💻 🦮

👉 🔰 🎦 👆 ❔ ⚙️ FastAPI ⏮️ 🌅 🚮 ⚒, 🔁 🔁.

🔠 📄 📉 🏗 🔛 ⏮️ 🕐, ✋️ ⚫️ 🏗 🎏 ❔, 👈 👆 💪 🚶 🔗 🙆 🎯 1️⃣ ❎ 👆 🎯 🛠️ 💪.

⚫️ 🏗 👷 🔮 🔗.

👆 💪 👟 🔙 & 👀 ⚫️❔ ⚫️❔ 👆 💪.

🏃 📟

🌐 📟 🍫 💪 📁 & ⚙️ 🔗 (👫 🤙 💯 🐍 📁).

🏃 🙆 🖼, 📁 📟 📁 main.py, & ▶️ uvicorn ⏮️:

$ uvicorn main:app --reload

<span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
<span style="color: green;">INFO</span>:     Started reloader process [28720]
<span style="color: green;">INFO</span>:     Started server process [28722]
<span style="color: green;">INFO</span>:     Waiting for application startup.
<span style="color: green;">INFO</span>:     Application startup complete.

⚫️ 🏆 💡 👈 👆 ✍ ⚖️ 📁 📟, ✍ ⚫️ & 🏃 ⚫️ 🌐.

⚙️ ⚫️ 👆 👨‍🎨 ⚫️❔ 🤙 🎦 👆 💰 FastAPI, 👀 ❔ 🐥 📟 👆 ✔️ ✍, 🌐 🆎 ✅, ✍, ♒️.


❎ FastAPI

🥇 🔁 ❎ FastAPI.

🔰, 👆 💪 💚 ❎ ⚫️ ⏮️ 🌐 📦 🔗 & ⚒:

$ pip install "fastapi[all]"

---> 100%

...👈 🔌 uvicorn, 👈 👆 💪 ⚙️ 💽 👈 🏃 👆 📟.

Note

👆 💪 ❎ ⚫️ 🍕 🍕.

👉 ⚫️❔ 👆 🔜 🎲 🕐 👆 💚 🛠️ 👆 🈸 🏭:

pip install fastapi

uvicorn 👷 💽:

pip install "uvicorn[standard]"

& 🎏 🔠 📦 🔗 👈 👆 💚 ⚙️.

🏧 👩‍💻 🦮

📤 🏧 👩‍💻 🦮 👈 👆 💪 ✍ ⏪ ⏮️ 👉 🔰 - 👩‍💻 🦮.

🏧 👩‍💻 🦮, 🏗 🔛 👉, ⚙️ 🎏 🔧, & 💡 👆 ➕ ⚒.

✋️ 👆 🔜 🥇 ✍ 🔰 - 👩‍💻 🦮 (⚫️❔ 👆 👂 ▶️️ 🔜).

⚫️ 🔧 👈 👆 💪 🏗 🏁 🈸 ⏮️ 🔰 - 👩‍💻 🦮, & ⤴️ ↔ ⚫️ 🎏 🌌, ⚓️ 🔛 👆 💪, ⚙️ 🌖 💭 ⚪️➡️ 🏧 👩‍💻 🦮.