Tagged articles
129 articles
Page 1 of 2
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 CodeFastAPI
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.

FastAPIGenericsPython
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 CodeFastAPI
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 CodeFastAPI
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.

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

AuthenticationDockerFastAPI
0 likes · 20 min read
FastAPI in Production: Auth, Rate Limiting, and Zero‑Downtime with One Codebase
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 PatternsFastAPI
0 likes · 13 min read
Build Once, Reuse Anywhere: Generic Repository Pattern in Python
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 AgentFastAPIKubernetes
0 likes · 30 min read
Deploying a Stateful AI Agent on a Stateless Web Architecture: Challenges, Solutions, and Code Walkthrough
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.

Backend DevelopmentFastAPIPydantic
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 programmingFastAPIGit worktrees
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 chatDockerFastAPI
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 SecurityBackendFastAPI
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.0FastAPI
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 AgentFastAPILLM
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.

AnnotatedFastAPIModel Design
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.

FastAPIPythonasyncio
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 editingDockerFastAPI
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.

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

APIBackendExtensions
0 likes · 22 min read
Say Goodbye to Flask: 7 FastAPI Extensions That Boost Productivity Tenfold
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.

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

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

FastAPIOpenCVPython
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 tutoringDockerEducational Technology
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 CloudDashscopeFastAPI
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.

APIDjangoFastAPI
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 CloudFastAPI
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.

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

Computed FieldFastAPIPydantic
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 CodeCoding Plan
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.

FastAPILangChainMultimodal AI
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.

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

FastAPILangChainMultimodal RAG
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.

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

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

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

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

AsyncFastAPIFlask
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 EngineeringFastAPIGraphRAG
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.

AIFastAPIPostgreSQL
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 DataFastAPI
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.

FastAPIPerformance OptimizationPython
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 CodingFastAPIRAG
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.

FastAPIasynccontextmanagercontext manager
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.

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

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

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

AuthenticationBackend DevelopmentFastAPI
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 ArchitectureFastAPIPython
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.

DependsFastAPIPerformance Optimization
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 PlatformFastAPI
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.

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

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

API developmentFastAPIOpenAPI
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.

ASGIBackend DevelopmentFastAPI
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.

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

How to Overcome FastAPI’s CPU‑Bound Bottlenecks: Practical Parallelism Strategies

This article explains why FastAPI struggles with CPU‑intensive tasks due to Python’s Global Interpreter Lock, describes the types of workloads affected, and provides concrete solutions such as background task queues, microservices, ProcessPoolExecutor, and C/C++ extensions to keep APIs responsive and scalable.

AsynchronousCPU BoundFastAPI
0 likes · 8 min read
How to Overcome FastAPI’s CPU‑Bound Bottlenecks: Practical Parallelism Strategies
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.

Backend DevelopmentConfiguration ManagementFastAPI
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.

AsyncConnection ManagementFastAPI
0 likes · 8 min read
Mastering Database Connections in FastAPI: Best Practices and Code Samples
DeWu Technology
DeWu Technology
May 26, 2025 · Backend Development

Integrating FastAPI with MCP for AI‑Driven Test Data Generation

This article explains how to transform a FastAPI service into an MCP‑compatible tool, enabling AI agents to automatically orchestrate multi‑step test data creation, covering installation, project structure, code annotations, tool configuration, and practical integration with the Cursor platform.

AIAutomationBackend
0 likes · 19 min read
Integrating FastAPI with MCP for AI‑Driven Test Data Generation
Code Mala Tang
Code Mala Tang
May 21, 2025 · Backend Development

Master FastAPI Responses: JSON, HTML, Files, Streaming & Custom Classes

Learn how FastAPI handles various response types—including default JSON, custom status codes and headers, HTMLResponse, FileResponse, StreamingResponse, and user‑defined response classes—while covering best practices, common pitfalls, and code examples for building robust APIs.

API responsesFastAPIPython
0 likes · 8 min read
Master FastAPI Responses: JSON, HTML, Files, Streaming & Custom Classes
Code Mala Tang
Code Mala Tang
May 20, 2025 · Backend Development

Master FastAPI’s Application Lifecycle: From Startup to Shutdown

