FastAPI एक आधुनिक, उच्च-प्रदर्शन Python वेब framework है जो APIs बनाने के लिए बनाया गया है, जो Python type hints पर आधारित है। यह इन hints का उपयोग validation, serialization और स्वचालित documentation चलाने के लिए करता है — आपको speed, safety और शानदार developer experience एक साथ देता है।
कुछ पंक्तियों में एक पूर्ण API
fastapi FastAPI
pydantic BaseModel
app = FastAPI()
():
name:
price:
():
{: item.name, : item.price * }
