فارسی
باز کردن در Telegram
PPython

Python

✅ اعتماد بالا
@Python · گروه · فناوری · ایندکس از 2026-05-27
94 201عضو−37 در هفته
57نویسنده در 30 روز
194پیام در 30 روز
242 719پیام در ایندکس
R
Hi friends , can anyone tell me best resource for python backend development Any resource Yt , book anything
A
For now use the resources mentioned
👍1
N
from fastapi import BackgroundTasks @app.get("/api/health") async def health(request: Request, background: BackgroundTasks, visit: bool = False): ... Today i read newly about this BackgroundTask it looks like it is just a replacement of asyncio.to_thread, as this looks like the backgorund task will be done after the response has send with the return it will run side by side of my main funciton. am i right now?
D
Secret01, please verify you are human by clicking the button below. You have 90 seconds.
N
When using a Flask web app with Flask-Login, a cookie is saved in the browser. If a user attempts to modify the cookie key, Flask detects and blocks the login attempt. What is the best equivalent approach in FastAPI? I have heard that I need to manually implement something with middleware, but I do not understand what is required here. Based on your experience, what do I need to learn to implement a standard email and password login mechanism in FastAPI or any better easy way ?
R
O
Hi guys please I want build an app which measures the morphometric traits of livestock. It should snap the animals in the field and provide the estimated result of the measurement. It can run on Android devices. How do I do it?
N
In one of my learning fastapi project i did uv run uvicorn main:app which runs the fastapi server there, what i got a new thigns in the terminal output it shows like this i send below here. i want to know it shows localhost:random_int what is this why sometime this is same and sometime it is different what is this called is this any important, i rather want to shows timestamp when the req came in log in terminal what do you say will those number 47360,48572... needs when? INFO: Started server process [9693] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:9999 (Press CTRL+C to quit) INFO: 127.0.0.1:47360 - "GET /api/health HTTP/1.1" 200 OK INFO: 127.0.0.1:47374 - "GET /api/health HTTP/1.1" 200 OK INFO: 127.0.0.1:48572 - "GET /api/health HTTP/1.1" 200 OK INFO: 127.0.0.1:48572 - "GET /api/health HTTP/1.1" 200 OK INFO: 127.0.0.1:48572 - "GET /api/health HTTP/1.1" 200 OK INFO: 127.0.0.1:60242 - "GET /api/health HTTP/1.1" 200 OK INFO: 127.0.0.1:60250 - "GET /api/health HTTP/1.1" 200 OK INFO: 127.0.0.1:60242 - "GET /api/health HTTP/1.1" 200 OK
👍1
R
D
Hey there :), please verify you are human by clicking the button below. You have 90 seconds.

فید عمومی باز از ایندکس جست‌وجو ChatCrawler — «Google برای Telegram عمومی»؛ با خزش انجمن به‌روز می‌شود. زمان‌ها به UTC است.

فقط محتوای عمومی، API رسمی Telegram. دربارهٔ ما · پرسش‌ها · محدودیت‌های ایندکس · حذف یک صفحه · کاتالوگ · جست‌وجو · روش محاسبهٔ ما