This guide explains FastAPI’s full application lifecycle—including startup initialization, middleware handling, request processing steps, background tasks, and graceful shutdown—so developers can design, debug, and deploy robust asynchronous APIs efficiently.

APIApplication LifecycleFastAPI
0 likes · 7 min read
Master FastAPI’s Application Lifecycle: From Startup to Shutdown
Code Mala Tang
Code Mala Tang
May 19, 2025 · Backend Development

How to Implement Server‑Sent Events (SSE) in FastAPI for Real‑Time Apps

Server‑Sent Events (SSE) provide a simple, one‑way server push mechanism over HTTP, ideal for real‑time updates such as dashboards, notifications, and data streams; this guide explains SSE fundamentals, compares alternatives, and walks through integrating SSE into FastAPI using the sse‑starlette library with full code examples.

Backend DevelopmentFastAPIPython
0 likes · 9 min read
How to Implement Server‑Sent Events (SSE) in FastAPI for Real‑Time Apps
Fun with Large Models
Fun with Large Models
May 19, 2025 · Backend Development

Build a Streamable HTTP MCP Server from Scratch: Theory, Protocol Deep‑Dive and Full Python Implementation

This article explains the limitations of the original Stdio and HTTP SSE communication modes for MCP, introduces the Streamable HTTP protocol that resolves those issues, and provides a step‑by‑step Python implementation of both a Streamable HTTP MCP server and a matching client, complete with environment setup, FastAPI code, JSON‑RPC handling, and tool‑calling examples.

FastAPIJSON-RPCMCP protocol
0 likes · 28 min read
Build a Streamable HTTP MCP Server from Scratch: Theory, Protocol Deep‑Dive and Full Python Implementation
Code Mala Tang
Code Mala Tang
May 16, 2025 · Backend Development

How to Run Non-Blocking Background Tasks in FastAPI with BackgroundTasks

FastAPI’s BackgroundTasks feature lets you register functions that run after a response is sent, enabling non‑blocking operations such as sending emails, logging, or cleaning resources, with simple code examples, parameter details, and insights into its Starlette‑based implementation and limitations.

AsynchronousBackgroundTasksFastAPI
0 likes · 6 min read
How to Run Non-Blocking Background Tasks in FastAPI with BackgroundTasks
MaGe Linux Operations
MaGe Linux Operations
May 16, 2025 · Artificial Intelligence

Deploying Massive AI Models with Docker: A Complete From‑Zero‑to‑Production Guide

Learn how to efficiently package, build, and run large AI models in Docker containers—from preparing the model and API code, creating Dockerfiles, building and testing images, to scaling in production with Kubernetes and GPU support—complete with step‑by‑step commands and best‑practice tips.

AI Model DeploymentDockerFastAPI
0 likes · 10 min read
Deploying Massive AI Models with Docker: A Complete From‑Zero‑to‑Production Guide
Code Mala Tang
Code Mala Tang
May 13, 2025 · Backend Development

Master FastAPI Testing: Unit & Integration Tests with Pytest & HTTPX

This guide walks you through setting up a FastAPI testing environment, creating a project structure, writing both unit and integration tests using pytest, httpx, and FastAPI's TestClient, and running the tests to ensure reliable, maintainable applications.

BackendFastAPIhttpx
0 likes · 6 min read
Master FastAPI Testing: Unit & Integration Tests with Pytest & HTTPX
Code Mala Tang
Code Mala Tang
May 12, 2025 · Backend Development

How to Build a FastAPI Service with RabbitMQ Consumer & Publisher

This guide walks through creating a FastAPI application that both publishes and consumes messages via RabbitMQ, detailing the setup of a Pika client, asynchronous consumer, message handling, API routes, and deployment with uvicorn, complete with code snippets and testing instructions.

AsyncFastAPIPika
0 likes · 7 min read
How to Build a FastAPI Service with RabbitMQ Consumer & Publisher
Data STUDIO
Data STUDIO
May 12, 2025 · Fundamentals

Why Pydantic Is a Must‑Know Python Library for Data Validation

