ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Building Python Web APIs with FastAPI: A fast-paced guide to building high-performance, robust web APIs with very little boilerplate code

دانلود کتاب ساخت APIهای وب پایتون با FastAPI: راهنمای سریع برای ساختن APIهای وب با کارایی بالا و قوی با کد بسیار کم boilerplate

Building Python Web APIs with FastAPI: A fast-paced guide to building high-performance, robust web APIs with very little boilerplate code

مشخصات کتاب

Building Python Web APIs with FastAPI: A fast-paced guide to building high-performance, robust web APIs with very little boilerplate code

ویرایش:  
نویسندگان:   
سری:  
ISBN (شابک) : 1801076634, 9781801076630 
ناشر: Packt Publishing 
سال نشر: 2022 
تعداد صفحات: 216 
زبان: English 
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 9 مگابایت 

قیمت کتاب (تومان) : 38,000



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 9


در صورت تبدیل فایل کتاب Building Python Web APIs with FastAPI: A fast-paced guide to building high-performance, robust web APIs with very little boilerplate code به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب ساخت APIهای وب پایتون با FastAPI: راهنمای سریع برای ساختن APIهای وب با کارایی بالا و قوی با کد بسیار کم boilerplate نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب ساخت APIهای وب پایتون با FastAPI: راهنمای سریع برای ساختن APIهای وب با کارایی بالا و قوی با کد بسیار کم boilerplate



ویژگی‌های FastAPI و بهترین شیوه‌های ساخت و استقرار APIهای وب با کیفیت بالا را از ابتدا کشف کنید

ویژگی‌های کلیدی

  • راهنمای عملی برای توسعه سریع APIهای آماده تولید وب در پایتون
  • یاد بگیرید چگونه FastAPI را در عمل به کار ببرید. با پیاده سازی آن در سناریوهای دنیای واقعی
  • کاوش FastAPI، نحو آن، و تنظیمات برای استقرار برنامه ها</ li>

توضیحات کتاب

سرویس‌های وب RESTful معمولاً برای ایجاد API برای برنامه‌های مبتنی بر وب به دلیل وزن سبک و مقیاس‌پذیری بالا استفاده می‌شوند. . این کتاب به شما نشان می‌دهد که چگونه FastAPI، یک چارچوب وب با کارایی بالا برای ساختن APIهای RESTful در پایتون، به شما اجازه می‌دهد تا APIهای وب قوی بسازید که ساده و شهودی هستند و ساخت سریع آن را با کد بسیار کم بویلرپلیت آسان می‌کند.

این کتاب به شما کمک می‌کند تا در کمترین زمان یک برنامه FastAPI راه‌اندازی کنید و به شما نشان می‌دهد که چگونه از FastAPI برای ایجاد یک REST API استفاده کنید که درخواست‌های کاربر را دریافت و به آنها پاسخ می‌دهد. در ادامه با نحوه مدیریت مسیریابی و احراز هویت در حین کار با پایگاه های داده در برنامه FastAPI آشنا خواهید شد. این کتاب شما را در چهار حوزه کلیدی راهنمایی می کند: ساخت و استفاده از مسیرها برای عملیات ایجاد، خواندن، به روز رسانی و حذف (CRUD). اتصال برنامه به پایگاه داده های SQL و NoSQL؛ ایمن سازی اپلیکیشن ساخته شده؛ و برنامه خود را به صورت محلی یا در یک محیط ابری استقرار دهید.

در پایان این کتاب، درک کاملی از چارچوب FastAPI ایجاد خواهید کرد و قادر به ساختن و API های REST قوی را مستقر کنید.

آنچه یاد خواهید گرفت

  • یک برنامه FastAPI را تنظیم کنید که کاملاً کاربردی و ایمن
  • آشنایی با نحوه رسیدگی به خطاهای درخواست‌ها و ارسال پاسخ‌های مناسب در FastAPI
  • برنامه خود را ادغام و به پایگاه داده SQL و NoSQL (MongoDB) متصل کنید
  • عملیات CRUD را با استفاده از SQL و FastAPI
  • مدیریت همزمانی در برنامه‌های FastAPI
  • اجرای احراز هویت در یک برنامه FastAPI
  • استقرار یک برنامه FastAPI در هر پلتفرمی

این کتاب برای چه کسی است

