Tagged articles

fastapi

161 articles · Page 1 of 2
liandk
liandk
Jul 31, 2026 · Backend Development

Run a Complete MCP 2026 Stateless Demo – Beginner‑Friendly Guide

This guide walks through the new MCP 2026 update—showing how to build a stateless FastAPI server and a TypeScript client, run curl calls, and highlights benefits such as session‑free requests, cacheable tool lists, easy load‑balancing, and optional OAuth2 protection.

MCPOAuth2REST
0 likes · 7 min read
Run a Complete MCP 2026 Stateless Demo – Beginner‑Friendly Guide
SpringMeng
SpringMeng
Jul 19, 2026 · Backend Development

FastAPI for Java Developers: A Complete Guide to High‑Performance API Development

This article introduces FastAPI, compares it with Spring Boot and Flask, explains why its ASGI architecture delivers superior performance, provides step‑by‑step setup and code examples—including routing, validation, dependency injection, async support, database integration, unified responses, middleware, and automatic documentation—then evaluates its pros, cons, ideal use cases, and a real‑world benchmark against Spring Boot.

APIASGIPydantic
0 likes · 26 min read
FastAPI for Java Developers: A Complete Guide to High‑Performance API Development
Java Tech Enthusiast
Java Tech Enthusiast
Jul 14, 2026 · Backend Development

Why Are More Developers Turning to FastAPI?

FastAPI, a modern Python web framework, offers high‑performance APIs, automatic documentation, type‑safe validation and native async support, making it a compelling alternative to Spring Boot and Flask for AI model serving, microservices, and rapid prototyping, as demonstrated by benchmarks, code examples, and real‑world comparisons.

APIASGIPython
0 likes · 25 min read
Why Are More Developers Turning to FastAPI?
Code Ape Tech Column
Code Ape Tech Column
Jul 14, 2026 · Backend Development

Why FastAPI Is Gaining Popularity Among Developers

FastAPI, a modern Python web framework, offers high performance, rapid development, and strong type safety, making it an attractive choice for Java developers looking to build AI services, data‑processing APIs, or micro‑services, as demonstrated by benchmark results, real‑world case studies, and a step‑by‑step implementation guide.

ASGIPythonSpring Boot comparison
0 likes · 26 min read
Why FastAPI Is Gaining Popularity Among Developers
Java Backend Technology
Java Backend Technology
Jul 14, 2026 · Backend Development

Why FastAPI Is Gaining Massive Popularity Among Developers

FastAPI, a modern Python web framework built on ASGI, offers high performance, automatic documentation, type‑safe request validation, and native async support, making it an attractive choice for Java developers seeking to build fast APIs, microservices, or AI model deployment services.

APIASGIPydantic
0 likes · 22 min read
Why FastAPI Is Gaining Massive Popularity Among Developers
Su San Talks Tech
Su San Talks Tech
Jul 12, 2026 · Backend Development

Why Java Developers Are Turning to FastAPI for High‑Performance APIs

This article explains why FastAPI has become popular among Java developers, comparing its high‑performance, type‑safe, async‑first design to Spring Boot and Flask, showing benchmark results, core concepts, step‑by‑step setup, pros and cons, real‑world use cases, and a practical performance comparison.

ASGIPydanticPython
0 likes · 22 min read
Why Java Developers Are Turning to FastAPI for High‑Performance APIs
Long Ge's Treasure Box
Long Ge's Treasure Box
Jul 9, 2026 · Backend Development

Mastering WebSocket: Full‑Duplex Communication, Server Push, and Real‑Time Messaging Implementations

This article explains WebSocket fundamentals, compares it with HTTP polling, details the handshake and frame format, and provides complete server‑side examples in Python, FastAPI, Go, and Java Spring, followed by a full real‑time chat system with private messaging, database schema, heartbeat handling, and Redis‑based online presence management.

GoPythonRedis
0 likes · 13 min read
Mastering WebSocket: Full‑Duplex Communication, Server Push, and Real‑Time Messaging Implementations
java1234
java1234
Jun 26, 2026 · Backend Development

Build a Python Study‑Room Reservation System in 20 Minutes with Cursor AI – FastAPI Backend & Vue 3 Frontend

Using Cursor AI, the author demonstrates how to create a full‑stack study‑room reservation platform in about 20 minutes, detailing the FastAPI backend, Vue 3 frontend, role‑based access, reservation workflow, database schema, security mechanisms, deployment steps, and key design considerations.

Cursor AIEChartsJWT authentication
0 likes · 11 min read
Build a Python Study‑Room Reservation System in 20 Minutes with Cursor AI – FastAPI Backend & Vue 3 Frontend
Architects Research Society
Architects Research Society
Jun 25, 2026 · R&D Management

From Architecture Docs to Intelligent Governance: Exploring the Open‑Source AxisRobo‑PAMP

The article examines the challenges of locating and managing enterprise architecture knowledge, explains why mere documentation is insufficient, and introduces the open‑source AxisRobo‑PAMP platform that connects business capabilities, applications, data, risks, and AI projects through a workflow‑driven governance model.

AI architectureEnterprise ArchitectureNext.js
0 likes · 10 min read
From Architecture Docs to Intelligent Governance: Exploring the Open‑Source AxisRobo‑PAMP
Xike
Xike
Jun 19, 2026 · Backend Development

Implementing Streamable HTTP with SSE for Real‑Time Chat in FastAPI

This article walks through adding a POST /v1/chat/stream endpoint that uses Server‑Sent Events (SSE) to stream structured events—including status, tool calls, token deltas, and completion—into a static web page, enabling a multi‑turn, typewriter‑style chat UI while preserving the original synchronous /v1/chat API for backward compatibility.

APIJavaScriptSSE
0 likes · 21 min read
Implementing Streamable HTTP with SSE for Real‑Time Chat in FastAPI
Coder Trainee
Coder Trainee
Jun 15, 2026 · Artificial Intelligence

Building a Smart AI Coding Assistant: From Design to Real‑World Use

This tutorial walks through the functional planning, project layout, core Python code, context management, FastAPI service, and execution steps needed to create a full‑featured AI coding assistant that can generate, explain, refactor, fix, test, and review code.

