Tagged articles
5000 articles
Page 6 of 50
Data Party THU
Data Party THU
Nov 1, 2025 · Fundamentals

10 Hidden Jupyter Notebook Tricks That Can Save You an Hour Every Day

Discover ten lesser‑known Jupyter Notebook features—from magic commands that list variables and benchmark code to shortcuts, export utilities, and interactive help—that turn a simple notebook into a highly efficient, production‑ready data‑science workspace.

AutomationJupyterMagic Commands
0 likes · 7 min read
10 Hidden Jupyter Notebook Tricks That Can Save You an Hour Every Day
Code Mala Tang
Code Mala Tang
Nov 1, 2025 · Fundamentals

How functools.partial Can Simplify Repeated Function Calls in Python

Using Python's functools.partial, you can pre‑fill common arguments to create concise, readable wrappers that eliminate repetitive parameter passing, improve safety, and streamline code in scenarios ranging from email utilities to Flask handlers and machine‑learning pipelines, while avoiding over‑use pitfalls.

Best PracticesCode ReusePython
0 likes · 6 min read
How functools.partial Can Simplify Repeated Function Calls in Python
21CTO
21CTO
Oct 30, 2025 · Backend Development

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

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

DjangoFastAPIFlask
0 likes · 17 min read
Top Python Web Frameworks in 2024: FastAPI, Django, Flask & More
Python Programming Learning Circle
Python Programming Learning Circle
Oct 30, 2025 · Game Development

Build a Classic Alien Invasion Game with Pygame: Full Source Code Walkthrough

This tutorial walks through creating a complete Alien Invasion game using Python and Pygame, covering the main program, game logic, settings, ship, alien, bullet, button, scoring, and game statistics modules, while showcasing screenshots of gameplay and emphasizing modular, object‑oriented design.

Game DevelopmentModular DesignPygame
0 likes · 21 min read
Build a Classic Alien Invasion Game with Pygame: Full Source Code Walkthrough
Python Programming Learning Circle
Python Programming Learning Circle
Oct 30, 2025 · Game Development

Build a Simple Alien Shooter Game with Python and Pygame – Step‑by‑Step Tutorial

This tutorial walks you through creating a basic alien‑invader shooter using Python's Pygame library, covering essential game libraries, class design for Game, Alien, Hero, Generator, and Rocket, collision detection, win/lose logic, and provides the complete source code with explanations.

Alien ShooterCode ExampleGame Development
0 likes · 10 min read
Build a Simple Alien Shooter Game with Python and Pygame – Step‑by‑Step Tutorial
Data Party THU
Data Party THU
Oct 30, 2025 · Artificial Intelligence

How to Generate Realistic Synthetic Data with Histograms and GMMs

This article explains two practical techniques—histogram‑based per‑column synthesis and Gaussian‑Mixture‑Model generation—for creating large, privacy‑preserving synthetic datasets that retain the statistical distributions and inter‑column relationships of the original data, and shows how to evaluate their quality.

Data GenerationGaussian mixture modelPython
0 likes · 27 min read
How to Generate Realistic Synthetic Data with Histograms and GMMs
BirdNest Tech Talk
BirdNest Tech Talk
Oct 30, 2025 · Artificial Intelligence

Master LangChain Toolkits to Build Powerful AI Agents Quickly

This guide explains what LangChain toolkits are, why they simplify building domain‑specific AI agents, lists common built‑in toolkits, and walks through the step‑by‑step process of instantiating a toolkit, retrieving its tools, and creating an OpenAI‑powered agent, illustrated with a SQL database example.

AI agentsAutomationLangChain
0 likes · 5 min read
Master LangChain Toolkits to Build Powerful AI Agents Quickly
BirdNest Tech Talk
BirdNest Tech Talk
Oct 30, 2025 · Artificial Intelligence

Master LangChain Chains with LCEL: From Simple Jokes to RAG and Agent Pipelines

This guide explains how LangChain’s Expression Language (LCEL) lets you declaratively connect prompts, models, and output parsers into chains, walks through environment setup, dependency installation, and detailed code examples ranging from a basic joke generator to retrieval‑augmented generation and memory‑enabled agents.

AgentLCELLangChain
0 likes · 5 min read
Master LangChain Chains with LCEL: From Simple Jokes to RAG and Agent Pipelines
BirdNest Tech Talk
BirdNest Tech Talk
Oct 30, 2025 · Artificial Intelligence

How to Build Multimodal Prompts with LangChain: A Step‑by‑Step Guide

