Tagged articles
5000 articles
Page 8 of 50
Fun with Large Models
Fun with Large Models
Sep 1, 2025 · Artificial Intelligence

Build a LangGraph AI Agent in Two Lines Using the Prebuilt Graph API

This tutorial shows how to set up a Python environment, install LangGraph, and use its high‑level prebuilt graph API—specifically create_react_agent—to quickly create a weather‑assistant AI agent with just two lines of code, illustrating the full tool‑calling workflow and ReACT loop.

AI agentsLangGraphPython
0 likes · 11 min read
Build a LangGraph AI Agent in Two Lines Using the Prebuilt Graph API
Model Perspective
Model Perspective
Aug 31, 2025 · Fundamentals

Advanced Python Tricks: List Comprehensions, Async IO, Decorators & More

This article presents a comprehensive guide to advanced Python techniques, covering sophisticated syntax, powerful data structures, functional programming, concurrency with threading and asyncio, performance optimization using NumPy, Cython, Numba, and practical debugging and visualization tools, illustrated with clear code examples.

Advanced TechniquesData StructuresPerformance Optimization
0 likes · 11 min read
Advanced Python Tricks: List Comprehensions, Async IO, Decorators & More
Code Mala Tang
Code Mala Tang
Aug 31, 2025 · Fundamentals

Unlock Python’s Special Classes: Iterators, Context Managers, Descriptors & Metaclasses

This guide explores five special Python class types—iterators, context managers, descriptors, abstract base classes, and metaclasses—explaining their protocols, essential magic methods, practical use cases, and providing clear code examples to help you build custom implementations and write more expressive, maintainable code.

Abstract Base ClassesIteratorsPython
0 likes · 14 min read
Unlock Python’s Special Classes: Iterators, Context Managers, Descriptors & Metaclasses
Python Programming Learning Circle
Python Programming Learning Circle
Aug 30, 2025 · Fundamentals

Unlock Python’s First-Class Functions: From Basics to Advanced Functional Tricks

This article explains how Python treats functions as first‑class objects, showing how to assign them to variables, pass them as arguments, return them from other functions, store them in data structures, and use functional tools like lambda, map, filter, and reduce to write more reusable and expressive code.

First-Class FunctionsFunctional ProgrammingHigher-Order Functions
0 likes · 10 min read
Unlock Python’s First-Class Functions: From Basics to Advanced Functional Tricks
Code Mala Tang
Code Mala Tang
Aug 30, 2025 · Fundamentals

Why Python Never Overflows: The Secret of Arbitrary‑Precision Integers

Unlike fixed‑size integers in languages like C or Java, Python uses arbitrary‑precision integers that automatically expand, preventing overflow; this article explains the underlying CPython implementation, demonstrates the behavior with examples, and discusses the memory and performance trade‑offs of such limitless integers.

Arbitrary PrecisionCPythonPython
0 likes · 5 min read
Why Python Never Overflows: The Secret of Arbitrary‑Precision Integers
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
Swan Home Tech Team
Swan Home Tech Team
Aug 27, 2025 · Artificial Intelligence

Why AutoGluon’s Smart Model Team Beats Traditional Tuning in Real-World AI

This guide explains how AutoGluon leverages bagging, cross‑validation, and stacked ensembling to automatically train and combine dozens of models, provides step‑by‑step installation and usage instructions for tabular, time‑series, and multimodal tasks, and shows practical deployment examples for industry scenarios.

AutoGluonAutoMLModelEnsembling
0 likes · 21 min read
Why AutoGluon’s Smart Model Team Beats Traditional Tuning in Real-World AI
Data STUDIO
Data STUDIO
Aug 27, 2025 · Fundamentals

Building a Lightweight State Machine with Python Enum

This article demonstrates how to implement a clear, maintainable state machine for a publishing workflow using Python's Enum type, covering state definitions, forward and backward transitions, validation, entry actions, and visualisation without external dependencies.

EnumPythonState Machine
0 likes · 7 min read
Building a Lightweight State Machine with Python Enum
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Aug 26, 2025 · Big Data

How MaxCompute Evolves for Python & AI: From SDK to Native Distributed Engine

