Tagged articles

Python

5000 articles · Page 11 of 50
Code Mala Tang
Code Mala Tang
Jun 8, 2025 · Fundamentals

Why Python’s a, b = b, a Isn’t Magic – The Real Mechanics Explained

This article demystifies Python’s a, b = b, a idiom by detailing how tuple packing and unpacking work, the exact evaluation order, the CPython bytecode implementation, comparisons with C, C++, Java, JavaScript, and the performance and memory implications of the technique.

Pythonbytecodetuple unpacking
0 likes · 17 min read
Why Python’s a, b = b, a Isn’t Magic – The Real Mechanics Explained
Architecture and Beyond
Architecture and Beyond
Jun 8, 2025 · Frontend Development

Why Server‑Sent Events (SSE) Power Real‑Time Typing Effects in AI Chat Apps

Server‑Sent Events (SSE) offer a lightweight, HTTP‑native solution for real‑time, one‑way streaming, making them ideal for AI chat applications that need a typewriter‑style response, with advantages over WebSockets such as easy implementation, automatic reconnection, broad compatibility, and simple debugging.

JavaScriptPythonReal-time Streaming
0 likes · 13 min read
Why Server‑Sent Events (SSE) Power Real‑Time Typing Effects in AI Chat Apps
Python Programming Learning Circle
Python Programming Learning Circle
Jun 7, 2025 · Backend Development

Master Python Web Scraping: From Requests to Selenium and Scrapy

Learn how to efficiently scrape web pages using Python by exploring multiple approaches—including simple requests with BeautifulSoup, fast parsing with lxml, dynamic content extraction with Selenium, and large‑scale crawling with Scrapy—complete with installation steps, code snippets, and detailed explanations.

PythonScrapySelenium
0 likes · 10 min read
Master Python Web Scraping: From Requests to Selenium and Scrapy
Python Programming Learning Circle
Python Programming Learning Circle
Jun 7, 2025 · Fundamentals

How to Choose the Right Programming Language for Your Project

Choosing the right programming language depends on project requirements such as performance, development speed, platform compatibility, and team expertise, with C++ excelling in low‑level control, Java dominating enterprise back‑ends, Python leading in AI and rapid development, and C# powering Windows and Unity game applications.

C++C++Java
0 likes · 9 min read
How to Choose the Right Programming Language for Your Project
Qborfy AI
Qborfy AI
Jun 7, 2025 · Artificial Intelligence

Build a Retrieval‑Augmented Generation (RAG) Chatbot with LangChain and Streamlit

This guide walks through the complete process of creating a RAG‑powered question‑answering bot using LangChain, Streamlit, and vector‑store embeddings, covering theory, architecture, data loading, chunking, vector indexing, retrieval, LLM integration, and full code implementation with practical examples.

ChatbotLangChainPython
0 likes · 13 min read
Build a Retrieval‑Augmented Generation (RAG) Chatbot with LangChain and Streamlit
Code Mala Tang
Code Mala Tang
Jun 6, 2025 · Fundamentals

Master Python Comments: Best Practices and Common Pitfalls

This guide explains what comments are in Python, shows how to write single‑line and multi‑line comments using the # symbol, warns against misuse of triple quotes, covers docstring usage, and provides IDE shortcut keys for efficient commenting.

Best PracticesDocstringsIDE shortcuts
0 likes · 7 min read
Master Python Comments: Best Practices and Common Pitfalls
Test Development Learning Exchange
Test Development Learning Exchange
Jun 6, 2025 · Fundamentals

Unlock Python’s Power: 8 Essential functools Tools You Must Know

Explore the Python functools module’s most useful utilities—including reduce, partial, lru_cache, wraps, total_ordering, cmp_to_key, singledispatch, and cache—through clear explanations and practical code examples that demonstrate how each tool can simplify functional programming and improve code efficiency.

CachingCode examplesFunctional Programming
0 likes · 6 min read
Unlock Python’s Power: 8 Essential functools Tools You Must Know
Python Programming Learning Circle
Python Programming Learning Circle
Jun 6, 2025 · Fundamentals

Master Python Basics: Variables, Data Types, Operators, and Control Flow

This guide introduces Python's core fundamentals, covering its concise syntax, commenting styles, dynamic variables, primary data types, input/output functions, a full range of operators, control‑flow statements, and essential data structures such as lists, tuples, dictionaries and sets, complete with examples and visual illustrations.