AI AgentLangChainPython
0 likes · 9 min read
Building a Smart AI Coding Assistant: From Design to Real‑World Use
SpringMeng
SpringMeng
Jun 14, 2026 · Artificial Intelligence

How I Built an AI Contract Review System for 60,000 RMB in One Month

In 45 days a two‑person team delivered an AI‑powered contract review platform that parses PDFs, extracts key clauses, flags risks, and integrates with enterprise tools, using Python, FastAPI, LangChain, large language models, vector databases and OCR technologies.

AIContract ReviewLangChain
0 likes · 7 min read
How I Built an AI Contract Review System for 60,000 RMB in One Month
SpringMeng
SpringMeng
Jun 11, 2026 · Artificial Intelligence

From Zero to Agent: My 2‑Month AI Project with Full Open‑Source Learning Roadmap

The article provides a step‑by‑step learning roadmap for beginners to master AI and Agent development, covering essential programming foundations, model APIs, prompt engineering, tool calling, RAG, multi‑stage project builds, evaluation, logging, security, and deployment, with concrete examples and open‑source resources.

AIAgent developmentPrompt Engineering
0 likes · 24 min read
From Zero to Agent: My 2‑Month AI Project with Full Open‑Source Learning Roadmap
DeepHub IMBA
DeepHub IMBA
May 18, 2026 · Artificial Intelligence

Self‑Improving Multi‑Agent RAG System: Architecture, Evaluation, and Human‑Reviewed Prompt Loop

An end‑to‑end multi‑agent Retrieval‑Augmented Generation platform is presented, featuring compositional reasoning, systematic multi‑dimensional evaluation, and a controlled prompt‑improvement loop that automatically identifies weak prompt dimensions, proposes diffs, and requires human approval before deployment, with full observability via SSE and persisted logs.

Prompt EngineeringRAGRedis Streams
0 likes · 19 min read
Self‑Improving Multi‑Agent RAG System: Architecture, Evaluation, and Human‑Reviewed Prompt Loop
Geek Labs
Geek Labs
May 9, 2026 · Backend Development

How to Run Claude Code Locally for Free with the Open‑Source Free Claude Code Proxy

This guide introduces the open‑source Free Claude Code project, explains its FastAPI‑based proxy architecture that routes Claude Code requests to various backends such as NVIDIA NIM, OpenRouter, DeepSeek, LM Studio, llama.cpp, and Ollama, and provides step‑by‑step instructions for installation, configuration, and deployment on local machines.

AI assistantClaude CodePython
0 likes · 6 min read
How to Run Claude Code Locally for Free with the Open‑Source Free Claude Code Proxy
Data Party THU
Data Party THU
May 6, 2026 · Backend Development

How a Python Generic Repository Cuts 80% of Duplicate CRUD Code

The article demonstrates building a type‑safe, reusable generic repository with Python generics and SQLAlchemy, showing how to replace repetitive CRUD implementations across multiple FastAPI entities, reduce code size from hundreds of lines to a few dozen, and avoid common pitfalls such as missing rollbacks.

PythonRepositorySQLAlchemy
0 likes · 14 min read
How a Python Generic Repository Cuts 80% of Duplicate CRUD Code
AI Architecture Hub
AI Architecture Hub
May 6, 2026 · Artificial Intelligence

Google’s Five Core Agent Skill Design Patterns: Elevating Agent Skills to a New Design Paradigm

The article explains how, after format standardization removed the bottleneck for enterprise AI agents, the real challenge shifted to internal logic design, and presents five reusable Agent Skill design patterns—Tool Wrapper, Generator, Reviewer, Inversion, and Pipeline—complete with code samples, typical use cases, and best‑practice guidelines for combining and selecting them.

AI agentsAgent SkillDesign Patterns
0 likes · 18 min read
Google’s Five Core Agent Skill Design Patterns: Elevating Agent Skills to a New Design Paradigm
AI Architecture Path
AI Architecture Path
May 4, 2026 · Artificial Intelligence

Free Open-Source Proxy Unlocks Unlimited Claude Code Usage

Claude Code offers powerful AI‑assisted coding but its official API is costly and hard to access; the open‑source free‑claude‑code proxy intercepts Claude’s requests, forwards them to free or low‑cost LLM providers, provides multi‑model routing, zero‑cost usage, detailed setup steps, advanced bot and voice features, and troubleshooting guidance.

AI programmingClaude CodeLLM proxy
0 likes · 17 min read
Free Open-Source Proxy Unlocks Unlimited Claude Code Usage
Java Tech Enthusiast
Java Tech Enthusiast
May 1, 2026 · Artificial Intelligence

Why free-claude-code Soared to 16K+ Stars on GitHub Weekly Rankings

free-claude-code is a lightweight Python/FastAPI proxy that lets Claude Code bypass costly official APIs by routing requests to free or low‑cost LLM providers, addressing high cost, access restrictions, and model lock‑in, while offering easy setup, multi‑provider support, and advanced Discord/Telegram bot features that have earned it over 16,000 GitHub stars.

AI coding assistantClaude CodeLLM proxy
0 likes · 12 min read
Why free-claude-code Soared to 16K+ Stars on GitHub Weekly Rankings
CodeTrend
CodeTrend
Apr 29, 2026 · Artificial Intelligence

qwen2API: Turning Qwen Web Chat into OpenAI, Claude, and Gemini Compatible APIs

The qwen2API project offers a FastAPI backend and React+Vite frontend that expose the Qwen web chat as OpenAI Chat Completions, Anthropic Messages, and Gemini GenerateContent interfaces, featuring tool calling, image generation, account pool management, multiple deployment options, and various execution engines.

AnthropicGeminiLLM
0 likes · 6 min read
qwen2API: Turning Qwen Web Chat into OpenAI, Claude, and Gemini Compatible APIs
Su San Talks Tech
Su San Talks Tech
Apr 28, 2026 · Artificial Intelligence

Why free-claude-code Is the Must‑Have Open‑Source Proxy for Claude Code

free-claude-code, which amassed over 16 000 stars in a week, offers a zero‑cost local proxy that solves Claude Code’s high API fees, access restrictions, and model lock‑in by routing requests to free or low‑price LLM providers, supports six providers, provides a quick 10‑minute setup, and adds advanced features like Discord bots and interactive model selection.