This article outlines MaxCompute's decade‑long evolution—from the early PyODPS SDK to the native Distributed Python Engine—highlights the challenges big‑data platforms face in the AI era, and showcases Data+AI solutions and real‑world case studies across multimodal processing, massive text deduplication, and autonomous‑driving data pipelines.

AI FunctionsBig DataData+AI
0 likes · 15 min read
How MaxCompute Evolves for Python & AI: From SDK to Native Distributed Engine
Python Programming Learning Circle
Python Programming Learning Circle
Aug 26, 2025 · Fundamentals

22 Handy Python Code Snippets Every Developer Should Know

This article presents 22 practical Python code snippets—from extracting vowels and capitalizing words to merging dictionaries, measuring execution time, shuffling lists, and chunking data—offering concise solutions for everyday programming tasks and helping readers write cleaner, more efficient code.

PythonTipsbasics
0 likes · 11 min read
22 Handy Python Code Snippets Every Developer Should Know
Python Crawling & Data Mining
Python Crawling & Data Mining
Aug 26, 2025 · Fundamentals

Mastering Python Web Scraping: Clean Price Extraction with XPath Tricks

This article walks through a Python web‑scraping problem, demonstrates why the original XPath extraction returns noisy or missing price data, and provides multiple refined code solutions—including filtering empty entries, correcting XPath selectors, and using map‑filter techniques—to produce clean, formatted price lists.

Data cleaningPythonlxml
0 likes · 6 min read
Mastering Python Web Scraping: Clean Price Extraction with XPath Tricks
Data STUDIO
Data STUDIO
Aug 26, 2025 · Artificial Intelligence

How a Rolling Random Forest Strategy Predicts Bitcoin’s Weekly Direction

This article explains a Python‑based rolling random‑forest classifier that uses a 30‑day training window and selected technical indicators to forecast whether Bitcoin’s price will rise or fall over the next seven days, detailing the methodology, code, back‑test results, and limitations.

BitcoinMachine LearningPython
0 likes · 7 min read
How a Rolling Random Forest Strategy Predicts Bitcoin’s Weekly Direction
Data STUDIO
Data STUDIO
Aug 26, 2025 · Fundamentals

How Python Dunder Methods Make Your Code Cleaner and More Powerful

This article explains Python's dunder (double‑underscore) magic methods, showing how overriding __str__, __repr__, __add__, __eq__, __iter__, and others lets custom classes behave like built‑in types, with concrete examples such as Book, Wallet, and TransactionHistory.

Pythoncustom classesdunder methods
0 likes · 6 min read
How Python Dunder Methods Make Your Code Cleaner and More Powerful
JD Tech Talk
JD Tech Talk
Aug 25, 2025 · Artificial Intelligence

Kickstart Multi‑Agent Collaboration with OxyGent: A 20‑Line Setup Guide

This guide introduces the open‑source OxyGent multi‑agent framework, walks through a quick 20‑line installation, demonstrates environment configuration, tool integration, visualization, and advanced features such as RAG, Reflexion, and distributed deployment for AI applications.

AIFrameworkOxyGent
0 likes · 4 min read
Kickstart Multi‑Agent Collaboration with OxyGent: A 20‑Line Setup Guide
JD Cloud Developers
JD Cloud Developers
Aug 25, 2025 · Artificial Intelligence

Kickstart Multi-Agent Collaboration with OxyGent: 20‑Line Setup Guide

This guide introduces the open‑source OxyGent multi‑agent framework, provides step‑by‑step installation, a 20‑line hello‑world example, tool integration via SSE, MCP and FunctionHub, deployment features like data persistence and distributed setup, and outlines advanced use cases such as multimodal agents and plan‑and‑solve paradigms.

AI FrameworkDeploymentOxyGent
0 likes · 5 min read
Kickstart Multi-Agent Collaboration with OxyGent: 20‑Line Setup Guide
Data STUDIO
Data STUDIO
Aug 25, 2025 · Fundamentals

Why I Stopped Blindly Using Python Classes

