Tagged articles
5000 articles
Page 10 of 50
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
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 BoundConcurrency
0 likes · 8 min read
How to Overcome FastAPI’s CPU‑Bound Bottlenecks: Practical Parallelism Strategies
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.

InstallationPythonVersion Compatibility
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 DevelopmentConfiguration ManagementFastAPI
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 IntegrationPythonfunction call
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.

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

DebuggingError HandlingLogging
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.

ComprehensionsGeneratorsIterable
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 toolsPythonautomation
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.

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

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

Pythondata-processingopenpyxl
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.

Configuration ManagementDevOpsOperations
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.

AutoMLData AnalysisMachine Learning
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.

Data ExtractionPythonScrapy
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.

CLIPPythoncontrastive learning
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 IntegrationAPILLM
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.

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

AIData AnalysisPython
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 ValidationFastAPIPydantic
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.

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

Data AnalysisData cleaningLLM
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 DevelopmentCustom ExceptionsException Handling
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.

CustomizationData visualizationMatplotlib
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 ManipulationTutorial
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
DevOps Engineer
DevOps Engineer
May 6, 2025 · Backend Development

Getting Started with uv: Fast Python Package Management and Project Initialization

This article introduces uv, a Rust‑based Python package manager, and demonstrates how to initialize a project with uv init, add dependencies with uv add, manage virtual environments via uv venv, and run tools with uvx, offering a faster, more automated alternative to pip and requirements files.

Pythondependency resolutionpackage management
0 likes · 6 min read
Getting Started with uv: Fast Python Package Management and Project Initialization
Test Development Learning Exchange
Test Development Learning Exchange
May 5, 2025 · Backend Development

Comprehensive Collection of Python Decorators for Logging, Timing, Error Handling, Caching, and More

This article presents a thorough set of Python decorator implementations covering logging, performance timing, exception handling, caching, retry mechanisms, authentication, parameter validation, decorator chaining, JSON response formatting, rate limiting, environment variable injection, response monitoring, custom headers, data transformation, concurrency control, distributed locking, API version control, security auditing, input validation, and output filtering, each with usage examples and sample output.

APILoggingPython
0 likes · 21 min read
Comprehensive Collection of Python Decorators for Logging, Timing, Error Handling, Caching, and More
Code Mala Tang
Code Mala Tang
May 5, 2025 · Information Security

6 Essential Python Security Practices Every Developer Should Follow

Learn how to safeguard your Python applications by avoiding hard‑coded secrets, using .env files, employing virtual environments, validating and sanitizing inputs, handling files securely, encrypting sensitive data, and implementing proper exception handling—all essential steps for robust information security.

Best PracticesException HandlingPython
0 likes · 5 min read
6 Essential Python Security Practices Every Developer Should Follow
Code Mala Tang
Code Mala Tang
May 4, 2025 · Backend Development

Mastering API Calls in Python: SOAP, REST, and GraphQL Explained

Learn how Python can interact with the three major API types—SOAP, REST, and GraphQL—by understanding their core concepts, differences, and practical code examples using libraries like zeep and requests, empowering you to build robust integrations across diverse services.

APIGraphQLPython
0 likes · 9 min read
Mastering API Calls in Python: SOAP, REST, and GraphQL Explained
dbaplus Community
dbaplus Community
May 3, 2025 · Backend Development

Boost Elasticsearch with Vector Embeddings: Python & Logstash Step‑by‑Step Guide

This article explains how vector embeddings enhance Elasticsearch for semantic search and recommendation, walks through the complete workflow of generating, storing, and querying embeddings, and provides detailed Python and Logstash implementations with code samples, pros and cons, and guidance on choosing the right approach.

ElasticsearchLogstashPython
0 likes · 11 min read
Boost Elasticsearch with Vector Embeddings: Python & Logstash Step‑by‑Step Guide
php Courses
php Courses
Apr 30, 2025 · Fundamentals

Comprehensive Introduction to NumPy: ndarray, Creation, Indexing, Operations, Linear Algebra, I/O, and Real‑World Data Analysis

This article provides a thorough overview of NumPy, covering its core ndarray structure, various array creation methods, indexing and slicing techniques, vectorized operations with broadcasting, statistical and linear‑algebra functions, file input/output, and a practical data‑analysis example, all illustrated with executable Python code.

Array OperationsData AnalysisNumPy
0 likes · 10 min read
Comprehensive Introduction to NumPy: ndarray, Creation, Indexing, Operations, Linear Algebra, I/O, and Real‑World Data Analysis
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 30, 2025 · Fundamentals

How to Plot Multiple Gamma Distributions in Python with Matplotlib – A Step‑by‑Step Guide

This article walks through a common Python matplotlib visualization issue, showing how to read parameter data, generate multiple gamma distribution curves, add labels and legends, and produce polished plots, with complete code examples and explanations to help readers replicate the solution.

Data visualizationGamma DistributionMatplotlib
0 likes · 5 min read
How to Plot Multiple Gamma Distributions in Python with Matplotlib – A Step‑by‑Step Guide
DevOps
DevOps
Apr 29, 2025 · Artificial Intelligence

Model Context Protocol (MCP): End‑to‑End Tutorial with a Hands‑On News Retrieval Project

This tutorial explains the Model Context Protocol (MCP) for integrating large language models with external data sources, details its architecture, connection lifecycle, and core JSON‑RPC features, and provides a step‑by‑step Python implementation that fetches real‑time tech news and integrates with Claude Desktop.

AI IntegrationJSON-RPCModel Context Protocol
0 likes · 9 min read
Model Context Protocol (MCP): End‑to‑End Tutorial with a Hands‑On News Retrieval Project
Code Mala Tang
Code Mala Tang
Apr 29, 2025 · Fundamentals

Unlock Python’s Hidden Power: Mastering the __dict__ Attribute

Explore how Python’s built-in __dict__ attribute stores object attributes, enabling introspection, dynamic attribute manipulation, memoization, JSON serialization, custom descriptors, and debugging, while also learning its limitations with slots and built-in types for performance.

AttributesIntrospectionPython
0 likes · 8 min read
Unlock Python’s Hidden Power: Mastering the __dict__ Attribute