AI codingClaude CodeDiscord bot
0 likes · 11 min read
Why free-claude-code Is the Must‑Have Open‑Source Proxy for Claude Code
Data STUDIO
Data STUDIO
Apr 28, 2026 · Backend Development

FastAPI in Production: Auth, Rate Limiting, and Zero‑Downtime with One Codebase

This article walks through a complete production‑ready FastAPI setup, covering secure OIDC/JWKS authentication, Redis‑backed token‑bucket rate limiting, zero‑downtime rolling deployments on Docker/Kubernetes, and observability best practices such as request‑ID middleware and structured JSON logging.

DockerKubernetesauthentication
0 likes · 20 min read
FastAPI in Production: Auth, Rate Limiting, and Zero‑Downtime with One Codebase
Tech Ocean
Tech Ocean
Apr 27, 2026 · Artificial Intelligence

How Streaming Makes AI Responses Visible in Real Time with LangGraph

The article explains why streaming output is needed for LLMs, describes LangGraph's five stream modes, provides minimal code examples, compares the modes, shows asynchronous streaming with FastAPI, and outlines a practical streaming chatbot workflow.

LLMLangGraphPython
0 likes · 5 min read
How Streaming Makes AI Responses Visible in Real Time with LangGraph
Data STUDIO
Data STUDIO
Apr 21, 2026 · Backend Development

Build Once, Reuse Anywhere: Generic Repository Pattern in Python

The article demonstrates how to eliminate repetitive CRUD code in FastAPI projects by creating a type‑safe, generic repository using Python generics and SQLAlchemy, showing a concrete abstract base class, concrete implementations, custom filters, error handling, and real‑world metrics that cut repository code from hundreds to a few dozen lines.

CRUDDesign PatternsGeneric Repository
0 likes · 13 min read
Build Once, Reuse Anywhere: Generic Repository Pattern in Python
Tech Ocean
Tech Ocean
Apr 19, 2026 · Backend Development

Day 10: Building a Multi‑Container FastAPI App with PostgreSQL, Redis, and Celery

This tutorial extends the previous FastAPI example by adding Redis caching and Celery asynchronous tasks, showing the project layout, a complete docker‑compose configuration, required Python packages, sample FastAPI and Celery worker code, startup commands, health‑check setup, and key takeaways.

Docker ComposePostgreSQLPython
0 likes · 4 min read
Day 10: Building a Multi‑Container FastAPI App with PostgreSQL, Redis, and Celery
Tech Ocean
Tech Ocean
Apr 17, 2026 · Backend Development

Build a Complete FastAPI Todo API in 4 Days (Days 9‑12)

After eight days of isolated concepts, Days 9‑12 guide you through assembling a functional FastAPI Todo API—setting up Alembic migrations, implementing CRUD endpoints with JWT authentication and user‑level permission, and writing pytest‑httpx tests that yield a complete project with 47 passing tests.

AlembicJWT authenticationPython
0 likes · 4 min read
Build a Complete FastAPI Todo API in 4 Days (Days 9‑12)
Tech Ocean
Tech Ocean
Apr 17, 2026 · Backend Development

FastAPI Day 8: Designing a Scalable Project Structure Using the Official Template

The article explains why a FastAPI backend should move from a single main.py file to a responsibility‑layered architecture, detailing the recommended directory layout, pydantic‑settings configuration, SQLModel SQLite integration, APIRouter modular routing, and the resulting test coverage.

APIRouterProject StructureSQLModel
0 likes · 5 min read
FastAPI Day 8: Designing a Scalable Project Structure Using the Official Template
AI Tech Publishing
AI Tech Publishing
Apr 16, 2026 · Cloud Native

Deploying a Stateful AI Agent on a Stateless Web Architecture: Challenges, Solutions, and Code Walkthrough

This article analyzes the fundamental conflict between stateful AI agents and the inherently stateless, distributed nature of modern web services, explores time, state, and execution model mismatches, and presents a practical Agent‑as‑API solution using FastAPI, Redis, SSE, and Kubernetes to achieve scalable, fault‑tolerant deployments.

AI AgentKubernetesRedis
0 likes · 30 min read
Deploying a Stateful AI Agent on a Stateless Web Architecture: Challenges, Solutions, and Code Walkthrough
Tech Ocean
Tech Ocean
Apr 16, 2026 · Backend Development

FastAPI Day 7: Implementing Clear JWT Authentication with Dependency Injection

This tutorial walks through building a full registration and login system in FastAPI, covering bcrypt password hashing, JWT token creation with expiration, dependency-injected authentication helpers, protected endpoints, and a suite of passing tests, demonstrating a clear and practical approach to backend authentication.

JWTPythonauthentication
0 likes · 5 min read
FastAPI Day 7: Implementing Clear JWT Authentication with Dependency Injection
Tech Ocean
Tech Ocean
Apr 16, 2026 · Backend Development

Eliminate Repeated Auth and Pagination Code with FastAPI Dependency Injection

This article shows how FastAPI's dependency injection can centralize authentication, permission checks, database connection lifecycles, and pagination logic, removing duplicated code across endpoints by defining reusable dependencies, sub‑dependencies, and yield‑based resources, with concrete code examples and test results.

Pythonauthenticationbackend
0 likes · 5 min read
Eliminate Repeated Auth and Pagination Code with FastAPI Dependency Injection
Tech Ocean
Tech Ocean
Apr 16, 2026 · Backend Development

Secure FastAPI Responses: Separate Input and Output Models with response_model

This article shows how FastAPI's response_model lets you define distinct input and output Pydantic models to hide sensitive fields like passwords, outlines common CRUD scenarios, demonstrates partial updates with PATCH and exclude_unset, and explains why extracting models into a dedicated file improves code organization.

PydanticPythonapi-design
0 likes · 6 min read
Secure FastAPI Responses: Separate Input and Output Models with response_model
Tech Ocean
Tech Ocean
Apr 16, 2026 · Backend Development

FastAPI Day 1: Build Your First API in 5 Minutes and Speed Up Development

This guide shows how to install FastAPI with a single pip command, create a minimal four‑line API, run it instantly with the built‑in dev server, explore the automatically generated Swagger UI, and understand the clear separation between development (fastapi dev) and production (fastapi run) commands.