The author reflects on years of overusing classes in Python, explains why simpler constructs like functions, dataclasses, dictionaries, and modules often yield clearer, more maintainable code, and outlines when class‑based design still makes sense.

Best PracticesFunctionsPython
0 likes · 7 min read
Why I Stopped Blindly Using Python Classes
Data Party THU
Data Party THU
Aug 24, 2025 · Artificial Intelligence

How to Build a Multi‑Agent AI Research Assistant with LangGraph

This article demonstrates how to construct a multi‑agent AI research assistant using the LangGraph framework, detailing the system’s shared state design, individual agent implementations for research, fact‑checking, and report generation, workflow orchestration, advanced patterns like dynamic routing and parallel execution, and performance considerations.

AI Research AssistantLangGraphPerformance Evaluation
0 likes · 14 min read
How to Build a Multi‑Agent AI Research Assistant with LangGraph
Python Crawling & Data Mining
Python Crawling & Data Mining
Aug 23, 2025 · Fundamentals

How to Fix Python Library Installation Errors and Missing Dependencies

This guide walks you through common Python library installation issues—such as missing environment variables and absent dependencies—provides step‑by‑step screenshots, explains how to add the Python path to system variables, and shows how to use a reliable mirror with pip to install packages like netCDF4.

Pythondependency managementlibrary installation
0 likes · 4 min read
How to Fix Python Library Installation Errors and Missing Dependencies
Code Mala Tang
Code Mala Tang
Aug 23, 2025 · Fundamentals

Decoding Python’s Underscore Conventions: From Throwaway Variables to Dunder Methods

This article explains the meaning behind Python’s various underscore patterns—single underscores for throwaway variables, leading underscores for internal use, double leading underscores for name‑mangling, dunder methods for special behavior, and trailing underscores to avoid keyword conflicts—helping developers write clearer, more idiomatic code.

Naming ConventionPythoncode style
0 likes · 6 min read
Decoding Python’s Underscore Conventions: From Throwaway Variables to Dunder Methods
Fun with Large Models
Fun with Large Models
Aug 22, 2025 · Artificial Intelligence

Step‑by‑Step Guide: Building a PDF‑Based RAG Knowledge Base with LangChain, Streamlit, DashScope & DeepSeek

This tutorial shows how to create a lightweight Retrieval‑Augmented Generation (RAG) system that indexes multiple PDF files, stores their embeddings in a FAISS vector database, and answers user queries through a LangChain agent powered by DashScope embeddings and the DeepSeek‑Chat model, all wrapped in a Streamlit UI.

DashScopeDeepSeekFAISS
0 likes · 13 min read
Step‑by‑Step Guide: Building a PDF‑Based RAG Knowledge Base with LangChain, Streamlit, DashScope & DeepSeek
Data STUDIO
Data STUDIO
Aug 21, 2025 · Industry Insights

Predicting Stock Market Movements with a Markov‑Chain State‑Transition Model

This article explains how to model short‑term stock market dynamics using a Markov‑chain framework, covering the theory of memoryless state transitions, construction of a transition matrix, multi‑step probability forecasts, steady‑state analysis, a full Python implementation, and a real‑world case study with its limitations.

Financial AnalysisMarkov chainPython
0 likes · 18 min read
Predicting Stock Market Movements with a Markov‑Chain State‑Transition Model
Data Party THU
Data Party THU
Aug 19, 2025 · Fundamentals

5 Hidden Python Features That Can Supercharge Your Code

This article uncovers five lesser‑known Python features—contextlib.suppress, sys.setrecursionlimit, typing.Literal, the __missing__ magic method, and __subclasshook—explaining when to use them, showing concise code examples, and highlighting the practical benefits they bring to everyday programming.

Advanced FeaturesCode OptimizationPython
0 likes · 7 min read
5 Hidden Python Features That Can Supercharge Your Code
Data STUDIO
Data STUDIO
Aug 19, 2025 · Artificial Intelligence

Building a Multi‑Agent Collaborative AI System with LangGraph

The article demonstrates how to construct an AI research assistant using LangGraph’s multi‑agent framework, detailing system architecture, specialized agents for research, fact‑checking and report writing, workflow orchestration, dynamic routing, parallel processing, debugging, and performance evaluation, showing a 40‑60% efficiency gain over single‑model approaches.

