Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

A Close Look at a FastAPI Example Application

This repository contains the code snippets from the tutorial A Close Look at a FastAPI Example Application.

Installation

The recommended way to install FastAPI is with the [standard] extra dependencies. This ensures you get all the tools you need for developing an API, without having to hunt down additional packages later:

$ python -m pip install "fastapi[standard]"

The quotes around "fastapi[standard]" ensure the command works correctly across different terminals and operating systems. With the command above, you install several useful packages, including the FastAPI CLI and uvicorn, an ASGI server for running your application.

You can also use the requirements.txt file in this folder and run python -m pip install -r requirements.txt to install the standard dependencies of FastAPI.