Building Python Web APIs with FastAPI
eBook - ePub

Building Python Web APIs with FastAPI

Abdulazeez Abdulazeez Adeshina

Share book
  1. 216 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Building Python Web APIs with FastAPI

Abdulazeez Abdulazeez Adeshina

Book details
Table of contents
Citations

About This Book

Discover FastAPI features and best practices for building and deploying high-quality web APIs from scratchKey Featuresā€¢ A practical guide to developing production-ready web APIs rapidly in Pythonā€¢ Learn how to put FastAPI into practice by implementing it in real-world scenariosā€¢ Explore FastAPI, its syntax, and configurations for deploying applicationsBook DescriptionRESTful web services are commonly used to create APIs for web-based applications owing to their light weight and high scalability. This book will show you how FastAPI, a high-performance web framework for building RESTful APIs in Python, allows you to build robust web APIs that are simple and intuitive and makes it easy to build quickly with very little boilerplate code. This book will help you set up a FastAPI application in no time and show you how to use FastAPI to build a REST API that receives and responds to user requests. You'll go on to learn how to handle routing and authentication while working with databases in a FastAPI application. The book walks you through the four key areas: building and using routes for create, read, update, and delete (CRUD) operations; connecting the application to SQL and NoSQL databases; securing the application built; and deploying your application locally or to a cloud environment.By the end of this book, you'll have developed a solid understanding of the FastAPI framework and be able to build and deploy robust REST APIs.What you will learnā€¢ Set up a FastAPI application that is fully functional and secureā€¢ Understand how to handle errors from requests and send proper responses in FastAPIā€¢ Integrate and connect your application to a SQL and NoSQL (MongoDB) databaseā€¢ Perform CRUD operations using SQL and FastAPIā€¢ Manage concurrency in FastAPI applicationsā€¢ Implement authentication in a FastAPI applicationā€¢ Deploy a FastAPI application to any platformWho this book is forThis book is for Python developers who want to learn FastAPI in a pragmatic way to create robust web APIs with ease. If you are a Django or Flask developer looking to try something new that's faster, more efficient, and produces fewer bugs, this FastAPI Python book is for you. The book assumes intermediate-level knowledge of Python programming.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Building Python Web APIs with FastAPI an online PDF/ePUB?
Yes, you can access Building Python Web APIs with FastAPI by Abdulazeez Abdulazeez Adeshina in PDF and/or ePUB format, as well as other popular books in Informatica & Sviluppo web. We have over one million books available in our catalogue for you to explore.

Information

Year
2022
ISBN
9781801074513
Edition
1
Subtopic
Sviluppo web

Table of contents