Control FlowData StructuresProgramming Basics
0 likes · 9 min read
Master Python Basics: Variables, Data Types, Operators, and Control Flow
Python Programming Learning Circle
Python Programming Learning Circle
Jun 6, 2025 · Fundamentals

Why Making Python Faster Is Hard—and Worth the Effort

Optimizing Python is challenging due to its dynamic nature, but various strategies—from using NumPy, Numba, and Cython to upcoming CPython enhancements like adaptive specialization, JIT, and GIL‑free versions—show promise for improving performance while preserving the language’s flexibility.

CPythonJITPerformance optimization
0 likes · 7 min read
Why Making Python Faster Is Hard—and Worth the Effort
Python Programming Learning Circle
Python Programming Learning Circle
Jun 5, 2025 · Fundamentals

What’s New in Python 3.14? 7 Game‑Changing Features You Must Know

Python 3.14 brings a collection of major upgrades—t‑strings for safer templating, lazy type‑annotation evaluation, a standardized external debugger API, built‑in Zstandard compression, a smarter REPL, new UUID versions with 40% faster generation, and stricter finally‑block semantics—each aimed at improving developer productivity, security, and runtime performance.

PythonUUIDdebugger-api
0 likes · 11 min read
What’s New in Python 3.14? 7 Game‑Changing Features You Must Know
Continuous Delivery 2.0
Continuous Delivery 2.0
Jun 4, 2025 · Backend Development

Effective Waiting Strategies for Selenium Web Automation

This article explains various Selenium waiting techniques—including implicit wait, fixed (hard) wait, page load strategies, and JavaScript detection—detailing their principles, advantages, disadvantages, and providing Python code examples to help choose the most suitable approach for stable and efficient automated web testing.

Automation testingPythonSelenium
0 likes · 7 min read
Effective Waiting Strategies for Selenium Web Automation
Code Mala Tang
Code Mala Tang
Jun 3, 2025 · Fundamentals

10 Essential Python Design Patterns Every Developer Should Master

Explore ten crucial Python design patterns—from Singleton to Memoization—complete with real-world examples for data pipelines, ETL processes, and scalable systems, helping developers write cleaner, more maintainable, and efficient code across backend and data engineering tasks.

Backend DevelopmentCode ReusabilityDesign Patterns
0 likes · 9 min read
10 Essential Python Design Patterns Every Developer Should Master
Test Development Learning Exchange
Test Development Learning Exchange
Jun 3, 2025 · Backend Development

A Python GUI Tool for JSON Formatting and Comparison

This article introduces a Python‑based GUI application that formats, compares, and highlights differences between two JSON files, detailing its features, implementation using tkinter, json and DeepDiff, example usage, and instructions for running and extending the tool.

DeepDiffGUIPython
0 likes · 10 min read
A Python GUI Tool for JSON Formatting and Comparison
AI Algorithm Path
AI Algorithm Path
Jun 3, 2025 · Artificial Intelligence

Inside Tencent’s HunyuanVideo-Avatar: How Open‑Source AI Generates Digital Human Videos

Tencent’s HunyuanVideo-Avatar converts a static portrait and an audio clip into a lip‑synced, expressive video using a multimodal diffusion Transformer, offering open‑source weights, detailed module designs, hardware requirements, code examples, and a candid assessment of its strengths and current limitations.

AI video generationCUDAHunyuanVideo-Avatar
0 likes · 8 min read
Inside Tencent’s HunyuanVideo-Avatar: How Open‑Source AI Generates Digital Human Videos
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
Python Programming Learning Circle
Python Programming Learning Circle
May 30, 2025 · Fundamentals

Python and Pandas Version Compatibility Guide

This article explains why matching Python and Pandas versions is essential, provides a compatibility table, shows how to install the correct Pandas release for a given Python version, demonstrates checking current versions, and offers commands for upgrading or downgrading Pandas while recommending virtual environments and official documentation.

InstallationPandasPython
0 likes · 3 min read
Python and Pandas Version Compatibility Guide
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 DevelopmentFastAPIPydantic
0 likes · 17 min read
From Hard‑Coded Secrets to YAML‑Powered Configs: A Backend Configuration Journey
Alibaba Cloud Developer
Alibaba Cloud Developer
May 29, 2025 · Artificial Intelligence