APIPythonSwagger
0 likes · 6 min read
FastAPI Day 1: Build Your First API in 5 Minutes and Speed Up Development
Tech Ocean
Tech Ocean
Apr 15, 2026 · Backend Development

FastAPI: From Demo to Production with the Official Three‑Piece Toolkit

This guide shows how FastAPI’s built‑in CLI commands and the official full‑stack template streamline moving from a simple demo to a production‑ready service, cutting setup time, reducing errors, and unifying development and deployment workflows for Python API projects.

APICLIDocker
0 likes · 10 min read
FastAPI: From Demo to Production with the Official Three‑Piece Toolkit
Data Party THU
Data Party THU
Apr 14, 2026 · Backend Development

10 Advanced Pydantic V2 Tricks to Harden Your FastAPI Production

Discover ten essential Pydantic V2 techniques—including strict mode, field constraints, separate create/update/response models, cross‑field validators, custom error handling, reusable types, forbidden extra fields, nested models, computed fields, and discriminated unions—to prevent subtle bugs and ensure robust, secure FastAPI APIs in production.

PydanticPythonbackend development
0 likes · 17 min read
10 Advanced Pydantic V2 Tricks to Harden Your FastAPI Production
Shuge Unlimited
Shuge Unlimited
Apr 14, 2026 · Backend Development

Mastering SKU Inventory Deduction with Superpowers: A 7‑Stage Workflow

This article walks through a complete 7‑stage Superpowers workflow—brainstorming, isolated git worktrees, fine‑grained task planning, sub‑agent execution with two‑stage reviews, strict test‑driven development, global code review, and final branch finishing—using Python 3.11, FastAPI, SQLAlchemy and Pytest to implement robust SKU inventory deduction in an e‑commerce system.

AI programmingGit worktreesPython
0 likes · 20 min read
Mastering SKU Inventory Deduction with Superpowers: A 7‑Stage Workflow
James' Growth Diary
James' Growth Diary
Apr 8, 2026 · Artificial Intelligence

How to Build a Production‑Ready AI Chat UI? A Deep Dive into Open WebUI Architecture

This article dissects Open WebUI’s full‑stack architecture—covering its SvelteKit front‑end, FastAPI API gateway, Pipe plugin system, storage choices, model adapters, production‑grade configurations, common pitfalls, and a deployment checklist—providing a practical guide for building robust AI conversational interfaces.

AI chatDockerOpen WebUI
0 likes · 22 min read
How to Build a Production‑Ready AI Chat UI? A Deep Dive into Open WebUI Architecture
Data STUDIO
Data STUDIO
Apr 1, 2026 · Backend Development

10 Advanced Pydantic Tricks to Strengthen FastAPI Request Validation

The article shows how Pydantic’s default type coercion can silently accept malformed data—dangerous for payment APIs—and presents ten advanced techniques, including strict mode, field constraints, separate create/update/response models, cross‑field validators, custom error handling, reusable types, extra‑field forbidding, nested models, computed fields, and discriminated unions, to enforce robust FastAPI request validation.

API securityPydanticPython
0 likes · 19 min read
10 Advanced Pydantic Tricks to Strengthen FastAPI Request Validation
AI2ML AI to Machine Learning
AI2ML AI to Machine Learning
Mar 31, 2026 · Artificial Intelligence

DeerFlow 2.0 Architecture and Agent Design Deep Dive

This article dissects DeerFlow 2.0’s architecture, detailing its TypeScript‑React frontend, Python‑LangGraph backend, FastAPI interface, the deerflow‑harness core, agent and skill scheduling mechanisms, three collaboration modes, and how it compares to OpenClaw.

Agent ArchitectureDeerFlow 2.0LangGraph
0 likes · 3 min read
DeerFlow 2.0 Architecture and Agent Design Deep Dive
Data STUDIO
Data STUDIO
Mar 18, 2026 · Artificial Intelligence

Building a Smart Web AI Agent with FastAPI, LangGraph, and MCP

This article walks through the design and implementation of a production‑ready Web AI agent that uses FastAPI as the HTTP layer, LangGraph to orchestrate multi‑step reasoning, and MCP to expose external tools, showing how to manage state, integrate multiple LLM providers, and extend the system with persistence, rate‑limiting, and monitoring.

AI AgentLLMLangGraph
0 likes · 20 min read
Building a Smart Web AI Agent with FastAPI, LangGraph, and MCP
Data STUDIO
Data STUDIO
Mar 16, 2026 · Backend Development

11 Essential Pydantic v2 Practices to Avoid Common Pitfalls

This article explains why rigorous data validation is crucial and presents eleven practical Pydantic v2 techniques—including strong typing, boundary validation, separating validation from conversion, composing small models, using Annotated and RootModel, enforcing immutability, handling circular references, writing clear errors, keeping business logic out of models, and validating all external data—to make Python code more robust and maintainable.

AnnotatedModel DesignPydantic
0 likes · 12 min read
11 Essential Pydantic v2 Practices to Avoid Common Pitfalls
IT Services Circle
IT Services Circle
Mar 11, 2026 · Backend Development

How to Build Scalable Python Back‑End Systems: Architecture, Async, and Ops

This article walks Python developers through designing high‑concurrency back‑end systems, covering architectural planning, modular project layout, async I/O with asyncio and FastAPI, load balancing with Gunicorn, database scaling, Celery task queues, caching, rate limiting, monitoring, and graceful shutdown techniques.

Pythonasynciocelery
0 likes · 20 min read
How to Build Scalable Python Back‑End Systems: Architecture, Async, and Ops
AI Explorer
AI Explorer
Mar 8, 2026 · Artificial Intelligence

AutoClip: One‑Click AI Video Highlight Extraction and Editing

AutoClip is an open‑source, locally‑run tool that uses Alibaba's Qwen large language model and OpenAI Whisper to automatically download, transcribe, analyze, and cut high‑light segments from YouTube or Bilibili videos, offering real‑time task monitoring, smart collections, preview, Docker deployment, and a roadmap of future AI‑driven features.

AI video editingDockerLLM
0 likes · 7 min read
AutoClip: One‑Click AI Video Highlight Extraction and Editing
Data STUDIO
Data STUDIO
Mar 3, 2026 · Backend Development

