[python3] ASGI uv uvicorn pip Fastapi Pydantic
아직 한국어 번역이 없습니다. 영문 원문을 표시합니다.
python3(python)
python -m venv virtual_env_name_here
-m is module
venv is python's built in module for virtual env
last element will be name of the virtual environment.
ASGI
It is Asynchronous Server Gateway Interface
Official Docs : https://asgi.readthedocs.io/en/latest/
uv
uv is like pip, python's package manager but newly built on Rust
uvicorn
uvicorn is like npm run dev , running the dev environment in dev mode.
Fastapi
FastAPI framework, high performance, easy to learn, fast to code, ready for production
The key features are:
Fast: Very high performance, on par with NodeJS and Go (thanks to Starlette and Pydantic). One of the fastest Python frameworks available.
Fast to code: Increase the speed to develop features by about 200% to 300%. *
Fewer bugs: Reduce about 40% of human (developer) induced errors. *
Intuitive: Great editor support. Completion everywhere. Less time debugging.
Easy: Designed to be easy to use and learn. Less time reading docs.
Short: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.
Robust: Get production-ready code. With automatic interactive documentation.
Standards-based: Based on (and fully compatible with) the open standards for APIs: OpenAPI (previously known as Swagger) and JSON Schema.
Pydantic
Pydantic is the most widely used data validation library for Python.
Fast and extensible, Pydantic plays nicely with your linters/IDE/brain. Define how data should be in pure, canonical Python 3.9+; validate it with Pydantic.