Learn how LangChain enables multimodal interactions by preparing inputs, constructing prompts, invoking models like GPT‑4o, and processing responses, with a complete example that demonstrates image‑question answering, code walkthrough, environment setup, and key considerations for API keys and image URLs.

LLMLangChainMultimodal
0 likes · 9 min read
How to Build Multimodal Prompts with LangChain: A Step‑by‑Step Guide
Old Meng AI Explorer
Old Meng AI Explorer
Oct 30, 2025 · Artificial Intelligence

How PaddleOCR Turns Handwritten Notes and PDFs into Editable Text in Seconds

This article explains how PaddleOCR, an open‑source OCR engine from Baidu, achieves high‑accuracy text extraction from handwritten notes, scanned PDFs, invoices, IDs and multilingual documents, offering offline cross‑platform support, free commercial use, and step‑by‑step guidance for rapid deployment.

AutomationDocument ProcessingOCR
0 likes · 10 min read
How PaddleOCR Turns Handwritten Notes and PDFs into Editable Text in Seconds
Instant Consumer Technology Team
Instant Consumer Technology Team
Oct 29, 2025 · Artificial Intelligence

How to Let AI Watch Bilibili Reviews and Generate Buying Guides in Minutes

Discover how to transform Claude AI into a powerful research assistant that automatically fetches Bilibili video subtitles, converts them into clean markdown, analyzes the content, and produces structured product selection reports, all without manually watching videos, using Python scripts, cookies, and Claude Skills.

AIBilibiliClaude
0 likes · 25 min read
How to Let AI Watch Bilibili Reviews and Generate Buying Guides in Minutes
BirdNest Tech Talk
BirdNest Tech Talk
Oct 27, 2025 · Artificial Intelligence

How LangChain’s Indexing API Enables Efficient Incremental Updates for RAG Systems

This article explains how LangChain's Indexing API adds state management and synchronization to the classic load‑split‑embed‑store RAG pipeline, detailing the RecordManager component, the index function workflow, key parameters, implementation considerations, and best‑practice code examples for production‑grade vector stores.

FAISSIndexing APILangChain
0 likes · 12 min read
How LangChain’s Indexing API Enables Efficient Incremental Updates for RAG Systems
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Oct 27, 2025 · Artificial Intelligence

Master AI Agents and MCP: A Complete 4‑Month Learning Roadmap

This article presents a structured, step‑by‑step learning path that guides beginners from Python fundamentals through AI API mastery, Retrieval‑Augmented Generation, deep MCP protocol knowledge, and advanced multi‑agent development, complete with practical code examples and performance‑monitoring techniques.

AI agentsLangChainMCP protocol
0 likes · 14 min read
Master AI Agents and MCP: A Complete 4‑Month Learning Roadmap
Data Party THU
Data Party THU
Oct 24, 2025 · Industry Insights

Python 3.14 Removes GIL: What It Means for Concurrency and AI

Python 3.14 introduces optional no‑GIL support, free‑threading, a concurrent interpreter and performance gains, while Guido van Rossum cautions about over‑hyped expectations, discussing the trade‑offs, impact on AI workloads, and the language’s future in an in‑depth interview.

AIConcurrencyGIL
0 likes · 12 min read
Python 3.14 Removes GIL: What It Means for Concurrency and AI
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Oct 24, 2025 · Artificial Intelligence

7 Essential Agent Design Patterns for Building Autonomous AI Systems

This article explains the fundamental differences between workflows and agents, introduces seven core design patterns—including three workflow patterns and four agent patterns—provides Python examples using Ollama, and shows how to combine these patterns to create robust, autonomous AI applications.

AI agentsAutonomous SystemsDesign Patterns
0 likes · 30 min read
7 Essential Agent Design Patterns for Building Autonomous AI Systems
Code Mala Tang
Code Mala Tang
Oct 24, 2025 · Big Data

Boost Python File Processing: 9 Essential Tools for Speed, Safety, and Scale

This guide introduces nine Python libraries—including smart_open, filelock, watchdog, zstandard, dataclasses-json, polars, fsspec, pandas, and tracemalloc—that together enable fast, memory‑efficient, and reliable handling of large files, remote storage, and concurrent workflows.

PythonWatchdogdataclasses-json
0 likes · 11 min read
Boost Python File Processing: 9 Essential Tools for Speed, Safety, and Scale
Data STUDIO
Data STUDIO
Oct 24, 2025 · Fundamentals

10 Must‑Have Python Project Repositories on GitHub for 2025