Build a Minimal Large Language Model from Scratch with Python and PyTorch

This tutorial walks through creating a simple bigram language model in pure Python, refactoring it into a PyTorch implementation, and explains core concepts such as tokenization, embedding layers, loss functions, gradient descent, training loops, and text generation, preparing you for building a full GPT model.

BigramLLMLanguageModel
0 likes · 31 min read
Build a Minimal Large Language Model from Scratch with Python and PyTorch
Huolala Tech
Huolala Tech
May 28, 2025 · Artificial Intelligence

How MCP (Model Context Protocol) Empowers AI Integration in Real-World Scenarios

Model Context Protocol (MCP) is an open standard that creates secure bidirectional links between data sources and AI tools, offering ecosystem plugins, cross‑model compatibility, and data‑privacy benefits; the article compares MCP with function calls and agents, outlines its architecture, and demonstrates practical implementations at Huolala.

AI integrationMCPPython
0 likes · 16 min read
How MCP (Model Context Protocol) Empowers AI Integration in Real-World Scenarios
Python Programming Learning Circle
Python Programming Learning Circle
May 26, 2025 · Fundamentals

Comprehensive Guide to Python Version, Environment, Package Management and Build Tools

This article provides a structured overview of Python version management, virtual environment handling, package management, building, and publishing tools, comparing utilities like pyenv, conda, pipenv, Poetry, pdm, Hatch, and Rye, and includes practical command examples and a feature‑comparison table.

Pythondependency-managementenvironment management
0 likes · 23 min read
Comprehensive Guide to Python Version, Environment, Package Management and Build Tools
Code Mala Tang
Code Mala Tang
May 26, 2025 · Fundamentals

10 Common Python Anti‑Patterns and How to Avoid Them

This article examines ten frequent Python anti‑patterns—such as mutable default arguments, catching broad exceptions, overly long functions, reinventing the wheel, misusing list comprehensions, excessive lambdas, hard‑coded values, ignoring virtual environments, overusing inheritance, and neglecting code formatting—explaining why they harm readability, maintainability or performance and offering clear, better‑practice alternatives.

Anti-patternsPythoncode quality
0 likes · 8 min read
10 Common Python Anti‑Patterns and How to Avoid Them
Test Development Learning Exchange
Test Development Learning Exchange
May 25, 2025 · Fundamentals

Understanding Python's functools.partial: Syntax, Benefits, and Practical Examples

This article explains what Python's functools.partial is, shows its basic syntax, outlines its advantages such as reducing code duplication and improving readability, and provides multiple practical code examples—including simple addition, keyword arguments, complex use cases, comparisons with lambda, and real‑world applications in GUI and multithreading contexts.

Code ReuseHigher-Order FunctionsPython
0 likes · 7 min read
Understanding Python's functools.partial: Syntax, Benefits, and Practical Examples
Test Development Learning Exchange
Test Development Learning Exchange
May 25, 2025 · Fundamentals

Master Python Functions: Syntax, Parameters, Defaults, and Advanced Tricks

