Skip to content

akrish4/Understanding_FastAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI 😊

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.

Features :

  • Fast: Very high performance
  • 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.

Requirements :

  • Python 3.6+

Installation :

  • pip install fastapi
████████████████████████████████████████ 100%
  • pip install uvicorn
████████████████████████████████████████ 100%

Run it

  • uvicorn main:app --reload
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO: Started reloader process [28720]
INFO: Started server process [28722]
INFO: Waiting for application startup.
INFO: Application startup complete.

Check it

Open your browser at http://127.0.0.1:8000/items/5?q=HelloWorld.

made with 💖 if you find it usefull , dont forget to drop a star👍

Releases

No releases published

Packages

No packages published

Languages