Python remains a top language in 2025 thanks to its simple syntax, massive library ecosystem and broad applicability, and this article curates ten GitHub repositories—ranging from AI and data‑science tutorials to automation scripts and beginner‑friendly projects—each explained with concrete reasons why they’re valuable for learning and building real‑world applications.

AutomationGitHubLearning Resources
0 likes · 17 min read
10 Must‑Have Python Project Repositories on GitHub for 2025
BirdNest Tech Talk
BirdNest Tech Talk
Oct 24, 2025 · Backend Development

Bridging Go and Python with pyproc: Ultra‑Low‑Latency Interprocess Calls

This article introduces pyproc, a library that lets Go applications invoke Python functions via Unix Domain Sockets with sub‑45 µs latency, explaining the problem of mixing Go and Python ecosystems, the architecture, performance benefits, suitable use cases, and a step‑by‑step quick‑start guide with full code examples.

AI infrastructureGoInterprocess Communication
0 likes · 7 min read
Bridging Go and Python with pyproc: Ultra‑Low‑Latency Interprocess Calls
Open Source Tech Hub
Open Source Tech Hub
Oct 23, 2025 · Information Security

How to Embed and Extract Blind Watermarks in Images with Python

This guide explains the concept of blind watermarking for image copyright protection, shows how to install the blind-watermark Python package, and provides step‑by‑step code examples for embedding and extracting both text and image watermarks while preserving the original visual appearance.

PythonSecurityTutorial
0 likes · 4 min read
How to Embed and Extract Blind Watermarks in Images with Python
Python Programming Learning Circle
Python Programming Learning Circle
Oct 23, 2025 · Backend Development

Master Python Plugin Architecture with Pluggy and Stevedore – A Hands‑On Guide

This article explains what plugins are, shows how Python’s dynamic features enable flexible plugin systems, and provides step‑by‑step examples using pluggy and stevedore—including defining specifications, implementing plugins, packaging with entry points, and invoking them via driver or extension managers—while recommending stevedore for practical use.

ExtensionPluggyPython
0 likes · 13 min read
Master Python Plugin Architecture with Pluggy and Stevedore – A Hands‑On Guide
Data STUDIO
Data STUDIO
Oct 22, 2025 · Fundamentals

10 Little‑Known Jupyter Tricks That Can Double Your Productivity

This article walks through ten hidden Jupyter Notebook features—including magic commands, terminal integration, shortcut keys, markdown styling, collapsible headings, nbconvert exporting, and tab completion—showing how each can streamline debugging, documentation, and reporting to save roughly an hour of work per day.

Data AnalysisJupyterMagic Commands
0 likes · 6 min read
10 Little‑Known Jupyter Tricks That Can Double Your Productivity
Fun with Large Models
Fun with Large Models
Oct 22, 2025 · Artificial Intelligence

Building and Deploying a Multi‑Agent DeepResearch App with LangGraph

This article walks through constructing a LangGraph graph that encapsulates three agents—task planning, web search, and report generation—into a DeepResearch application, then shows how to package and deploy the backend and frontend so users can interact with the system via a web UI.

AI AgentDeepResearchDeployment
0 likes · 12 min read
Building and Deploying a Multi‑Agent DeepResearch App with LangGraph
Liangxu Linux
Liangxu Linux
Oct 21, 2025 · Operations

Build an Efficient Nginx Log Analysis System to Slash Troubleshooting Time 80%

This guide walks through configuring custom Nginx log formats, implementing log rotation, analyzing performance, status codes, and traffic with shell and awk tools, automating real‑time monitoring via Python and Bash scripts, integrating ELK for deep analytics, and applying best‑practice security and optimization recommendations to dramatically reduce troubleshooting time.

AutomationELKPython
0 likes · 17 min read
Build an Efficient Nginx Log Analysis System to Slash Troubleshooting Time 80%
Data STUDIO
Data STUDIO
Oct 21, 2025 · Artificial Intelligence

Building a Self‑Learning LangGraph Memory System with Feedback Loops and Dynamic Prompts

This article walks through the design and implementation of a two‑layer memory architecture for LangGraph agents, covering short‑term and long‑term stores, various storage back‑ends, prompt engineering, utility functions, node definitions, human‑in‑the‑loop interrupt handling, and how user feedback is captured and used to continuously update the agent’s behavior.

AgentHuman-in-the-LoopLLM
0 likes · 43 min read
Building a Self‑Learning LangGraph Memory System with Feedback Loops and Dynamic Prompts
BirdNest Tech Talk
BirdNest Tech Talk
Oct 20, 2025 · Artificial Intelligence