AI Research AssistantAgent CollaborationLangGraph
0 likes · 13 min read
Building a Multi‑Agent Collaborative AI System with LangGraph
MaGe Linux Operations
MaGe Linux Operations
Aug 18, 2025 · Operations

Redis Cache Pitfalls: Penetration, Avalanche, Breakdown – Solutions & Real Cases

This article examines the three classic Redis caching problems—cache penetration, cache avalanche, and cache breakdown—illustrates real‑world incidents that caused system outages, and provides comprehensive mitigation techniques such as Bloom filters, null‑value caching, random expiration, multi‑level caches, logical expiration, and distributed locks, along with monitoring and disaster‑recovery practices.

CachePythonRedis
0 likes · 25 min read
Redis Cache Pitfalls: Penetration, Avalanche, Breakdown – Solutions & Real Cases
Alibaba Cloud Native
Alibaba Cloud Native
Aug 17, 2025 · Artificial Intelligence

Building an AI-Powered College Application Assistant with Vue3 and Python

This guide outlines a step‑by‑step process to create a natural‑language‑driven AI system that helps high‑school students fill out college application forms, recommends majors using the Tongyi Qianwen model, and stores data in Supabase, covering frontend design with Vue3, backend services with Python, and integration details.

AICollege ApplicationNatural Language Interaction
0 likes · 8 min read
Building an AI-Powered College Application Assistant with Vue3 and Python
Baobao Algorithm Notes
Baobao Algorithm Notes
Aug 17, 2025 · Artificial Intelligence

Boost 7B LLM Math Reasoning Beyond GPT‑4o with a Simple Pass@k Reward

By replacing the traditional Pass@1 reward with a Pass@k formulation and a lightweight advantage computation, a 7B language model can dramatically improve its performance on math reasoning benchmarks, surpassing GPT‑4o while adding only a few lines of code and minimal training overhead.

PythonRLHFreward engineering
0 likes · 7 min read
Boost 7B LLM Math Reasoning Beyond GPT‑4o with a Simple Pass@k Reward
Data Party THU
Data Party THU
Aug 5, 2025 · Artificial Intelligence

20 Advanced Statistical Techniques Every Data Scientist Must Master

This comprehensive guide introduces twenty essential advanced statistical methods—from Bayesian inference and maximum likelihood estimation to copulas and generalized additive models—explaining their concepts, real‑world use cases, and providing concise Python code examples so data scientists can confidently apply them to complex analytical problems.

AnalysisPythonstatistical methods
0 likes · 24 min read
20 Advanced Statistical Techniques Every Data Scientist Must Master
Data Party THU
Data Party THU
Aug 3, 2025 · Fundamentals

Master Quantile Regression with Adaptive Lasso in Python using asgl

This article introduces quantile regression, explains its advantages over ordinary least squares, demonstrates its usefulness for high‑dimensional data, and provides a step‑by‑step Python tutorial using the asgl package with adaptive‑lasso penalization, complete code snippets, and practical tips.

Pythonadaptive lassoasgl
0 likes · 8 min read
Master Quantile Regression with Adaptive Lasso in Python using asgl
Fun with Large Models
Fun with Large Models
Aug 2, 2025 · Artificial Intelligence

Quickly Build a LangChain Agent Using the Agent API (Part 6)

This tutorial walks through using LangChain's Agent API to create AI agents with tool calling, demonstrating a weather‑assistant example, parallel and sequential tool calls, and integration of the Tavily search tool, all with concise Python code and step‑by‑step explanations.

AI AgentAgent APILangChain
0 likes · 13 min read
Quickly Build a LangChain Agent Using the Agent API (Part 6)
ITPUB
ITPUB
Aug 2, 2025 · Backend Development

Which Language Survives a 1GB Memory Limit? Go, Rust, Node, Python, Java Tested

By imposing a strict 1 GB memory cap on identical workloads across Go, Rust, Node.js, Python (Flask/Gunicorn), and Java Spring Boot, this study reveals how each language’s runtime handles memory pressure, detailing survival times, performance quirks, and ultimate failure modes.