This guide explains how to define Python functions, the role of return statements, differences between positional and keyword arguments, default‑parameter pitfalls, *args/**kwargs usage, argument unpacking, reference passing semantics, positional‑only/keyword‑only parameters, and anonymous lambda functions, all with clear code examples.

FunctionsLambdaPython
0 likes · 6 min read
Master Python Functions: Syntax, Parameters, Defaults, and Advanced Tricks
Fun with Large Models
Fun with Large Models
May 23, 2025 · Backend Development

Rapidly Build a Streamable HTTP MCP Server with the Official MCP SDK – Full End‑to‑End Guide

This article walks through the complete process of creating, testing, and publishing a streamable HTTP MCP server using the official MCP SDK, covering environment setup with Anaconda and uv, project structuring, code implementation, tool integration, Inspector testing, PyPI deployment, and client verification with CherryStudio.

ASGICherryStudioMCP
0 likes · 16 min read
Rapidly Build a Streamable HTTP MCP Server with the Official MCP SDK – Full End‑to‑End Guide
Python Programming Learning Circle
Python Programming Learning Circle
May 23, 2025 · Artificial Intelligence

Useful Python Libraries for Data Science (Beyond pandas and NumPy)

This article introduces a curated list of lesser‑known Python packages for data‑science tasks—including Wget, Pendulum, imbalanced‑learn, FlashText, fuzzywuzzy, PyFlux, Ipyvolume, Dash, and Gym—providing installation commands, brief usage examples, and explanations of when each library is useful.

Pythondata-sciencemachine-learning
0 likes · 10 min read
Useful Python Libraries for Data Science (Beyond pandas and NumPy)
Code Mala Tang
Code Mala Tang
May 22, 2025 · Fundamentals

9 Essential Python Debugging Techniques Every Developer Should Master

This guide presents nine practical Python debugging methods—including try‑except blocks, print statements, the pdb debugger, assertions, stack trace analysis, linting tools, IDE breakpoints, logging, and unit testing—to help developers quickly identify and resolve errors in their code.

Error handlingLoggingPython
0 likes · 4 min read
9 Essential Python Debugging Techniques Every Developer Should Master
Test Development Learning Exchange
Test Development Learning Exchange
May 22, 2025 · Fundamentals

Understanding Python Iterables: Concepts, Creation, Built‑in Functions, Comprehensions, Advanced Operations, and Generators

This article explains Python iterables, covering their basic concepts, how to create and use them with loops, iter() and next(), built‑in functions that accept iterables, comprehension techniques, advanced operations like zip, enumerate, filter, map, and their relationship with generators for efficient data processing.

ComprehensionsIterablePython
0 likes · 7 min read
Understanding Python Iterables: Concepts, Creation, Built‑in Functions, Comprehensions, Advanced Operations, and Generators
Test Development Learning Exchange
Test Development Learning Exchange
May 21, 2025 · Operations

Best Practices for Load Testing with Locust: Resource Management, User Simulation, Distributed Testing, and Monitoring

This guide outlines essential Locust load‑testing practices, covering resource and error handling, realistic user behavior simulation, distributed test setup, environment consistency, monitoring and reporting, security considerations, and systematic performance bottleneck identification.

Distributed TestingLocustPython
0 likes · 5 min read
Best Practices for Load Testing with Locust: Resource Management, User Simulation, Distributed Testing, and Monitoring
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
Liangxu Linux
Liangxu Linux
May 19, 2025 · Fundamentals

Why PCA Transforms High‑Dimensional Data into Simple Insights (with Python)

This article demystifies Principal Component Analysis by explaining its intuition, the role of variance, step‑by‑step visual analogies, the mathematical foundation, and a complete Python implementation using scikit‑learn, including data generation, scaling, fitting, scree plot visualization, component interpretation, and dimensionality reduction to two principal components.

Data VisualizationMachine LearningPCA
0 likes · 16 min read
Why PCA Transforms High‑Dimensional Data into Simple Insights (with Python)
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 18, 2025 · Fundamentals

5 Must-Have Python CLI Tools to Supercharge Your Terminal

Discover five powerful Python command‑line utilities—httpie, glances, rich‑cli, howdoi, and csvkit—that streamline API interactions, system monitoring, output formatting, quick Stack Overflow answers, complete with installation steps and practical examples to boost your productivity.

CLI ToolsCommand LinePython
0 likes · 6 min read
5 Must-Have Python CLI Tools to Supercharge Your Terminal
Architect's Guide
Architect's Guide
May 18, 2025 · Backend Development

Integrating DeepSeek AI with a WeChat Public Account: A Step‑by‑Step Backend Tutorial

This tutorial walks beginners through obtaining a DeepSeek API key, setting up an Alibaba Cloud ECS instance, configuring the server and WeChat public platform, installing required Python dependencies, editing configuration files, and finally running the chatbot so the public account can interact with the DeepSeek large‑language model.

APIBackendCloud
0 likes · 12 min read
Integrating DeepSeek AI with a WeChat Public Account: A Step‑by‑Step Backend Tutorial
Test Development Learning Exchange
Test Development Learning Exchange
May 17, 2025 · Fundamentals

Understanding Python Generator Functions: Syntax, Usage, and Practical Examples

Python generator functions, using the yield keyword, enable lazy evaluation and memory-efficient data processing, with examples covering basic syntax, differences from regular functions, Fibonacci sequence generation, large file reading, two-way communication via send(), and control methods like throw() and close(), highlighting their advantages.

Code examplesIteratorsLazy Evaluation
0 likes · 4 min read
Understanding Python Generator Functions: Syntax, Usage, and Practical Examples
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.

BackgroundTasksFastAPIPython
0 likes · 6 min read
How to Run Non-Blocking Background Tasks in FastAPI with BackgroundTasks
Python Programming Learning Circle
Python Programming Learning Circle
May 16, 2025 · Fundamentals

Using openpyxl to Create, Read, and Manipulate Excel Files in Python

This article provides a step‑by‑step guide on installing the openpyxl library, creating new Excel workbooks, reading existing files, applying common operations such as iterating cells, modifying values, styling, merging, freezing panes, adding formulas, adjusting dimensions, and demonstrates practical scenarios including bulk data writes and pandas integration.

PandasPythondata processing
0 likes · 5 min read
Using openpyxl to Create, Read, and Manipulate Excel Files in Python
php Courses
php Courses
May 16, 2025 · Operations

Using Python for Automation in Operations (DevOps)

This article explains why Python is a leading language for DevOps automation, detailing its core advantages, typical use cases such as bulk server management, configuration management, log analysis, and scheduled tasks, and introduces common Python libraries and learning pathways for building robust operational workflows.

PythonScriptingautomation
0 likes · 6 min read
Using Python for Automation in Operations (DevOps)
php Courses
php Courses
May 15, 2025 · Artificial Intelligence

Why Python Dominates Data Analysis and Machine Learning: Core Tools, Full‑Stack Solutions, and Learning Path

This article explains why Python has become the leading language for data analysis and machine learning, outlines the essential libraries and frameworks, provides practical code examples, describes typical application scenarios, suggests a staged learning roadmap, and forecasts future trends such as AutoML and federated learning.

AutoMLMachine LearningPyTorch
0 likes · 6 min read
Why Python Dominates Data Analysis and Machine Learning: Core Tools, Full‑Stack Solutions, and Learning Path
php Courses
php Courses
May 14, 2025 · Backend Development

Python Advantages for Web Scraping and Core Library Guide

This article outlines Python's advantages for web crawling, introduces core libraries such as Requests, BeautifulSoup, and Scrapy, details a step-by-step development workflow, provides practical code examples for extracting news titles, and highlights important considerations and advanced techniques for robust scraper implementation.

PythonScrapyWeb Scraping
0 likes · 5 min read
Python Advantages for Web Scraping and Core Library Guide
Network Intelligence Research Center (NIRC)
Network Intelligence Research Center (NIRC)
May 14, 2025 · Artificial Intelligence

Hands‑On CLIP: Implementing Multimodal Vision‑Language Understanding

This article introduces OpenAI’s CLIP multimodal model, explains its architecture and contrastive training, details hardware and installation steps, and demonstrates a hands‑on zero‑shot image classification workflow that achieves 97% confidence on a cat image without any task‑specific fine‑tuning.

CLIPPythonZero-Shot Classification
0 likes · 6 min read
Hands‑On CLIP: Implementing Multimodal Vision‑Language Understanding
Tencent Cloud Developer
Tencent Cloud Developer
May 13, 2025 · Artificial Intelligence

Function Calling and Model Context Protocol (MCP): Bridging Large Language Models with Real‑World Systems

The article reviews the shortcomings of traditional large language models, explains how function calling extends LLMs beyond pure text, introduces the Model Context Protocol (MCP) as a standardized USB‑C‑like interface for AI tools, and demonstrates a Python MCP example that integrates LLMs with Tencent Advertising APIs.

AI integrationAPIFunction Calling
0 likes · 16 min read
Function Calling and Model Context Protocol (MCP): Bridging Large Language Models with Real‑World Systems
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.

FastAPIPikaPython
0 likes · 7 min read
How to Build a FastAPI Service with RabbitMQ Consumer & Publisher
Python Programming Learning Circle
Python Programming Learning Circle
May 12, 2025 · Fundamentals

Basic Python Web Scraping Techniques and Tips

This article introduces beginner-friendly Python web‑scraping methods, covering the simplest urllib/requests approach, adding request headers, inspecting network traffic for hidden data, handling dynamically loaded content with Selenium, and provides links to deeper tutorials for each technique.

Network InspectionPythonSelenium
0 likes · 4 min read
Basic Python Web Scraping Techniques and Tips
Youzan Coder
Youzan Coder
May 12, 2025 · Artificial Intelligence

How Large Language Models Empower Business Development Engineers: Data Analysis, Model Training, and Rapid Prototyping

This article demonstrates how large language models can augment business development engineers by providing data insight, automating algorithm training, and enabling low‑cost rapid product prototyping, thereby transforming traditional backend‑focused roles into full‑stack, AI‑enhanced innovators.

AILarge language modelsPython
0 likes · 10 min read
How Large Language Models Empower Business Development Engineers: Data Analysis, Model Training, and Rapid Prototyping
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.

Custom ValidationData 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
Test Development Learning Exchange
Test Development Learning Exchange
May 10, 2025 · Fundamentals

Using Python's json Module: Serialization, Deserialization, and Common Operations

This article introduces Python's built‑in json module, explaining how to serialize Python objects to JSON strings and files, deserialize JSON back to Python, and demonstrates common tasks such as pretty‑printing, handling Unicode, working with lists and nested structures, custom encoders, and network responses.

Pythondata handlingdeserialization
0 likes · 8 min read
Using Python's json Module: Serialization, Deserialization, and Common Operations
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
Alibaba Cloud Native
Alibaba Cloud Native
May 9, 2025 · Artificial Intelligence

Build a Retrieval‑Augmented Generation (RAG) App with LangChain, Higress, and Elasticsearch

This tutorial walks through building a Retrieval‑Augmented Generation (RAG) system by combining LangChain for document processing, Elasticsearch’s vector store with the ELSER v2 model for semantic search, and Higress as a cloud‑native AI gateway, complete with deployment scripts, code examples, and query testing.

AIHigressLangChain
0 likes · 15 min read
Build a Retrieval‑Augmented Generation (RAG) App with LangChain, Higress, and Elasticsearch
G7 EasyFlow Tech Circle
G7 EasyFlow Tech Circle
May 9, 2025 · Artificial Intelligence

How LLMs + Python Are Redefining Data Analysis: A Practical Guide

This article explains how large language models combined with Python's data‑science ecosystem can automate metadata extraction, data cleaning, and analysis tasks—illustrated with a step‑by‑step Titanic passenger dataset case study, complete prompts, code snippets, and best‑practice recommendations.

LLMPandasPrompt Engineering
0 likes · 18 min read
How LLMs + Python Are Redefining Data Analysis: A Practical 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 DevelopmentFastAPIPython
0 likes · 19 min read
Mastering Exception Handling in FastAPI: Strategies, Patterns, and Code
21CTO
21CTO
May 8, 2025 · Artificial Intelligence

Build a Simple ChatGPT Bot with Python and OpenAI API in Minutes

This tutorial walks you through registering on OpenAI, installing required Python packages, setting up API keys, and writing a Jupyter Notebook that defines a chat function and an interactive loop to create a functional GPT‑3.5 chatbot.

ChatGPTChatbotGPT-3.5
0 likes · 7 min read
Build a Simple ChatGPT Bot with Python and OpenAI API in Minutes
php Courses
php Courses
May 8, 2025 · Fundamentals

Data Visualization with Matplotlib and Seaborn in Python

This article introduces Python's Matplotlib and Seaborn libraries for data visualization, covering basic and advanced statistical charts, common plot types, customization techniques, and multi‑plot layouts with clear code examples and a comparative summary of each library's strengths.

Data VisualizationMatplotlibPython
0 likes · 5 min read
Data Visualization with Matplotlib and Seaborn in Python
Test Development Learning Exchange
Test Development Learning Exchange
May 6, 2025 · Fundamentals

Python Date and Time Manipulation Examples

This article provides a comprehensive collection of Python code snippets demonstrating how to obtain, format, convert, calculate differences, and perform various operations with dates and times, including timers, scheduling, and weekday handling.

PythonTime Manipulationdate-time
0 likes · 7 min read
Python Date and Time Manipulation Examples
AI Large Model Application Practice
AI Large Model Application Practice
May 6, 2025 · Artificial Intelligence

How to Build an Agentic RAG System from Scratch Using MCP Architecture

This article walks through the design and full implementation of an Agentic Retrieval‑Augmented Generation (RAG) system built on the MCP standard, covering the conceptual fusion of MCP and RAG, server‑side tool creation with LlamaIndex, client‑side agent construction with LangGraph, configuration files, caching strategies, code examples, and an end‑to‑end demonstration.

Agentic RAGLLMLangGraph
0 likes · 15 min read
How to Build an Agentic RAG System from Scratch Using MCP Architecture