[KongchangAI]

#Python

130 related articles

Router Rumble: How a WiFi Router Demo Shows Why Gradient Descent Loses to NSGA-II
·2 min

Router Rumble: How a WiFi Router Demo Shows Why Gradient Descent Loses to NSGA-II

Router Rumble is an open-source Python project that visually compares gradient descent vs. NSGA-II by placing a WiFi router in a simulated room, revealing why gradient-free methods win on discrete objectives.

Read more →
Building a Momentum Algorithmic Trading System from Scratch with Python: Massive, SnapTrade, and Alpaca in Practice
·3 min

Building a Momentum Algorithmic Trading System from Scratch with Python: Massive, SnapTrade, and Alpaca in Practice

Build a momentum algorithmic paper trading system in Python from scratch: fetch market data with Massive, connect brokers via SnapTrade, execute trades on Alpaca using a 12-minus-1 momentum strategy. No real money required.

Read more →
The Type Object Pattern: Replace Bloated Class Hierarchies with Objects
·3 min

The Type Object Pattern: Replace Bloated Class Hierarchies with Objects

Deep dive into three ways to model variants in Python: class inheritance, pure data, and the Type Object Pattern — using a SaaS subscription system as a practical example.

Read more →
Python 3.15 Practical New Features: Lazy Imports, Frozen Dicts, and a Sampling Profiler
·3 min

Python 3.15 Practical New Features: Lazy Imports, Frozen Dicts, and a Sampling Profiler

Python 3.15 introduces lazy imports, built-in frozen dict, standard sentinel values, a sampling profiler (Tachyon), default UTF-8 encoding, and type system enhancements. A practical guide to each feature.

Read more →
Pyrefly: Meta's Open-Source Python Static Type Checker Built in Rust
·3 min

Pyrefly: Meta's Open-Source Python Static Type Checker Built in Rust

Pyrefly is Meta's open-source Python static type checker rewritten in Rust — up to 15x faster than MyPy, with a unified engine for IDE, terminal, and CI.

Read more →
5 Core Python Skills That Will Land You a Job Offer in 2026
·3 min

5 Core Python Skills That Will Land You a Job Offer in 2026

The 5 core Python skills that actually get you hired in 2026: collaborative code, real-world data, APIs, testing, and AI development. What companies really want.

Read more →
Build an AI Coding Agent from Scratch: Create Your Own Command-Line Assistant with Gemini
·4 min

Build an AI Coding Agent from Scratch: Create Your Own Command-Line Assistant with Gemini

Boot.dev's hands-on course teaches you to build a Python coding agent from scratch using Google Gemini Flash API — covering tool calling, agent loops, system prompts, and file safety guardrails.

Read more →
AI SDK for Python Adds Jev: Real-Time Language Detection and Incremental Code Generation Experiments
·1 min

AI SDK for Python Adds Jev: Real-Time Language Detection and Incremental Code Generation Experiments

Jev joins the AI SDK for Python, installable via `uv add ai`. Two experiments showcase real-time language detection and incremental Python code generation capabilities.

Read more →
PLLM+: A Hybrid Replay-and-Repair Pipeline for Solving Python Dependency Hell
·2 min

PLLM+: A Hybrid Replay-and-Repair Pipeline for Solving Python Dependency Hell

PLLM+ is a hybrid dependency repair pipeline that prioritizes deterministic config replay over LLMs, fixing 1,500 Python snippets on HG2.9K while cutting runtime from 368s to 71s.

Read more →
First Steps into AI: Setting Up a Python Data Science Environment with Anaconda
·2 min

First Steps into AI: Setting Up a Python Data Science Environment with Anaconda

New to AI and data analysis? Learn how to set up Python with Anaconda — install Pandas, NumPy & Matplotlib in one go, plus how to use Anaconda Prompt and Jupyter Notebook.

Read more →
Cloudflare Python Workers Goes GA: Running Python via WebAssembly Becomes Mainstream
·2 min

Cloudflare Python Workers Goes GA: Running Python via WebAssembly Becomes Mainstream

Cloudflare Python Workers hits GA after two years in preview. Learn how Pyodide + WebAssembly runs Python on the V8-based workerd runtime, key threading limits, and the pywrangler local dev tool.

Read more →
Cloudflare Python Workers Goes GA: Edge Computing Enters the Python Era
·1 min

Cloudflare Python Workers Goes GA: Edge Computing Enters the Python Era

Cloudflare Python Workers is now Generally Available. Python developers can deploy production-grade serverless functions on Cloudflare's global edge network with low latency.

Read more →
Python + AI Learning Roadmap for Beginners: A Three-Stage Plan from Zero to Employable
·2 min

Python + AI Learning Roadmap for Beginners: A Three-Stage Plan from Zero to Employable

A practical Python + AI learning roadmap for beginners, covering three stages: syntax basics, OOP and functions, and real-world projects like web scraping and data analysis.

Read more →
FastAPI Lesson 1: Understanding Frontend-Backend Separation and RESTful APIs
·2 min

FastAPI Lesson 1: Understanding Frontend-Backend Separation and RESTful APIs

FastAPI tutorial lesson 1: learn the difference between coupled and decoupled web architectures, what API interfaces are, and how RESTful conventions work — the foundation for mastering FastAPI.

Read more →
Python for Absolute Beginners: From Installation to Your First print Statement
·2 min

Python for Absolute Beginners: From Installation to Your First print Statement

Python beginner tutorial: step-by-step guide to installing Python, using the print function, adding comments, and understanding indentation — with hands-on exercises.

Read more →
Python Freelancing in Practice: Platform Selection and Pricing Guide for Beginners
·2 min

Python Freelancing in Practice: Platform Selection and Pricing Guide for Beginners

A practical guide to Python freelancing: comparing Xianyu, Taobao, and BOSS Zhipin, pricing tiers from ¥100 to ¥10K, required skills, and how to avoid common pitfalls.

Read more →
Is It Time for Pandas to Step Aside? Rethinking the Data Analysis Toolchain
·1 min

Is It Time for Pandas to Step Aside? Rethinking the Data Analysis Toolchain

A viral post titled 'Pandas Should Go Extinct' ignited debate on Hacker News. We break down Pandas' design limits, the rise of Polars and DuckDB, and the community's take on migration costs vs. ecosystem inertia.

Read more →
wrapture: The New Python Monkey-Patching Tool That Unifies Testing and Observability
·1 min

wrapture: The New Python Monkey-Patching Tool That Unifies Testing and Observability

wrapture is a new Python monkey-patching library that unifies unit testing and observability tracing. Features zero-code TOML config, OpenTelemetry export, and built-in support for Django, Flask, FastAPI, SQLAlchemy, and more.

Read more →