GoJavaMemory
0 likes · 8 min read
Which Language Survives a 1GB Memory Limit? Go, Rust, Node, Python, Java Tested
Fun with Large Models
Fun with Large Models
Jul 30, 2025 · Artificial Intelligence

LangChain Tool Integration: Step‑by‑Step Guide to Built‑in and Custom Functions

This article walks through how to integrate LangChain's built‑in tools and user‑defined functions into AI agents, covering environment setup, installing dependencies, using the Python code interpreter tool, binding tools to a model, parsing tool calls with JsonOutputKeyToolsParser, and demonstrating both a data‑analysis example and a weather‑lookup function.

AI agentsFunction CallingLangChain
0 likes · 13 min read
LangChain Tool Integration: Step‑by‑Step Guide to Built‑in and Custom Functions
JD Tech Talk
JD Tech Talk
Jul 29, 2025 · Artificial Intelligence

Unlock JD’s Open‑Source JoyAgent: Build, Deploy, and Customize AI Agents

This article introduces JD's open‑source JoyAgent‑JDGenie, a lightweight multi‑agent framework, explains its architecture and performance, and provides step‑by‑step instructions for local Docker deployment, configuration, and usage for creating AI‑driven applications.

AI AgentDockerJava
0 likes · 8 min read
Unlock JD’s Open‑Source JoyAgent: Build, Deploy, and Customize AI Agents
Ops Development & AI Practice
Ops Development & AI Practice
Jul 29, 2025 · Artificial Intelligence

How Ray Transforms Distributed Training for Large Language Models

In the era of data‑driven AI, Ray offers an open‑source unified compute framework that abstracts distributed system complexity, enabling developers to seamlessly scale Python code from a laptop to large GPU clusters, and provides the Ray AI Runtime (AIR) with libraries such as Ray Data, Train, Tune, and Serve to accelerate LLM training, hyper‑parameter tuning, and model serving.

AI RuntimeDistributed computingLLM training
0 likes · 10 min read
How Ray Transforms Distributed Training for Large Language Models
Model Perspective
Model Perspective
Jul 25, 2025 · Databases

How to Model and Deploy Knowledge Graphs with Neo4j and Python

This article explains the fundamentals of knowledge graph representation, including entities, concepts, relationships, and triple structures, and provides step‑by‑step instructions for installing Neo4j, configuring Python with py2neo, and importing CSV‑based triples into a graph database for querying and reasoning.

Graph DatabaseKnowledge GraphNeo4j
0 likes · 12 min read
How to Model and Deploy Knowledge Graphs with Neo4j and Python
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
Python Programming Learning Circle
Python Programming Learning Circle
Jul 24, 2025 · Game Development

Explore 13 Classic Python Mini‑Games with Full Source Code and How‑to Guide

This article presents a collection of thirteen classic Python mini‑games—ranging from coin‑catching and ping‑pong to Tetris, Snake, and 24‑point puzzles—each accompanied by complete, ready‑to‑run source code and step‑by‑step explanations, offering a practical way to learn programming through game development.

Game DevelopmentPygamePython
0 likes · 37 min read
Explore 13 Classic Python Mini‑Games with Full Source Code and How‑to Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jul 24, 2025 · Backend Development

Boost Your Python Productivity: 8 Must‑Use Libraries for Faster Development

Discover eight essential Python libraries—Rich, Typer, Pendulum, Pydantic, Faker, tqdm, Requests‑HTML, and Loguru—that transform logging, CLI creation, date handling, data validation, mock data generation, progress tracking, web scraping, and logging, showing how leveraging existing tools can dramatically increase development efficiency.

LoggingPythonWeb Scraping
0 likes · 8 min read
Boost Your Python Productivity: 8 Must‑Use Libraries for Faster Development
Java Tech Enthusiast
Java Tech Enthusiast
Jul 24, 2025 · Fundamentals

Why Classic Languages Still Dominate the TIOBE Top 10 in 2025