How Embedding Models Power Semantic Search: A Hands‑On LangChain Guide

This article explains what embeddings are, how LangChain’s Embeddings interface abstracts various providers, compares common models, and walks through a complete Python example that uses a Chinese‑optimized HuggingFace model to generate document and query vectors, compute cosine similarity, and identify the most relevant text.

EmbeddingsLangChainNLP
0 likes · 9 min read
How Embedding Models Power Semantic Search: A Hands‑On LangChain Guide
Code Mala Tang
Code Mala Tang
Oct 19, 2025 · Fundamentals

Why Python’s += Operator Isn’t Just Sugar: Mutable vs Immutable Secrets

Python’s augmented assignment operators like += look simple, but their behavior varies dramatically between mutable and immutable objects, affecting performance and causing surprising bugs; this article explains the underlying data model, demonstrates with tuples, lists, and mixed structures, and reveals the hidden mechanics behind in‑place and object‑creation operations.

ImmutablePythonaugmented assignment
0 likes · 14 min read
Why Python’s += Operator Isn’t Just Sugar: Mutable vs Immutable Secrets
Fun with Large Models
Fun with Large Models
Oct 18, 2025 · Artificial Intelligence

Building DeepResearch from Scratch (Part 2): Architecture Design and Implementation with LangGraph

This article walks through the design and implementation of a multi‑agent DeepResearch application using the Pipeline‑Agent pattern with LangGraph and LangChain, detailing three agents for task planning, web search via Tavily, and report generation, and provides complete Python code and test results.

AI agentsLangChainLangGraph
0 likes · 16 min read
Building DeepResearch from Scratch (Part 2): Architecture Design and Implementation with LangGraph
Advanced AI Application Practice
Advanced AI Application Practice
Oct 17, 2025 · Operations

Automating Web Performance Tests with WebPageTest and AI

This guide shows how to use WebPageTest as a precise data collector and an AI service as an analysis engine, covering API key setup, three integration options, a Python script to run tests, an AI‑driven reporting script, and a full GitHub Actions CI/CD workflow that posts the performance report back to pull requests.

AIGitHub ActionsPython
0 likes · 12 min read
Automating Web Performance Tests with WebPageTest and AI
Python Programming Learning Circle
Python Programming Learning Circle
Oct 17, 2025 · Fundamentals

Why Python Still Leads: AI’s Impact on Language Rankings

Recent IEEE Spectrum data shows Python retaining the top spot while AI‑assisted coding reshapes developer habits, causing JavaScript’s decline and prompting questions about the future relevance of programming languages, the metrics that define popularity, and whether new languages can still emerge in an AI‑driven era.

Pythonprogramming languagestrends
0 likes · 10 min read
Why Python Still Leads: AI’s Impact on Language Rankings
IT Services Circle
IT Services Circle
Oct 17, 2025 · Fundamentals

Bython: Adding Braces to Python – How It Works and How to Install

Bython is a Python preprocessor that lets you write code with curly braces instead of relying on indentation, offering full compatibility with the Python ecosystem, and the article explains its purpose, features, installation methods, usage commands, and underlying translation process.

BythonCLICode formatting
0 likes · 5 min read
Bython: Adding Braces to Python – How It Works and How to Install
Data STUDIO
Data STUDIO
Oct 17, 2025 · Fundamentals

Python 3.14 (π) Released: Cool New Features You Should Try

Python 3.14, released on October 7 2025, brings a revamped REPL with real‑time syntax highlighting and smarter auto‑completion, new syntax such as t‑strings and optional parentheses in exception handling, lazy‑evaluated type annotations, sub‑interpreter parallelism, free‑threading, an experimental JIT, tail‑call interpreter support, and an incremental garbage collector, all of which improve developer ergonomics and performance.

ConcurrencyDebuggingPython
0 likes · 44 min read
Python 3.14 (π) Released: Cool New Features You Should Try
Test Development Learning Exchange
Test Development Learning Exchange
Oct 16, 2025 · Backend Development

Boost API Testing Efficiency: Auto‑Generate Python Test Cases with AI & Jinja2

Learn how to eliminate manual test case writing by using a lightweight AI‑driven approach combined with Jinja2 templates to automatically parse API specifications or JSON Schemas, generate comprehensive Python test scripts, handle parameter combinations, edge cases, and integrate with your existing test framework in just a few commands.