این کتاب است برای توسعه دهندگان پایتون که می خواهند FastAPI را به روشی عملی یاد بگیرند تا به راحتی API های وب قوی ایجاد کنند. اگر شما یک توسعه دهنده جنگو یا فلاسک هستید که می خواهید چیز جدیدی را امتحان کنید که سریع تر، کارآمدتر باشد و اشکالات کمتری ایجاد کند، این کتاب Python FastAPI برای شما مناسب است. این کتاب دانش برنامه نویسی پایتون را در سطح متوسط ​​فرض می کند.

فهرست محتوا

  1. شروع به کار با Fast API
  2. مسیریابی در FastAPI
  3. مدل‌های پاسخگویی و مدیریت خطا
  4. الگو در FastAPI
  5. ساختار FastAPI برنامه ها
  6. اتصال به پایگاه داده
  7. ایمن سازی برنامه های کاربردی FastAPI
  8. آزمایش برنامه‌های FastAPI
  9. استقرار برنامه‌های FastAPI
  10. span>

توضیحاتی درمورد کتاب به خارجی

Discover FastAPI features and best practices for building and deploying high-quality web APIs from scratch

Key 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 applications

Book Description

RESTful 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 platform

Who this book is for

This 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.

Table of Contents

  1. Getting Started with Fast API
  2. Routing in FastAPI
  3. Response Models and Error Handling
  4. Templating in FastAPI
  5. Structuring FastAPI Applications
  6. Connecting to a Database
  7. Securing FastAPI Applications
  8. Testing FastAPI Applications
  9. Deploying FastAPI Applications


فهرست مطالب

Cover
Title Page
Copyright and Credits
Contributors
Table of Contents
Preface
Part 1: An Introduction to FastAPI
Chapter 1: Getting Started with FastAPI
	Technical Requirement
	Git basics
		Installing Git
		Git operations
		Git branches
	Creating isolated development environments with Virtualenv
		Creating a virtual environment
		Activating and deactivating the virtual environment
	Package management with pip
		Installing pip
	Setting up Docker
		Dockerfile
	Building a simple FastAPI application
	Summary
Chapter 2: Routing in FastAPI
	Technical requirements
	Understanding routing in FastAPI
		Routing example
	Routing with the APIRouter class
	Validating request bodies using Pydantic models
		Nested models
	Path and query parameters
		Path parameters
		Query parameters
	Request body
		FastAPI Automatic Docs
	Building a simple CRUD app
	Summary
Chapter 3: Response Models and Error Handling
	Technical requirements
	Understanding responses in FastAPI
		What is a response header?
		What is a response body?
		Status codes
	Building response models
	Error handling
	Summary
Chapter 4: Templating in FastAPI
	Technical requirements
	Understanding Jinja
		Filters
		Using if statements
		Loops
		Macros
		Template inheritance
	Using Jinja templates in FastAPI
	Summary
Part 2: Building and Securing FastAPI Applications
Chapter 5: Structuring FastAPI Applications
	Technical requirements
	Structuring in FastAPI applications
		Building an event planner application
		Implementing the models
		Implementing routes
	Summary
Chapter 6: Connecting to a Database
	Technical requirements
	Setting up SQLModel
		Tables
		Rows
		Sessions
	Creating a database
		Creating events
		Read events
		Update events
		Delete event
	Setting up MongoDB
		Document
		Initializing the database
	CRUD operations
		Create
		Read
		Update
		Delete
		routes/events.py
		routes/users.py
	Summary
Chapter 7: Securing FastAPI Applications
	Technical requirements
	Authentication methods in FastAPI
		Dependency injection
		Creating and using a dependency
	Securing the application with OAuth2 and JWT
		Hashing passwords
		Creating and verifying access tokens
		Handling user authentication
	Updating the application
		Updating the user sign-in route
		Updating event routes
		Updating the event document class and routes
	Configuring CORS
	Summary
Part 3: Testing And Deploying FastAPI Applications
Chapter 8: Testing FastAPI Applications
	Technical requirements
	Unit testing with pytest
		Eliminating repetition with pytest fixtures
	Setting up our test environment
	Writing tests for REST API endpoints
		Testing the sign-up route
		Testing the sign-in route
		Testing CRUD endpoints
		Testing READ endpoints
		Testing the CREATE endpoint
		Testing the UPDATE endpoint
		Testing the DELETE endpoint
	Test coverage
	Summary
Chapter 9: Deploying FastAPI Applications
	Technical requirements
	Preparing for deployment
		Managing dependencies
		Configuring environment variables
	Deploying with Docker
		Writing the Dockerfile
		Building the Docker image
		Deploying our application locally
		Running our application
	Deploying Docker images
		Deploying databases
	Summary
Index
Other Books You May Enjoy




نظرات کاربران