The July 2025 TIOBE Index reveals that Python, C, C++, Java, C#, JavaScript and Go hold the top seven spots for the third year, while legacy languages such as Visual Basic, SQL, Fortran, Ada, Perl and Delphi fiercely contest the 8‑12 positions, highlighting the resilience of established languages despite newer alternatives.

PythonTIOBE Rankinglanguage popularity
0 likes · 6 min read
Why Classic Languages Still Dominate the TIOBE Top 10 in 2025
Sohu Tech Products
Sohu Tech Products
Jul 23, 2025 · Artificial Intelligence

Unlock AI Power with Model Context Protocol: A Hands‑On Sentry Integration Guide

This article introduces the Model Context Protocol (MCP) as an open standard for connecting large language models to external data and tools, outlines its core advantages, showcases a wide range of ready‑made services, and provides a detailed Python implementation that integrates Sentry bug‑tracking and APM data into AI assistants for real‑time analysis and reporting.

AIMCPPython
0 likes · 19 min read
Unlock AI Power with Model Context Protocol: A Hands‑On Sentry Integration Guide
Code Mala Tang
Code Mala Tang
Jul 22, 2025 · Artificial Intelligence

Convert Any PDF to Clean Markdown with a Local LLM (Gemma 3)

Learn how to transform any PDF—including scanned documents—into well‑structured Markdown using a local LLM (Gemma 3 via Ollama), Python, PyMuPDF and Pillow, without cloud APIs or API keys, by converting pages to images, prompting the model, and saving the output.

GemmaLLMMarkdown
0 likes · 12 min read
Convert Any PDF to Clean Markdown with a Local LLM (Gemma 3)
AI Algorithm Path
AI Algorithm Path
Jul 20, 2025 · Artificial Intelligence

How to Build an Open‑Set Object Detection Workflow: A Comprehensive Guide

This article presents a step‑by‑step agentic object detection pipeline that combines open‑vocabulary detectors such as Grounding‑DINO with visual language models (GPT‑4o, o1) for concept extraction, critique, refinement, and validation, complete with code snippets, design rationale, and real‑world examples.

Grounding DINOPythonVLM
0 likes · 33 min read
How to Build an Open‑Set Object Detection Workflow: A Comprehensive Guide
Code Mala Tang
Code Mala Tang
Jul 20, 2025 · Fundamentals

Master Python locals() and globals(): Dynamic Variable Tricks Explained

This article explores how Python's locals() and globals() functions reveal variable scopes, demonstrates why locals() cannot modify local variables, shows how globals() can dynamically alter global state, and combines them with exec() for powerful runtime variable creation and updates.

DebuggingPythondynamic-variables
0 likes · 6 min read
Master Python locals() and globals(): Dynamic Variable Tricks Explained
IT Services Circle
IT Services Circle
Jul 20, 2025 · Fundamentals

Why __init__.py Is the Secret Backbone of Your Python Packages

This article explains the purpose and evolution of the __init__.py file, shows how it marks a directory as a Python package, demonstrates core functions like package initialization, API control, lazy importing, version management, and provides best‑practice guidelines with real‑world examples.

InitializationLazy ImportPackage
0 likes · 9 min read
Why __init__.py Is the Secret Backbone of Your Python Packages
Python Crawling & Data Mining
Python Crawling & Data Mining
Jul 19, 2025 · Fundamentals

Why Python Multiprocessing Requires target=func Without Parentheses

This article explains a Python multiprocessing issue raised in a community chat, shows discussion and execution screenshots, presents a solution highlighting that the target argument must be a function name without parentheses, and clarifies the difference between passing a function object versus its return value.

PythonTutorialmultiprocessing
0 likes · 3 min read
Why Python Multiprocessing Requires target=func Without Parentheses
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 17, 2025 · Artificial Intelligence

How to Build a House Price Prediction Model with Python: A Step‑by‑Step Guide

This tutorial walks developers through the complete workflow of building a house‑price regression model—from problem definition, data collection and preprocessing, feature engineering, and model selection, to training, hyper‑parameter tuning, evaluation, optimization, deployment as a Flask service, and ongoing monitoring—using Python, pandas, scikit‑learn, and visualisation libraries.