AIAPI testingJinja2
0 likes · 8 min read
Boost API Testing Efficiency: Auto‑Generate Python Test Cases with AI & Jinja2
Code Mala Tang
Code Mala Tang
Oct 16, 2025 · Fundamentals

Unlock Zero‑Copy Performance in Python with memoryview

This article explains how Python's memoryview object eliminates costly data copies when slicing large binary or numeric arrays, offering zero‑copy views, reinterpretation via .cast(), and multi‑dimensional slicing, with practical code examples and guidance on when to use it.

Buffer ProtocolPythonmemoryview
0 likes · 11 min read
Unlock Zero‑Copy Performance in Python with memoryview
Data Party THU
Data Party THU
Oct 16, 2025 · Fundamentals

Mastering Anomaly vs Novelty Detection with Distribution Fitting in Python

This article explains the fundamental differences between anomaly and novelty detection, outlines how to model univariate outliers using probability distribution fitting with the distfit library, and demonstrates the workflow on synthetic height data and real natural‑gas price data, including model selection, visualization, and prediction.

Anomaly DetectionPythonStatistical Modeling
0 likes · 17 min read
Mastering Anomaly vs Novelty Detection with Distribution Fitting in Python
IT Services Circle
IT Services Circle
Oct 15, 2025 · Fundamentals

Why Python Dominates and C Struggles for 2nd Place in the 2025 TIOBE Index

The October 2025 TIOBE index shows Python retaining the top spot while C reclaims second place, with C++, Java, and C# fiercely contesting the rankings, highlighting each language’s unique strengths and the shifting popularity driven by new standards, ecosystem growth, and emerging technology demands.

CPythonTIOBE Index
0 likes · 6 min read
Why Python Dominates and C Struggles for 2nd Place in the 2025 TIOBE Index
IT Services Circle
IT Services Circle
Oct 15, 2025 · Fundamentals

Master Fuzzy String Matching in Python with fuzzywuzzy: A Practical Guide

Learn how to efficiently clean and deduplicate textual data using Python's fuzzywuzzy library, covering Levenshtein distance fundamentals, installation, three core matching functions, advanced process extraction, and real-world code examples for handling messy Chinese strings and standardizing company names.

Data cleaningLevenshteinPython
0 likes · 7 min read
Master Fuzzy String Matching in Python with fuzzywuzzy: A Practical Guide
Code Mala Tang
Code Mala Tang
Oct 15, 2025 · Fundamentals

Master Python List Comprehensions: From Basics to Advanced Tricks

This article explains Python list comprehensions, comparing traditional for‑loop constructions with concise one‑line expressions, covering basic syntax, filtering, conditional transformations, performance benefits, and an introduction to generator expressions, all illustrated with clear code examples and diagrams.

Pythoncodinggenerator expression
0 likes · 13 min read
Master Python List Comprehensions: From Basics to Advanced Tricks
Efficient Ops
Efficient Ops
Oct 14, 2025 · Artificial Intelligence

Unlock High‑Throughput LLM Inference with vLLM: Install, Run, and Optimize

This guide explains what vLLM is, how its PagedAttention architecture boosts LLM throughput, provides step‑by‑step installation commands, showcases core examples for text generation, chat, embedding and classification, and details advanced performance features such as quantization, LoRA support, and distributed parallelism.

GPU AccelerationLLM inferencePython
0 likes · 8 min read
Unlock High‑Throughput LLM Inference with vLLM: Install, Run, and Optimize
Data Party THU
Data Party THU
Oct 14, 2025 · Fundamentals

Master Data Visualization: Core Concepts, Chart Selection, and Python Code Samples

This comprehensive guide explains what data visualization is, why it matters, how to choose the right chart type, preprocess data, design effective visuals, select appropriate Python tools, and provides numerous code examples for pie, bar, histogram, box, scatter, bubble, and deviation charts, concluding with best‑practice insights.

Data AnalysisData visualizationMatplotlib
0 likes · 21 min read
Master Data Visualization: Core Concepts, Chart Selection, and Python Code Samples
Code Mala Tang
Code Mala Tang
Oct 14, 2025 · Fundamentals

Master Python 3.10's Structural Pattern Matching: From Basics to Advanced

This article introduces Python 3.10's powerful structural pattern matching, showing how the new match/case syntax replaces complex if/elif/else chains, supports pattern deconstruction, guards, type checks, and works with sequences, dictionaries, and objects to write clearer, safer, and more expressive code.

GuardsPythonStructural Matching
0 likes · 13 min read
Master Python 3.10's Structural Pattern Matching: From Basics to Advanced
Test Development Learning Exchange
Test Development Learning Exchange
Oct 13, 2025 · Backend Development