How to Build a Never‑Crashing, Scalable Python Backend

This article walks through practical techniques for designing a highly concurrent Python backend that stays stable under load, covering architecture planning, async programming, load balancing, database scaling, distributed tasks, caching, rate limiting, monitoring, and graceful shutdown.

DatabaseLoad BalancingMonitoring
0 likes · 20 min read
How to Build a Never‑Crashing, Scalable Python Backend
Data STUDIO
Data STUDIO
Mar 2, 2026 · Backend Development

Say Goodbye to Flask: 7 FastAPI Extensions That Boost Productivity Tenfold

After struggling with Flask's heavyweight middleware and limited plugin ecosystem, the author switched to FastAPI and demonstrates how seven extensions—FastAPI Users, FastAPI-Mail, FastAPI‑SocketIO, FastAPI‑Limiter, FastAPI‑Cache, FastAPI‑CrudRouter, and FastAPI‑Plugins—dramatically simplify authentication, email, real‑time communication, rate limiting, caching, CRUD generation, and ecosystem integration, turning weeks of debugging into minutes of development.

APIExtensionsFlask
0 likes · 22 min read
Say Goodbye to Flask: 7 FastAPI Extensions That Boost Productivity Tenfold
xkx's Tech General Store
xkx's Tech General Store
Feb 27, 2026 · Frontend Development

Build a Pure H5 PDF Screen‑Sharing App with PDF.js and WebSocket

This article details a lightweight pure‑HTML5 solution for synchronizing PDF documents across participants using PDF.js for rendering and a FastAPI‑based WebSocket layer for real‑time state broadcasting, covering architecture, workflow, code snippets, and synchronization logic.

HTML5PDF.jsScreen Sharing
0 likes · 9 min read
Build a Pure H5 PDF Screen‑Sharing App with PDF.js and WebSocket
Code Mala Tang
Code Mala Tang
Feb 24, 2026 · Backend Development

Why Async FastAPI Still Blocks and How to Offload Heavy Work

After fixing unlimited queries and pagination issues, this article reveals why async FastAPI still stalls under load, outlines the hidden bottlenecks in the request lifecycle, and provides practical rules and code examples for offloading heavy work to background workers, ensuring scalability, idempotence, and observability.

asyncbackground tasksfastapi
0 likes · 9 min read
Why Async FastAPI Still Blocks and How to Offload Heavy Work
Code Mala Tang
Code Mala Tang
Feb 22, 2026 · Backend Development

Why FastAPI Slows Down with Millions of Rows—and How to Keep It Fast

FastAPI feels lightning‑fast on small datasets, but returning millions of rows can exhaust memory, block the event loop, and cripple the database; this article explains why that happens and provides concrete design rules—selective fields, pagination, cursor‑based queries, streaming, and chunked processing—to keep APIs stable at scale.

Streamingfastapilarge datasets
0 likes · 9 min read
Why FastAPI Slows Down with Millions of Rows—and How to Keep It Fast
Woodpecker Software Testing
Woodpecker Software Testing
Feb 11, 2026 · Artificial Intelligence

Building a Smart Face‑Recognition Attendance System with FastAPI and OpenCV

This article walks through the complete design and implementation of an intelligent attendance system that uses face detection, face encoding comparison, and liveness verification with the Python face_recognition library, OpenCV, FastAPI, SQLModel, and WebSocket communication, providing end‑to‑end code samples for backend APIs, database schema, and interactive front‑end pages.

OpenCVPythonSQLModel
0 likes · 68 min read
Building a Smart Face‑Recognition Attendance System with FastAPI and OpenCV
Old Meng AI Explorer
Old Meng AI Explorer
Jan 28, 2026 · Artificial Intelligence

How DeepTutor Turns AI into a Personal Learning Mentor

DeepTutor, an open‑source AI tutoring platform from HKU’s Data Science Lab, combines a four‑layer architecture, interactive visualizations, a dual‑loop reasoning engine, and exam‑cloning features, and can be deployed with a single Docker command, offering a guided learning experience that emphasizes thinking over instant answers.

AI tutoringDockerNext.js
0 likes · 7 min read
How DeepTutor Turns AI into a Personal Learning Mentor
Woodpecker Software Testing
Woodpecker Software Testing
Jan 27, 2026 · Artificial Intelligence

How to Build a Multimodal AI Assistant with FastAPI, Alibaba Cloud and DashScope

This guide walks through configuring Alibaba Cloud credentials, implementing a FastAPI backend with email function calling, Alibaba OpenSearch, image generation via DashScope, speech recognition, and a responsive HTML/CSS/JavaScript front‑end that supports text chat, image recognition, image synthesis, and voice interaction.

Alibaba CloudDashScopeFunction Calling
0 likes · 38 min read
How to Build a Multimodal AI Assistant with FastAPI, Alibaba Cloud and DashScope
Data STUDIO
Data STUDIO
Jan 26, 2026 · Backend Development

Choosing the Right Python Web Framework: Django, Flask or FastAPI

This article compares Django, Flask, and FastAPI—three of the most popular Python web frameworks—by examining their philosophies, built‑in features, learning curves, performance characteristics, and code examples for a simple Hello World service and a user‑query API, then provides a decision flowchart and a detailed matrix to help developers pick the best fit for their next project.

APIDjangoFlask
0 likes · 15 min read
Choosing the Right Python Web Framework: Django, Flask or FastAPI
Woodpecker Software Testing
Woodpecker Software Testing
Jan 21, 2026 · Artificial Intelligence

Build an AI Agent with FastAPI & Alibaba Cloud: Text Q&A, Image Recognition, and Text‑to‑Image

This guide walks through designing and implementing an AI assistant that connects FastAPI to Alibaba Cloud large‑model services, supports streaming text Q&A, image understanding, text‑to‑image generation, network search, and MCP‑based map queries, with full front‑end and back‑end code examples.

AI chatbotAlibaba CloudMCP
0 likes · 38 min read
Build an AI Agent with FastAPI & Alibaba Cloud: Text Q&A, Image Recognition, and Text‑to‑Image
Data STUDIO
Data STUDIO
Jan 14, 2026 · Backend Development

Why FastAPI Is the Ideal Choice for High‑Performance Python Microservices – A Hands‑On Guide