Machine LearningModel DeploymentPython
0 likes · 29 min read
How to Build a House Price Prediction Model with Python: A Step‑by‑Step Guide
Fun with Large Models
Fun with Large Models
Jul 17, 2025 · Artificial Intelligence

How to Integrate Large Models with LangChain: A Step‑by‑Step Tutorial

This tutorial explains LangChain's core modules and three‑layer architecture, shows how to set up a Python environment, and provides concrete code examples for connecting SiliconFlow Qwen3‑8B and DeepSeek models via the init_chat_model API, including result inspection and references to official documentation.

DeepSeekLangChainLarge Language Models
0 likes · 9 min read
How to Integrate Large Models with LangChain: A Step‑by‑Step Tutorial
Code Mala Tang
Code Mala Tang
Jul 15, 2025 · Fundamentals

Master Python Tuples: Immutable Sequences, Creation, Operations & Best Practices

This guide explains Python tuples—immutable ordered collections—covering their definition, creation methods (including packing, unpacking, and single-element tuples), element access, common operations like concatenation, repetition, slicing, membership testing, length retrieval, nesting, and built‑in methods such as count, index, and conversion from lists.

Data StructuresImmutablePython
0 likes · 11 min read
Master Python Tuples: Immutable Sequences, Creation, Operations & Best Practices
Code Mala Tang
Code Mala Tang
Jul 12, 2025 · Fundamentals

Mastering Python’s eval(): How It Works, When to Use It, and How to Stay Safe

Python’s eval() function acts as a double‑edged sword, enabling dynamic code execution by parsing, compiling, and running string‑based expressions, but it introduces security and performance risks; this article explains its inner workings, common use cases, potential dangers, and safe practices or alternatives.

PythonSecuritybest-practices
0 likes · 9 min read
Mastering Python’s eval(): How It Works, When to Use It, and How to Stay Safe
Test Development Learning Exchange
Test Development Learning Exchange
Jul 11, 2025 · Backend Development

Build a Reusable Python API Test Framework with Assertions, DB Checks, and Pytest

This guide demonstrates how to create a reusable Python testing framework that encapsulates generic API response assertions, database query utilities, supports chainable calls, logging, exception handling, and integrates seamlessly with pytest or unittest, including installation steps, project structure, core code examples, and execution instructions.

DatabasePythonapi-testing
0 likes · 7 min read
Build a Reusable Python API Test Framework with Assertions, DB Checks, and Pytest
Qborfy AI
Qborfy AI
Jul 11, 2025 · Artificial Intelligence

Building a Dynamic Agent Workflow with LangGraph: A Step‑by‑Step Guide

This tutorial walks through creating a full‑featured LLM Agent workflow using LangGraph, covering goal definition, task decomposition, execution nodes, state updates, re‑planning logic, and user feedback, while comparing ReAct and Reflexion approaches and providing complete Python code examples.

Agent workflowLLMLangChain
0 likes · 11 min read
Building a Dynamic Agent Workflow with LangGraph: A Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jul 9, 2025 · Fundamentals

What’s New in Python 3.14? 7 Features That Will Transform Your Code

Python 3.14 entered the testing phase and brings seven core enhancements—including t‑strings, intelligent error suggestions, guarded pattern matching, per‑interpreter GIL control, ReadOnly/TypeIs type hints, native Zstandard compression, and a zero‑overhead debugger—that will impact web development, data pipelines, and high‑performance computing.

3.14GILNew Features
0 likes · 19 min read
What’s New in Python 3.14? 7 Features That Will Transform Your Code
Python Programming Learning Circle
Python Programming Learning Circle
Jul 8, 2025 · Artificial Intelligence

Create a Dancing Word Cloud from Bilibili Videos with Python – Full Step‑by‑Step Guide

This tutorial walks you through building a Python project that downloads a Bilibili video, extracts its frames, applies Baidu AI human segmentation, scrapes danmu comments, generates a stylized word‑cloud animation, and finally composes a video with background music, showcasing video processing, AI, and data visualization techniques.

AI segmentationBilibiliOpenCV
0 likes · 11 min read
Create a Dancing Word Cloud from Bilibili Videos with Python – Full Step‑by‑Step Guide