Boost Your API Test Automation with a Powerful Python HTTP Client

Learn how to create a professional, reusable Python HTTP client that streamlines API automation by automatically handling URL concatenation, colored logging, built‑in assertions, response timing, environment management, and structured results, turning repetitive request code into concise, readable one‑liners.

API testingAutomationHTTP client
0 likes · 9 min read
Boost Your API Test Automation with a Powerful Python HTTP Client
Test Development Learning Exchange
Test Development Learning Exchange
Oct 13, 2025 · Backend Development

Build a One‑Click Web Document Converter with Python & Flask

This tutorial walks you through building a web‑based universal document converter using Python and Flask, enabling batch conversion of PDF, Word, PPT, and Excel files into Markdown, with automatic packaging, Chinese support, simple deployment without command‑line skills, and practical use‑case examples.

FlaskMarkdownPython
0 likes · 11 min read
Build a One‑Click Web Document Converter with Python & Flask
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Oct 12, 2025 · Backend Development

5 Practical Ways to Migrate Elasticsearch Data to Easysearch

This article evaluates five common methods for moving data from cloud Elasticsearch to on‑premise INFINI Easysearch, details three viable solutions—Logstash, Elasticdump, and custom Python scripts—explains why reindex and snapshot restore fail, and provides a decision matrix and practical migration guidelines.

Data MigrationEasysearchElasticdump
0 likes · 7 min read
5 Practical Ways to Migrate Elasticsearch Data to Easysearch
Architect's Alchemy Furnace
Architect's Alchemy Furnace
Oct 12, 2025 · Artificial Intelligence

How to Upgrade Dify to 1.9.1 and Resolve LLM Iterator Errors

This guide walks you through upgrading Dify using Docker Compose or source code deployment, running required migration commands, backing up data, and fixing the "Invalid context structure" error caused by iterator output changes in version 1.9.1, with detailed code snippets and troubleshooting steps.

DifyLLMPython
0 likes · 8 min read
How to Upgrade Dify to 1.9.1 and Resolve LLM Iterator Errors
Test Development Learning Exchange
Test Development Learning Exchange
Oct 12, 2025 · Backend Development

Build Your Own Python API Test Framework: A Complete Guide with Ready‑to‑Run Code

This article explains why a custom API test framework is needed, presents a modular architecture, and provides step‑by‑step implementations for multi‑environment configuration, colored logging, cookie management, unified API client, database assertions, Redis support, dynamic test data factories, and enterprise notification, all with full runnable code examples.

API testingAutomationFramework
0 likes · 19 min read
Build Your Own Python API Test Framework: A Complete Guide with Ready‑to‑Run Code
BirdNest Tech Talk
BirdNest Tech Talk
Oct 11, 2025 · Artificial Intelligence

How to Load Documents into LangChain: From Files to APIs

Learn how to use LangChain's Document Loaders to import data from files, web pages, databases, and APIs, understand the Document object structure, compare load() versus lazy_load(), and follow a step‑by‑step Python example that demonstrates loading, inspecting, and optionally processing documents with an LLM.

Document LoaderLLMLangChain
0 likes · 12 min read
How to Load Documents into LangChain: From Files to APIs
BirdNest Tech Talk
BirdNest Tech Talk
Oct 10, 2025 · Artificial Intelligence

How to Build a Custom Output Parser in LangChain for Non‑Standard LLM Formats

This guide explains why custom output parsers are needed for LangChain when dealing with non‑JSON or XML responses, walks through inheriting BaseOutputParser, implementing parse() and optional format instructions, and provides a complete Python example that converts a simple "Key: Value" string into a dictionary.

CustomParserLLMLangChain
0 likes · 6 min read
How to Build a Custom Output Parser in LangChain for Non‑Standard LLM Formats
Data STUDIO
Data STUDIO
Oct 10, 2025 · Fundamentals

Mastering PDF Manipulation in Python with PyPDF2

This article introduces the PDF format, surveys popular Python PDF libraries, and provides a step‑by‑step guide to installing PyPDF2, extracting metadata and text, rotating, merging, splitting, encrypting, and watermarking PDF files using concrete code examples and explanations.

PDF encryptionPDF extractionPDF manipulation
0 likes · 13 min read
Mastering PDF Manipulation in Python with PyPDF2
21CTO
21CTO
Oct 9, 2025 · Fundamentals

What’s New in Python 3.14? Free Threading, JIT, and More