This article introduces Pydantic (v2), explains its core validation, parsing, and serialization features, compares it with plain dataclasses, demonstrates basic to advanced usage—including optional fields, default factories, nested models, custom validators, and alias handling—while warning about version differences and AI‑generated code pitfalls.

AliasCustom ValidationFastAPI
0 likes · 16 min read
Why Pydantic Is a Must‑Know Python Library for Data Validation
Code Mala Tang
Code Mala Tang
May 10, 2025 · Backend Development

Master FastAPI Request Body Validation with Pydantic Models

This guide explains how FastAPI uses Pydantic models to define, validate, and parse JSON and form request bodies, set default values and custom rules, handle nested structures, and return response models, providing a type‑safe, efficient way to build backend APIs.

Backend DevelopmentFastAPIPydantic
0 likes · 8 min read
Master FastAPI Request Body Validation with Pydantic Models
Code Mala Tang
Code Mala Tang
May 9, 2025 · Backend Development

How to Render HTML with FastAPI and Jinja2: A Step‑by‑Step Guide

This tutorial walks you through installing FastAPI, setting up a project structure, creating routes that serve Jinja2‑rendered HTML pages, adding static files, building forms, and mastering essential Jinja2 syntax such as variables, conditionals, loops, template inheritance, filters, macros, and security considerations.

FastAPIHTML renderingJinja2
0 likes · 7 min read
How to Render HTML with FastAPI and Jinja2: A Step‑by‑Step Guide
Code Mala Tang
Code Mala Tang
May 8, 2025 · Backend Development

Mastering Exception Handling in FastAPI: Strategies, Patterns, and Code

Learn how to design robust exception handling for FastAPI applications by combining Look‑Before‑You‑Leap and EAFP strategies, creating custom exception classes, organizing handlers, and integrating them into your API to improve maintainability, clarity, and error response consistency.

Backend DevelopmentCustom ExceptionsException Handling
0 likes · 19 min read
Mastering Exception Handling in FastAPI: Strategies, Patterns, and Code
Code Mala Tang
Code Mala Tang
May 1, 2025 · Backend Development

Master Advanced FastAPI Routing: Modular APIs, Versioning, and RBAC

This tutorial explains how to build scalable, maintainable FastAPI APIs by modularizing routers, implementing path‑based version control, centralizing dependency injection, applying role‑based access control, using custom middleware, and nesting routers for complex applications.

FastAPIRBACVersioning
0 likes · 10 min read
Master Advanced FastAPI Routing: Modular APIs, Versioning, and RBAC
Code Mala Tang
Code Mala Tang
Apr 24, 2025 · Backend Development

Mastering Dependency Injection in FastAPI: From Basics to Advanced Use

This article explains how FastAPI leverages Dependency Injection to improve code reusability, modularity, and testability, covering basic examples, sub‑dependency handling, database session management with SQLAlchemy, and building a full‑featured user management API with authentication.

Backend DevelopmentFastAPIPython
0 likes · 9 min read
Mastering Dependency Injection in FastAPI: From Basics to Advanced Use
Code Mala Tang
Code Mala Tang
Apr 3, 2025 · Backend Development

Build an Anthropic MCP Server with FastAPI in Minutes

This guide explains why the Anthropic MCP protocol is essential for AI‑agent integration and walks you through building a FastAPI server, adding the fastapi‑mcp extension, and configuring the MCP endpoint so your application can communicate seamlessly with AI agents.

AI agentsBackend DevelopmentFastAPI
0 likes · 5 min read
Build an Anthropic MCP Server with FastAPI in Minutes
Code Mala Tang
Code Mala Tang
Mar 26, 2025 · Backend Development

Boost FastAPI Performance: 9 Proven Techniques with Code Samples

Learn how to dramatically improve FastAPI application speed by implementing asynchronous endpoints, database connection pooling, Redis caching, query optimization, Gzip compression, background tasks, performance monitoring, CDN static file serving, and faster JSON serialization with ujson, each illustrated with practical code examples.

AsyncFastAPIGzip
0 likes · 7 min read
Boost FastAPI Performance: 9 Proven Techniques with Code Samples
Code Mala Tang
Code Mala Tang
Mar 22, 2025 · Backend Development

Pydantic & FastAPI: Optional Fields, Nested Models, and Advanced Validation