This article explains how FastAPI’s async support, type‑hint integration, automatic OpenAPI docs, and rich ecosystem enable Python developers to build scalable, secure microservices with layered architecture, JWT authentication, performance optimizations, comprehensive testing, Docker/Kubernetes deployment, and structured logging.

DockerJWTKubernetes
0 likes · 22 min read
Why FastAPI Is the Ideal Choice for High‑Performance Python Microservices – A Hands‑On Guide
Data STUDIO
Data STUDIO
Jan 8, 2026 · Backend Development

From “Magic Building Blocks” to “Clear Contracts”: 7 Pydantic v2 Features for Rock‑Solid API Design

The article examines seven new Pydantic v2 capabilities—TypeAdapter, Annotated + Field, deterministic validators, precise serialization hooks, computed_field, RootModel, and ConfigDict—showing how each resolves common API‑validation pain points, improves contract clarity, and boosts performance with concrete code examples and a FastAPI integration.

API designComputed FieldPydantic
0 likes · 26 min read
From “Magic Building Blocks” to “Clear Contracts”: 7 Pydantic v2 Features for Rock‑Solid API Design
JavaGuide
JavaGuide
Dec 23, 2025 · Artificial Intelligence

Is GLM‑4.7 the Open‑Source Coding Model that Rivals Claude Sonnet 4.5?

The author integrates the newly released GLM‑4.7 model into Claude Code, runs three real‑world coding scenarios—including a React dashboard, a FastAPI authentication service, and a refined landing page—and finds that its stability, reasoning, and output quality closely match Claude Sonnet 4.5, positioning GLM‑4.7 as a strong open‑source alternative.

AI coding assistantClaude CodeGLM-4.7
0 likes · 8 min read
Is GLM‑4.7 the Open‑Source Coding Model that Rivals Claude Sonnet 4.5?
Fun with Large Models
Fun with Large Models
Nov 30, 2025 · Artificial Intelligence

Multimodal RAG with LangChain: PDF Parsing, Chunking, and Citation Guide

This article walks through building a LangChain‑based multimodal RAG system that parses PDFs (both native and scanned), splits them into semantic chunks, stores embeddings in a vector database, and generates answers with precise source citations, complete with code samples and API integration.

LangChainPDF parsingRAG
0 likes · 20 min read
Multimodal RAG with LangChain: PDF Parsing, Chunking, and Citation Guide
Data STUDIO
Data STUDIO
Nov 24, 2025 · Backend Development

Avoid These 10 Common FastAPI Pitfalls for Beginners

This guide lists ten typical mistakes that new FastAPI developers make—such as using synchronous I/O in async endpoints, ignoring Pydantic models, mishandling database sessions, creating per‑request clients, misconfiguring CORS, monolithic code files, returning raw ORM objects, weak authentication, lacking timeouts/retries for external calls, and skipping testing—and provides concrete solutions with code examples to keep applications fast, reliable, and maintainable.

CORSPydanticPython
0 likes · 14 min read
Avoid These 10 Common FastAPI Pitfalls for Beginners
Fun with Large Models
Fun with Large Models
Nov 17, 2025 · Artificial Intelligence

Building a Multimodal RAG System with LangChain 1.0: Core Architecture and Smart Q&A Development

This article walks through the design and implementation of a multimodal Retrieval‑Augmented Generation (RAG) system using LangChain 1.0, detailing a front‑end/back‑end separated architecture, FastAPI service setup, multimodal data handling, conversation history management, streaming responses, and Postman testing to verify the intelligent Q&A module.

LangChainMultimodal RAGPython
0 likes · 15 min read
Building a Multimodal RAG System with LangChain 1.0: Core Architecture and Smart Q&A Development
Python Programming Learning Circle
Python Programming Learning Circle
Nov 7, 2025 · Backend Development

Why FastAPI Beats Flask: A Deep Dive into Python Web Frameworks

This article compares Flask and FastAPI, explaining their core differences in speed, developer experience, and standards, and provides detailed code examples for installation, routing, async handling, dependency injection, validation, middleware, testing, deployment, and documentation to help developers decide which framework best fits their Python API projects.

APIComparisonFlask
0 likes · 23 min read
Why FastAPI Beats Flask: A Deep Dive into Python Web Frameworks
Code Mala Tang
Code Mala Tang
Nov 5, 2025 · Backend Development

How to Build a Production-Ready Async LLM API with FastAPI

Learn how to design and deploy a high‑performance, production‑grade LLM API using FastAPI, covering async routing, type‑safe Pydantic models, streaming via SSE/WebSockets, middleware, caching, rate limiting, observability, retries, and cost‑control strategies for robust AI services.

LLMStreamingasync
0 likes · 12 min read
How to Build a Production-Ready Async LLM API with FastAPI
21CTO
21CTO
Oct 30, 2025 · Backend Development

Top Python Web Frameworks in 2024: FastAPI, Django, Flask & More

This article reviews the most popular Python web frameworks of 2024—FastAPI, Django, Flask, Requests, Asyncio, and Django REST Framework—detailing their usage trends, strengths, weaknesses, and ideal use cases, while also highlighting emerging tools and how to choose the right one for your project.

DjangoFlaskPython
0 likes · 17 min read
Top Python Web Frameworks in 2024: FastAPI, Django, Flask & More
Raymond Ops
Raymond Ops
Oct 22, 2025 · Operations

Deploy Large AI Models with Docker: A Complete Zero‑to‑Production Guide

This guide explains why Docker is ideal for deploying large AI models and walks you through every step—from preparing the model and API code, building and running Docker images, to testing, optimizing, and finally deploying the containerized service in production environments.

containerizationdeploymentfastapi
0 likes · 10 min read
Deploy Large AI Models with Docker: A Complete Zero‑to‑Production Guide
AI2ML AI to Machine Learning
AI2ML AI to Machine Learning
Oct 15, 2025 · Artificial Intelligence

NanoChat Source Code Deep Dive: Karpathy’s Full‑Stack LLM Pipeline Explained

This article dissects NanoChat’s end‑to‑end LLM pipeline—from a lightweight 561M‑parameter transformer and custom Rust BPE tokenizer to Chinchilla‑scaled training, multi‑task fine‑tuning, optional RL on GSM8K, KV‑cache inference optimizations, and benchmark results that slightly surpass GPT‑2 Large.