Python 3.14 introduces free threading via PEP 703, optional interpreters that boost performance by 3‑5%, experimental JIT compilation, template string literals, multi‑interpreter support, enhanced debugging, Zstandard compression, and new CLI tools, while noting compatibility and performance trade‑offs.

3.14Free ThreadingJIT
0 likes · 5 min read
What’s New in Python 3.14? Free Threading, JIT, and More
Code Mala Tang
Code Mala Tang
Oct 9, 2025 · Artificial Intelligence

Fine‑Tune a Language Model for Band Trivia with Hugging Face PEFT

This tutorial walks through installing Python dependencies, preparing a JSON‑based QA dataset, and using Hugging Face's PEFT library to fine‑tune a small FLAN‑T5 model so it can answer questions about AC/DC and other bands without passing knowledge at inference time.

FAQ modelHugging FaceLLM fine-tuning
0 likes · 12 min read
Fine‑Tune a Language Model for Band Trivia with Hugging Face PEFT
Data Party THU
Data Party THU
Oct 8, 2025 · Artificial Intelligence

Build a Music Genre Classifier from Scratch with KNN and MFCC

This tutorial walks through constructing a complete music‑genre classification project using Python, covering dataset preparation, MFCC feature extraction, K‑Nearest Neighbors implementation, train‑test splitting, model evaluation, and testing on new audio files, all with reproducible code snippets.

Audio ProcessingMFCCMusic Genre Classification
0 likes · 14 min read
Build a Music Genre Classifier from Scratch with KNN and MFCC
BirdNest Tech Talk
BirdNest Tech Talk
Oct 8, 2025 · Artificial Intelligence

How to Turn LLM Text into Structured Data with LangChain Output Parsers

This article explains why LLMs output plain text, introduces LangChain output parsers as the bridge to structured data, details their workflow, reviews built‑in parsers, and walks through a complete Python example that builds a prompt‑model‑parser chain to generate a JSON‑based joke.

LLMLangChainOutputParser
0 likes · 10 min read
How to Turn LLM Text into Structured Data with LangChain Output Parsers
IT Services Circle
IT Services Circle
Oct 7, 2025 · Fundamentals

Unlock Python Dictionaries with __missing__: Transform Missing Keys into Smart Logic

This article explores Python's __missing__ dunder method, showing how it surpasses traditional approaches like if/else, .get() and defaultdict by enabling dynamic, self‑healing dictionary behavior, and demonstrates advanced real‑world applications such as smart counters, infinite nested dicts, API caching, and automatic data pipelines.

API cachePython__missing__
0 likes · 13 min read
Unlock Python Dictionaries with __missing__: Transform Missing Keys into Smart Logic
BirdNest Tech Talk
BirdNest Tech Talk
Oct 6, 2025 · Artificial Intelligence

How to Master Few-Shot Prompting with LangChain’s Example Selectors

The article explains why few-shot prompting benefits from dynamically selecting a small set of relevant examples, introduces LangChain’s ExampleSelector component, compares three selector strategies—LengthBased, SemanticSimilarity, and MaxMarginalRelevance—detailing their algorithms, advantages, drawbacks, and provides step-by-step Python code demonstrations for each.

AIEmbeddingExample selector
0 likes · 9 min read
How to Master Few-Shot Prompting with LangChain’s Example Selectors
Code Mala Tang
Code Mala Tang
Oct 4, 2025 · Fundamentals

12 Essential Python Built‑in Functions Every Developer Should Master

Discover twelve powerful Python built‑in functions—from enumerate and zip to globals and locals—explained with clear examples, showing how they simplify indexing, pairing data, condition checks, sorting, mapping, filtering, and introspection, helping you write cleaner, more efficient code.

Code OptimizationPythonbuilt-in functions
0 likes · 9 min read
12 Essential Python Built‑in Functions Every Developer Should Master
AI Cyberspace
AI Cyberspace
Oct 4, 2025 · Artificial Intelligence

Exploring OpenManus: A Deep Dive into an Open‑Source AI Agent Framework

This article provides a comprehensive overview of OpenManus, an open‑source, general‑purpose AI agent framework, covering its installation, configuration, core architecture—including BaseAgent, ReActAgent, ToolCallAgent, and Manus—its extensive tool collection, execution logs, and detailed code analysis for developers and AI researchers.

AI AgentOpenManusPython
0 likes · 74 min read
Exploring OpenManus: A Deep Dive into an Open‑Source AI Agent Framework
Code Mala Tang
Code Mala Tang
Oct 4, 2025 · Fundamentals

