Getting started with FastApi

preview-18
  • Getting started with FastApi Book Detail

  • Author : Andrés Cruz Yoris
  • Release Date :
  • Publisher : Andres Cruz
  • Genre : Computers
  • Pages : 168
  • ISBN 13 :
  • File Size : 46,46 MB

Getting started with FastApi by Andrés Cruz Yoris PDF Summary

Book Description: FastAPI is a great web framework for creating web APIs with Python; It offers us multiple features with which it is possible to create modular, well-structured, scalable APIs with many options such as validations, formats, typing, among others. When you install FastAPI, two very important modules are installed: Pydantic that allows the creation of models for data validation. Starlette, which is a lightweight ASGI tooltip, used to create asynchronous (or synchronous) web services in Python. With these packages, we have the basics to create APIs, but we can easily extend a FastAPI project with other modules to provide the application with more features, such as the database, template engines, among others. FastAPI is a high-performance, easy-to-learn, start-up framework; It is ideal for creating all kinds of sites that not only consist of APIs, but we can install a template manager to return complete web pages. This book is mostly practical, we will learn the basics of FastAPI, knowing its main features based on a small application that we will extend chapter after chapter and whose content you can see below: Chapter 1: We present some essential commands to develop in FastApi , we will prepare the environment and we will give an introduction to the framework . Chapter 2: One of the main factors in FastApi is the creation of resources for the API through functions, in this section we will deal with the basics of this, introducing routing between multiple files as well as the different options for the arguments and parameters of these routes. Chapter 3: In this section, learn how to handle HTTP status codes from API methods and also handle errors/exceptions from API methods. Chapter 4: In this section we will see how to create sample data to use from the automatic documentation that FastAPI offers for each of the API methods. Chapter 5: In this chapter we will see how to implement the upload of files, knowing the different existing variants in FastAPI. Chapter 6: In this chapter we will see how to connect a FastAPI application to a relational database such as MySQL. Chapter 7: In this chapter we will see installing and using a template engine in Python, specifically Jinja, with which we can return responses in HTML format. Chapter 8: In this chapter we will see installing and using a template engine in Python, specifically Jinja, with which we can return responses in HTML format. Chapter 9: In this chapter we will learn how to use dependencies. Chapter 10: In this chapter we will see how to use middleware to intercept requests to API methods and execute some procedure before the request or after generating the response. Chapter 11: In this chapter we will see how to create a user module, to register users, login, generate access tokens and logout. Chapter 12: In this chapter we will learn about some particularities and functionalities of FastAPI such as the use of annotations and the Ellipsis operator. Chapter 13: In this chapter we will see how to implement unit tests. Chapter 14: In this chapter we will know some general aspects applied to FastAPI.

Disclaimer: www.yourbookbest.com does not own Getting started with FastApi books pdf, neither created or scanned. We just provide the link that is already available on the internet, public domain and in Google Drive. If any way it violates the law or has any issues, then kindly mail us via contact us page to request the removal of the link.

Getting started with FastApi

Getting started with FastApi

File Size : 43,43 MB
Total View : 1739 Views
DOWNLOAD

FastAPI is a great web framework for creating web APIs with Python; It offers us multiple features with which it is possible to create modular, well-structured,

Building Python Web APIs with FastAPI

Building Python Web APIs with FastAPI

File Size : 43,43 MB
Total View : 8548 Views
DOWNLOAD

Discover FastAPI features and best practices for building and deploying high-quality web APIs from scratch Key Features • A practical guide to developing prod

Microservice APIs

Microservice APIs

File Size : 1,1 MB
Total View : 5660 Views
DOWNLOAD

Strategies, best practices, and patterns that will help you design resilient microservices architecture and streamline your API integrations. In Microservice AP

FastAPI

FastAPI

File Size : 79,79 MB
Total View : 1969 Views
DOWNLOAD

FastAPI is a young yet solid framework that takes advantage of newer Python features in a clean design. As its name implies, FastAPI is indeed fast, rivaling si