CORE benchmarkChinchilla scalingfastapi
0 likes · 10 min read
NanoChat Source Code Deep Dive: Karpathy’s Full‑Stack LLM Pipeline Explained
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 3, 2025 · Backend Development

From Flask to FastAPI: A Complete Guide to Building High‑Performance Python Web APIs

This article walks you through building modern Python web applications, starting with Flask fundamentals, advancing to FastAPI’s async capabilities, covering RESTful API design, database integration with SQLAlchemy and Tortoise ORM, testing, deployment, and performance comparisons to help you choose the right framework.

FlaskPythonREST API
0 likes · 22 min read
From Flask to FastAPI: A Complete Guide to Building High‑Performance Python Web APIs
Instant Consumer Technology Team
Instant Consumer Technology Team
Sep 30, 2025 · Artificial Intelligence

What Makes Youtu-GraphRAG’s Engineering Stand Out? Inside the AI Blueprint

This article dissects the engineering of Tencent's Youtu-GraphRAG, covering its architectural challenges, real‑time FastAPI/WebSocket design, security measures, iterative retrieval chains, parallel processing, intelligent caching, schema‑driven knowledge handling, and performance tweaks, offering practical insights for AI system builders.

AI engineeringGraphRAGfastapi
0 likes · 7 min read
What Makes Youtu-GraphRAG’s Engineering Stand Out? Inside the AI Blueprint
21CTO
21CTO
Sep 22, 2025 · Fundamentals

What’s Driving Python’s 2025 Surge? Survey Reveals AI, Web, and Rust Trends

Based on a survey of over 30,000 Python developers, the 2025 report shows half are newcomers, AI‑assisted coding is exploding, FastAPI leads web frameworks, most still run legacy versions, Rust‑based tools gain traction, and PostgreSQL remains the dominant database, shaping Python’s future direction.

AIDeveloper SurveyPostgreSQL
0 likes · 11 min read
What’s Driving Python’s 2025 Surge? Survey Reveals AI, Web, and Rust Trends
Data Party THU
Data Party THU
Sep 13, 2025 · Artificial Intelligence

How a Multi‑Agent Large Model Transforms Ecological Big‑Data Analysis

This report details a university project that built a flexible, high‑performance multi‑agent large‑model framework for ecological environment big‑data analysis, covering system architecture, individual agents, memory mechanisms, report generation, a FastAPI‑LangGraph backend, a React frontend, testing methodology, and future directions.

AIBig DataLangGraph
0 likes · 7 min read
How a Multi‑Agent Large Model Transforms Ecological Big‑Data Analysis
Code Mala Tang
Code Mala Tang
Aug 30, 2025 · Backend Development

Boost FastAPI Response Speed 5× with a One‑Line ORJSON Switch

Discover how replacing FastAPI’s default json module with the high‑performance ORJSON serializer can slash response latency, reduce CPU usage, and boost throughput up to five times—all with a single line of code and without altering existing endpoints.

Pythonfastapijson-serialization
0 likes · 4 min read
Boost FastAPI Response Speed 5× with a One‑Line ORJSON Switch
Instant Consumer Technology Team
Instant Consumer Technology Team
Aug 20, 2025 · Backend Development

How I Built a Production‑Ready RAG Service in 3 Weeks Using AI Coding Tools

In just three weeks, I single‑handedly created a production‑grade Retrieval‑Augmented Generation (RAG) API with FastAPI, leveraging Cursor and Claude Code to automate coding, testing, and deployment, and I share practical insights on AI‑assisted development, high cohesion‑low coupling design, TDD, git worktree parallelism, and agent orchestration.

AI codingGit worktreeRAG
0 likes · 19 min read
How I Built a Production‑Ready RAG Service in 3 Weeks Using AI Coding Tools
AI Large Model Application Practice
AI Large Model Application Practice
Aug 4, 2025 · Backend Development

Mastering Lifespan in FastAPI and MCP Server: Context Managers for Robust Resource Management

This article explains how to use Python's context manager protocol and FastAPI's lifespan feature to automatically initialize and clean up resources in both standard FastAPI applications and MCP Server, covering implementation methods, code examples, and differences across transport modes.

asynccontextmanagercontext managerfastapi
0 likes · 14 min read
Mastering Lifespan in FastAPI and MCP Server: Context Managers for Robust Resource Management
Code Mala Tang
Code Mala Tang
Jul 24, 2025 · Backend Development

FastAPI Async Pitfalls: When to Use BackgroundTasks, run_in_executor, or Celery

FastAPI’s async model excels with I/O‑bound tasks but can be crippled by CPU‑heavy or blocking code; this guide explains why, compares built‑in BackgroundTasks and run_in_executor, and shows when to offload work to dedicated queues like Celery or Dramatiq for reliable, scalable processing.

BackgroundTasksPythonTask queue
0 likes · 8 min read
FastAPI Async Pitfalls: When to Use BackgroundTasks, run_in_executor, or Celery
Code Mala Tang
Code Mala Tang
Jul 24, 2025 · Information Security

Boost FastAPI Security: OAuth2, JWT, RBAC, Refresh Tokens & MFA

This guide explains how to secure FastAPI applications using OAuth2 with JWT, role‑based access control, refresh‑token workflows, multi‑factor authentication, and integration with external providers such as Auth0, Keycloak, and Firebase.

JWTMFAOAuth2
0 likes · 9 min read
Boost FastAPI Security: OAuth2, JWT, RBAC, Refresh Tokens & MFA
Code Mala Tang
Code Mala Tang
Jul 12, 2025 · Backend Development

Master FastAPI Static Files: Best Practices, Project Structure & Production Tips

Learn how to efficiently serve static assets like CSS, JavaScript, and images in FastAPI applications by installing necessary dependencies, organizing a scalable project structure, mounting static directories, rendering templates with Jinja2, and configuring production-ready setups with Nginx or CDN, while avoiding common pitfalls.

Jinja2Production DeploymentStatic files
0 likes · 6 min read
Master FastAPI Static Files: Best Practices, Project Structure & Production Tips
Code Mala Tang
Code Mala Tang
Jul 7, 2025 · Backend Development