Master Python’s pathlib: Clean, Cross‑Platform File Handling Made Easy

Learn how Python’s modern pathlib module transforms messy file‑system tasks into elegant, cross‑platform code by replacing os.path strings with object‑oriented paths, covering core concepts, essential operations, automation scripts, and best‑practice tips for safer, more readable file handling.

AutomationPythoncross-platform
0 likes · 11 min read
Master Python’s pathlib: Clean, Cross‑Platform File Handling Made Easy
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 3, 2025 · Backend Development

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

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

AsyncFastAPIFlask
0 likes · 22 min read
From Flask to FastAPI: A Complete Guide to Building High‑Performance Python Web APIs
BirdNest Tech Talk
BirdNest Tech Talk
Oct 2, 2025 · Artificial Intelligence

How Function Calling Empowers LLMs: A Step‑by‑Step LangChain Guide

This article explains how function (tool) calling lets large language models like GPT or Gemini invoke external APIs, walks through defining tools with LangChain, and demonstrates a complete Python example that fetches real‑time weather data and returns a natural‑language answer.

AI agentsFunction CallingLLM
0 likes · 9 min read
How Function Calling Empowers LLMs: A Step‑by‑Step LangChain Guide
Code Mala Tang
Code Mala Tang
Oct 1, 2025 · Fundamentals

Why .join() Beats + for Fast String Concatenation in Python

This article compares Python's + operator and the .join() method for concatenating strings, showing how .join() offers clearer code and up to four‑times better performance by reducing memory allocations, especially when joining many strings.

Coding TipsJoinPython
0 likes · 6 min read
Why .join() Beats + for Fast String Concatenation in Python
MoonWebTeam
MoonWebTeam
Oct 1, 2025 · Artificial Intelligence

Unlocking ChatGPT: A Deep Dive into Transformers, Tokenization, and Self‑Attention

This tutorial walks through the fundamentals of ChatGPT by explaining language modeling, character‑level tokenization, data preprocessing pipelines, the evolution from simple bigram models to scaled dot‑product self‑attention, multi‑head mechanisms, full Transformer blocks, and how to train and generate Shakespeare‑style text with a GPT model.

ChatGPTGPTLanguage Modeling
0 likes · 50 min read
Unlocking ChatGPT: A Deep Dive into Transformers, Tokenization, and Self‑Attention
BirdNest Tech Talk
BirdNest Tech Talk
Sep 30, 2025 · Artificial Intelligence

LLM vs. ChatModel in LangChain: Choosing the Right Interface

This article explains LangChain's two core abstractions—LLM for simple text completion and ChatModel for multi‑turn conversational AI—detailing their input/output formats, practical code examples, and why ChatModel is generally preferred for modern dialogue applications.

AIChatModelLLM
0 likes · 6 min read
LLM vs. ChatModel in LangChain: Choosing the Right Interface
Python Programming Learning Circle
Python Programming Learning Circle
Sep 30, 2025 · Fundamentals

How to Supercharge Your Python Code: Proven Performance Optimization Techniques

This comprehensive guide walks you through Python performance optimization, covering profiling, algorithmic improvements, data‑structure choices, code‑level tricks, concurrency, memory management, third‑party libraries and a practical checklist to ensure your programs run faster and more efficiently.

ConcurrencyMemory ManagementPerformance Optimization
0 likes · 18 min read
How to Supercharge Your Python Code: Proven Performance Optimization Techniques
Code Mala Tang
Code Mala Tang
Sep 30, 2025 · Fundamentals

Master Python Shallow vs Deep Copy: Using copy.copy() and copy.deepcopy()

This article explains Python's assignment operator behavior, demonstrates why it creates shared references rather than true copies, and provides detailed examples of shallow and deep copying using the copy module, including code snippets, output analysis, and practical scenarios such as data processing and game development.

Pythoncopy moduledeep copy
0 likes · 11 min read
Master Python Shallow vs Deep Copy: Using copy.copy() and copy.deepcopy()
Alibaba Cloud Native
Alibaba Cloud Native
Sep 30, 2025 · Cloud Native

Deploy a Scalable MCP Server with Function Compute and MSE Nacos

This guide explains how to address high deployment costs, slow iteration, and poor manageability of MCP Server by using Alibaba Cloud Function Compute for serverless execution and MSE Nacos Enterprise for automatic registration, dynamic configuration, and unified service governance.

Function ComputeMCPMSE Nacos
0 likes · 13 min read
Deploy a Scalable MCP Server with Function Compute and MSE Nacos