~/talk

Intro to FastAPI

Talkat Conf42 Open Source Showcase 2020 · on Thursday, 2020-06-25· [python, web-platform]
slides:none on file

FastAPI is a Python web framework that uses standard Python type hints plus Pydantic to provide Pydantic validation and automatic OpenAPI docs without extra code: examples show path, query and JSON body handling, required vs default params, metadata, and nested list-of-object schemas with precise error messages. It builds on Starlette, reports ~15,000 GitHub stars and benchmarks over 9,000–15,000 req/s, includes dependency injection, websockets and background tasks, and works—avoid rewriting stable non-API apps unless migrating incrementally.

AI-written summary · about

  1. 0:00intro
  2. 0:20Who am i?
  3. 1:23about fastapi
  4. 1:45based on standards
  5. 2:40based on python type hints
  6. 3:10types provide autocompletion
  7. 3:24easy and short
  8. 4:40less api code
  9. 4:57best fastapi app
  10. 7:24automatic docs
  11. 7:38basic fastapi app with body
  12. 14:20json array of objects in body
  13. 20:57fastapi auto-completion
  14. 21:58type checks
  15. 22:38metadata
  16. 24:37required query
  17. 26:25validation
  18. 28:20data validation
  19. 28:54fastapi - performance
  20. 30:26fastapi - other features
  21. 31:25fastapi - When not to
  22. 32:37other tools
  23. 33:37thank you!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.