Learn how to leverage Pydantic in FastAPI to handle optional fields, validate nested data structures, enforce complex business rules with model validators, forbid extra fields, work with polymorphic models, and validate query and path parameters, all illustrated with clear Python code examples.

Backend DevelopmentFastAPIPydantic
0 likes · 10 min read
Pydantic & FastAPI: Optional Fields, Nested Models, and Advanced Validation
Code Mala Tang
Code Mala Tang
Mar 21, 2025 · Backend Development

How to Implement Rate Limiting in FastAPI with SlowAPI

This tutorial explains how to add request rate limiting to a FastAPI application using the SlowAPI library, covering both IP‑based limits and custom token‑based strategies, with installation steps, code examples, and best‑practice recommendations.

BackendFastAPIPython
0 likes · 5 min read
How to Implement Rate Limiting in FastAPI with SlowAPI
Code Mala Tang
Code Mala Tang
Mar 20, 2025 · Backend Development

How to Design Scalable FastAPI Project Structures: File‑Based vs Module‑Based

This article compares two primary FastAPI project structure strategies—file‑type based and module‑function based—explaining why a well‑organized architecture improves scalability, maintainability, and team collaboration, and provides concrete directory layouts and best‑practice guidelines for building robust backend applications.

Backend DevelopmentFastAPIMicroservices
0 likes · 9 min read
How to Design Scalable FastAPI Project Structures: File‑Based vs Module‑Based
Code Mala Tang
Code Mala Tang
Mar 19, 2025 · Backend Development

Applying SOLID Principles and Design Patterns in FastAPI for Clean Architecture

This article explains how to apply SOLID principles and common design patterns such as DAO, service layer, and dependency inversion to FastAPI, demonstrating code examples that separate responsibilities, improve testability, and create a clean, maintainable backend architecture.

Backend DevelopmentDesign PatternsFastAPI
0 likes · 13 min read
Applying SOLID Principles and Design Patterns in FastAPI for Clean Architecture
21CTO
21CTO
Feb 16, 2025 · Artificial Intelligence

How to Deploy Your Own DeepSeek LLM Locally: Step-by-Step Guide

This guide walks you through setting up a local DeepSeek large language model, covering environment preparation, model acquisition, dependency installation, FastAPI service creation, Docker containerization, optional front‑end interface, performance tuning, and common troubleshooting steps.

AI modelDeepSeekDocker
0 likes · 7 min read
How to Deploy Your Own DeepSeek LLM Locally: Step-by-Step Guide
System Architect Go
System Architect Go
Nov 24, 2024 · Artificial Intelligence

Building a Web Voice Chatbot with Whisper, llama.cpp, and LLM

This article demonstrates how to build a web‑based voice chatbot by integrating Whisper speech‑to‑text, llama.cpp LLM inference, and WebSocket communication, detailing both the frontend JavaScript implementation and the Python FastAPI backend, along with Docker deployment and example code.

FastAPIJavaScriptLLM
0 likes · 10 min read
Building a Web Voice Chatbot with Whisper, llama.cpp, and LLM
JavaEdge
JavaEdge
Oct 15, 2024 · Artificial Intelligence

Build a Real‑Time Search & Bazi AI Agent with LangChain & FastAPI

This tutorial walks through creating a LangChain tool‑calling agent that combines a real‑time web search tool, a Qdrant vector store for local knowledge retrieval, and a custom Bazi fortune‑telling service, all wrapped in a FastAPI application for interactive use.

AI AgentFastAPILangChain
0 likes · 15 min read
Build a Real‑Time Search & Bazi AI Agent with LangChain & FastAPI
JavaEdge
JavaEdge
Oct 14, 2024 · Artificial Intelligence

Deploying LLMs with LangServe: A Complete Guide from Setup to Client Calls

This article introduces LangServe, explains its key features for LLM deployment, walks through environment setup, shows how to build a FastAPI‑based REST API with code examples, demonstrates testing via Postman and remote client calls, and summarizes its benefits for AI model serving.

AI model servingFastAPILLM deployment
0 likes · 9 min read
Deploying LLMs with LangServe: A Complete Guide from Setup to Client Calls