Search
Find a bite, explore a topic or look for a role.
Results for “Python”
Bites 291
Python Virtual Environments
A virtual environment is an isolated Python installation with its own packages, so each project gets the exact dependency versions it needs without conflicting with other projects or the system Python.
Explain multi-stage Docker builds for Python and builder vs runtime
Tests separation of build-time and runtime concerns. A strong answer contrasts the builder stage (gcc, headers, wheels) with the runtime stage (slim base, copied artifacts, no compiler). Red flag: citing size alone while ignoring security and caching.

Why are contextvars better than threading.local in async Python?
This tests whether you know async tasks share OS threads, making thread-local storage unsafe for request state. A great answer notes ContextVar is task-local and resets automatically, while threading.local bleeds across concurrent coroutines.

How do you use a Python class as a FastAPI dependency?
It tests whether you understand FastAPI DI beyond functions and when stateful encapsulation wins. Explain that Depends takes callable classes, centralizing setup and shared state in __init__. Red flag: claiming classes are pure syntactic sugar.
Topics 1
View all topicsRoles 3
- Junior Data ScientistHyderabad
Enterprise SaaS company · 0-1 yrs · ₹9-12 LPA
Interview covers: data science, machine learning and Statistics.
Via Tezvyn: our recruiters read every application and take the ones that fit to the hiring team.
data sciencemachine learningstatisticsanalyticsdata engineeringpython
- Data ScientistMumbai
US-based fintech client · 2-3 yrs · ₹17-22 LPA
Interview covers: data science, machine learning and Statistics.
Via Tezvyn: our recruiters read every application and take the ones that fit to the hiring team.
data sciencemachine learningstatisticsanalyticsdata engineeringpython
- Backend Engineer (Python)Gurugram
IT services and consulting company · 2-3 yrs · ₹18-25 LPA
Interview covers: FastAPI, Python and Pydantic.
Via Tezvyn: our recruiters read every application and take the ones that fit to the hiring team.
fastapipythonpydanticapiasynciosecurity