Secure FastAPI APIs with JWT: Step‑by‑Step Guide & Best Practices

This tutorial explains the fundamentals of JSON Web Tokens, their structure, how to encode them with base64Url, and provides a complete FastAPI implementation—including installation, token generation, verification, protected routes, and practical security recommendations—for building robust authentication in distributed systems.

JWTPythonauthentication
0 likes · 10 min read
Secure FastAPI APIs with JWT: Step‑by‑Step Guide & Best Practices
Code Mala Tang
Code Mala Tang
Jul 6, 2025 · Backend Development

Splitting Dependency Injection Containers to Eliminate Bottlenecks

This article explains how to refactor a monolithic dependency‑injection container into separate repository, service, and application containers, aligning with the Single Responsibility Principle, improving maintainability, testability, and limiting change ripple effects within clear architectural boundaries, with full Python/FastAPI code examples.

Backend ArchitecturePythoncontainer design
0 likes · 6 min read
Splitting Dependency Injection Containers to Eliminate Bottlenecks
Code Mala Tang
Code Mala Tang
Jul 1, 2025 · Backend Development

How a Simple Depends() Fix Halved My FastAPI Response Times

After noticing API endpoints taking up to a second, the author discovered that misusing FastAPI's Depends() with a get_db() function that recreated the database engine on each request caused severe latency, and by refactoring get_db() into a proper generator that reuses a single engine, response times were roughly halved.

DependsSQLAlchemyfastapi
0 likes · 6 min read
How a Simple Depends() Fix Halved My FastAPI Response Times
Liangxu Linux
Liangxu Linux
Jun 26, 2025 · Artificial Intelligence

Turn Any API into an AI‑Ready MCP Service with Just a Few Lines of Code

This article introduces three emerging open‑source MCP projects—FastAPI‑MCP for converting FastAPI endpoints, ACI.dev as a one‑click MCP orchestrator with 600+ tool connectors, and Dive, a cross‑platform desktop client—detailing their purpose, key features, usage steps, and GitHub repositories.

AI integrationAgent PlatformMCP
0 likes · 5 min read
Turn Any API into an AI‑Ready MCP Service with Just a Few Lines of Code
Code Mala Tang
Code Mala Tang
Jun 17, 2025 · Backend Development

Mastering Rate Limiting: Algorithms, Redis & Lua for Scalable Backend APIs

This article explains the concept of rate limiting, compares five common algorithms—including fixed‑window, sliding‑log, sliding‑window counter, token bucket and leaky bucket—covers distributed designs using Redis and Lua scripts, and provides complete FastAPI implementation and pytest tests for both fixed‑window and sliding‑log strategies.

AlgorithmLuabackend
0 likes · 13 min read
Mastering Rate Limiting: Algorithms, Redis & Lua for Scalable Backend APIs
Code Mala Tang
Code Mala Tang
Jun 12, 2025 · Backend Development

Essential FastAPI Middleware Guide: Boost Security, Performance, and Functionality

This article explains how FastAPI middleware sits between incoming requests and outgoing responses, detailing built‑in and third‑party middleware such as CORS, GZip, HTTPS redirect, session, trusted host, error handling, rate limiting, authentication, custom headers, logging, timeout, trailing‑slash handling, IP whitelisting, proxy headers, CSRF protection, context management and global state, each with usage scenarios and code examples.

PythonWeb Developmentbackend
0 likes · 20 min read
Essential FastAPI Middleware Guide: Boost Security, Performance, and Functionality
Code Mala Tang
Code Mala Tang
Jun 9, 2025 · Backend Development

Build High‑Performance APIs with FastAPI and Swagger: A Hands‑On Guide

Learn how to create fast, modern Python APIs using FastAPI, automatically generate interactive Swagger documentation, and enhance your endpoints with validation, metadata, and a full-featured to‑do list project, all illustrated with clear code examples and step‑by‑step deployment instructions.

OpenAPIPythonSwagger
0 likes · 10 min read
Build High‑Performance APIs with FastAPI and Swagger: A Hands‑On Guide
Code Mala Tang
Code Mala Tang
Jun 2, 2025 · Backend Development

Unlocking FastAPI: A Deep Dive into Starlette, ASGI, and Middleware Architecture

This article explains how FastAPI builds on Starlette, covering the ASGI protocol, Starlette's initialization, middleware design—including ExceptionMiddleware and user-defined middleware—and routing mechanisms, while providing concrete code examples and performance insights for backend developers.

ASGIMiddlewareStarlette
0 likes · 22 min read
Unlocking FastAPI: A Deep Dive into Starlette, ASGI, and Middleware Architecture
Code Mala Tang
Code Mala Tang
Jun 2, 2025 · Backend Development

Generate Professional PDFs Directly from FastAPI with xhtml2pdf

Learn how to quickly create downloadable, professionally styled PDF invoices using FastAPI and the xhtml2pdf library, covering prerequisites, FastAPI setup, HTML template design, PDF rendering, and server launch, plus tips for dynamic data, alternative tools, and security considerations.

Pythonbackend developmentfastapi
0 likes · 6 min read
Generate Professional PDFs Directly from FastAPI with xhtml2pdf
Code Mala Tang
Code Mala Tang
May 29, 2025 · Backend Development

From Hard‑Coded Secrets to YAML‑Powered Configs: A Backend Configuration Journey

This article walks through a step‑by‑step evolution of backend configuration management—from hard‑coded constants to modular config files, environment‑specific .env files, Pydantic‑validated models, and finally YAML‑based settings—demonstrating how to build a clean, secure, and scalable setup for FastAPI applications.

PydanticPythonbackend development
0 likes · 17 min read
From Hard‑Coded Secrets to YAML‑Powered Configs: A Backend Configuration Journey
Code Mala Tang
Code Mala Tang
May 27, 2025 · Backend Development

Mastering Database Connections in FastAPI: Best Practices and Code Samples

Learn how to efficiently configure and manage database connections in FastAPI, covering synchronous and asynchronous setups, dependency injection, session handling, and testing strategies, to prevent leaks, boost performance, and ensure scalable, reliable applications.

Connection ManagementDatabaseSQLAlchemy
0 likes · 8 min read
Mastering Database Connections in FastAPI: Best Practices and Code Samples