#

Python Programming Tutorials & Engineering Articles

1270 Python tutorials, guides, and engineering insights from NVIDIA, ClickHouse, LinkedIn, and more

Python Articles & Tutorials

Filter:
ClickHouse logo
ClickHouse
Intermediate
Visualize the November 13 FAA outage using ADS-B flight data and ClickHouse’s FORMAT PNG, rendering an entire day of US air traffic directly from SQL.
15 min read
Includes Code
--
ClickHouse logo
ClickHouse
Intermediate
Connect TimesFM to ClickHouse with executable UDFs to forecast retail demand, detect anomalies, and account for known future events using SQL.
13 min read
Includes Code
--
NVIDIA logo
NVIDIA
Advanced
Molecular dynamics (MD) is an indispensable tool across physics, chemistry, biology, and materials science. Owing to its arithmetic structure…
Yutong Zhao
10 min read
Includes Code
--
Google logo
Google
Advanced
How we eliminated floating-point train–inference logprob drift for on-policy LLM reinforcement learning across 64 Cloud TPU v5p chips using a generalizable four-part JAX and Pallas recipe in Tunix.
Yuxuan Zhang, Lin Chai, Lance Wang, Tianshu Bao, Weiren Yu
7 min read
Includes Code
--
Google logo
Google
Advanced
This guide walks developers through setting up Agent Anomaly Detection on the Gemini Enterprise Agent Platform to monitor AI agent telemetry and catch behavioral risks. It demonstrates how to deploy a sample customer support agent, trigger out-of-scope security findings, and configure proactive alerts using Cloud Monitoring and Security Command Center.
Achuth Narayan Rajagopal, Derek Luan
10 min read
Includes Code
--
ClickHouse logo
ClickHouse
Advanced
Loom gives coding agents shared memory and a code index grounded in the repository, so each session can build on what the last one learned.
NVIDIA logo
NVIDIA
Advanced
Imaging black holes is challenging because they are distant and appear tiny in the sky—for example, M87*’s observed ring spans just 42 microarcseconds.
Akhilesh Mishra
12 min read
Includes Code
--
NVIDIA logo
NVIDIA
Advanced
AI applications at the edge often need to run multiple neural networks within limited compute and power budgets. NVIDIA Deep Learning Accelerator (DLA)…
Nikshay Shrivastava
10 min read
Includes Code
--
Google logo
Google
Advanced
How pairing Go's surviving compiler bounds-check traps with Gemini 4 Argon and the Z3 constraint solver catches latent out-of-bounds panics in Go code and uncovers a slice-capacity blind spot in go test -fuzz.
Karl Weinmeister
12 min read
Includes Code
--
Google logo
Google
Intermediate
Agent Anomaly Detection (AAD) provides asynchronous, low-latency monitoring for AI agents by analyzing OpenTelemetry traces and logs to flag goal hijacks and tool misuse. Tested across five public security benchmarks, AAD successfully caught 87% of harmful instructions carried out by agents without adding runtime latency. Developers can integrate AAD alongside semantic governance and strict tool limits as part of a defense-in-depth strategy to secure agentic applications.
Nakul Javali
8 min read
Includes Code
--
Google logo
Google
Beginner
A2UI 1.0 is an open protocol for generative UI that enables AI agents to render interactive, native screens across web, mobile, and desktop applications. Developers can leverage open-source renderer SDKs—including React, Angular, Lit, Flutter, SwiftUI, and Jetpack Compose—alongside agent SDKs for Python, TypeScript, and Dart. The release introduces bidirectional function calls, swappable inference formats, and secure data binding to help teams seamlessly integrate generative UI into their product stacks.
Vishal Motwani, Google A2UI Team
8 min read
Includes Code
--
NVIDIA logo
NVIDIA
Intermediate
Autonomous vehicle (AV) developers need reasoning models that can operate within the compute and latency constraints of an onboard system.
Marco Pavone
12 min read
Includes Code
--
NVIDIA logo
NVIDIA
Intermediate
NVIDIA Snapshot, a new open-source component of the NVIDIA DSX AI Factory Platform, makes initialized GPU workloads reusable across inference replicas—speeding…
Dan Feigin
7 min read
Includes Code
--
Hitarth Trivedi, Jay Narale, Jianjian Xie, Aerial view of a busy multi-level highway interchange with cars and bright streetlights at night., Yunfei Chen, Sanah Imani
15 min read
--
Meta logo
Meta
Advanced
Triton Low-Level Extensions (TLX), is an extension to Triton that helps engineers optimize GPU performance while preserving Triton’s productive programming model.  TLX introduces explicit war…
Hongtao Yu
20 min read
Includes Code
--
NVIDIA logo
NVIDIA
Advanced
Picture guiding a robot arm by hand while its motors supply just enough torque to support its weight and keep the robot upright. This simple interaction…
Elizabeth Goodman
11 min read
Includes Code
--
Google logo
Google
Intermediate
Pathways is a single-controller distributed training system designed to coordinate large-scale model training across multiple accelerator groups by representing computations as a global dataflow graph. Unlike traditional SPMD models like DDP and FSDP that rely on synchronous collectives, Pathways uses asynchronous dispatch and a central scheduler to maximize hardware utilization and prevent deadlocks in complex workloads. By decoupling model definition from physical hardware via virtual devices, developers can efficiently scale complex training architectures and seamlessly handle dynamic workloads like reinforcement learning post-training.
Sujeeth Jinesh, Shaurya Gupta, Luke Baumann, Monica Song, Ivan Nardini, Akanksha Gupta, Anthony Owusu, Jing Yang, Sadi Kneipp, Yu Li
13 min read
--
ClickHouse logo
ClickHouse
Beginner
Hidehiko ASAHI shares a month of WalShadow private-preview testing, comparing replication latency with ClickPipes and checking data correctness, schema changes, and recovery.
NVIDIA logo
NVIDIA
Advanced
As artificial intelligence and accelerated computing continue to push the boundaries of what’s possible, the latest NVIDIA CUDA release arrives to unlock…
Shara Tibken
17 min read
Includes Code
--
Google logo
Google
Intermediate
Per-token API prices keep falling, yet engineering bills for autonomous coding agents keep climbing....
Sergio Villani
11 min read
Includes Code
--
NVIDIA logo
NVIDIA
Intermediate
Use this open-source tool to correlate workload-scoped logs, metrics, and scheduler state into a reproducible diagnosis on your own cluster.
Elizabeth Goodman
9 min read
Includes Code
--
NVIDIA logo
NVIDIA
Intermediate
AI is expanding beyond the data center as developers build a new generation of agents to act at the edge: monitoring driver attention and cabin conditions…
Shara Tibken
5 min read
Includes Code
--
NVIDIA logo
NVIDIA
Intermediate
NVIDIA GPUDirect Storage (GDS) accelerates GPU storage access in on-premises and cloud environments. It provides a robust, portable, and efficient data path…
Phil Carns
7 min read
Includes Code
--
Google logo
Google
Intermediate
See Google A2Ui in action! Learn how to natively render agentic UIs across Langchain, AWS Strands, Microsoft agents, and Google ADK using CopilotKit SDKs for A2UI.
Google A2UI Team, Atai Barkai
8 min read
Includes Code
--
Google logo
Google
Advanced
This post walks through the Agents CLI evaluation loop for systematically improving agent performance through continuous testing and grading. It demonstrates how to catch prompt regressions, evaluate model backend swaps using side-by-side trace comparisons, and automate evaluation passes. Developers will also learn how to integrate nightly scheduled runs with threshold-based alerting to track quality over time.
Pier Paolo Ippolito, Elia Secchi
13 min read
Includes Code
--
NVIDIA logo
NVIDIA
Advanced
As AI adoption expands globally, people across languages and cultures are using it in more aspects of their daily lives. General-purpose language models serve…
Shara Tibken
15 min read
Includes Code
--
Meta logo
Meta
Beginner
The 2026 Python Typing Survey received 1,794 responses.  Type hint use changed little across three years, but checker selection changed sharply.  Among respondents who reported which checkers they …
Meta logo
Meta
Beginner
This latest deep dive into Meta’s Privacy Aware Infrastructure (PAI) takes a look at PrivacyLib.  A privacy requirement must hold as data moves through Meta’s diverse data and processing syst…
Sai Nagabhairava
21 min read
Includes Code
--
Google logo
Google
Beginner
A2UI now supports swappable inference formats, introducing A2UI Express which uses up to 3x fewer tokens and cuts latency by compiling compact Python-style syntax into standard A2UI JSON via Agent SDKs. Developers can also use controlled generation with TypeSafe's Jev system-decision models to render known-shape screens in under 300 ms while smaller models stream text. These updates require no changes to frontend renderers or component catalogs, offering flexible performance levers for generative UI development across Python, TypeScript, and Dart.
Vishal Motwani, Google A2UI Team
9 min read
Includes Code
--
Google logo
Google
Advanced
This document provides a publication template and metadata structure for a technical blog post focused on building Conversational User Interfaces (CUIs) using AI. It outlines key developer focus areas, product stacks, and approval workflows required for publishing technical content through Google Developer Studio. The framework helps engineers organize their guides and solutions to effectively share AI-driven conversational interface designs with the developer community.
Prateek Khushalani
18 min read
Includes Code
--
NVIDIA logo
NVIDIA
Advanced
The Global Performance Tuner is a feature for automatic performance tuning released in NVIDIA TensorRT 11.1. It provides automatic, accuracy-aware and end-to…
Tanya Lenz
11 min read
Includes Code
--
NVIDIA logo
NVIDIA
Advanced
GPU applications are processing ever-growing datasets with increasingly powerful accelerators. According to the 2025 Stanford AI Index, compute for notable AI…
Tanya Lenz
11 min read
Includes Code
--
NVIDIA logo
NVIDIA
Advanced
Protein design is a search problem. Choose amino acids for an eight-residue protein sequence and more than 25 billion combinations are possible.
Elizabeth Goodman
11 min read
Includes Code
--
OpenAI logo
OpenAI
Advanced
How we optimized Azure Cosmos DB in our application storage platform, Habitat, to manage unprecedented growth.
Google logo
Google
Advanced
The Agents CLI Extension System enables developers to use frameworks like LangChain, LangGraph, or custom enterprise stacks while retaining a unified deployment and evaluation workflow. It details a first-party LangChain template that scaffolds, runs, and deploys agents without requiring the Agent Development Kit (ADK). Additionally, it demonstrates how platform teams can author custom extensions to enforce policies such as automated software bill of materials (SBOM) scans during deployment.
Pier Paolo Ippolito, Elia Secchi
20 min read
Includes Code
--
Google logo
Google
Advanced
This post announces native PyTorch backends for vLLM and SGLang powered by TorchTPU, enabling developers to run and optimize serving workloads using familiar PyTorch tools. Built in collaboration with open-source project maintainers, these engines include optimized TPU kernel implementations, production-ready features like KV cache management with TPU Sync, and disaggregated serving. Public benchmarks demonstrate state-of-the-art performance and industry-leading cost efficiency on Ironwood TPU across long-context and agentic workloads.
Qi Zhou, Chris Chan
7 min read
Includes Code
--
Google logo
Google
Advanced
TorchTPU integrates a native torch.device("tpu") backend directly into PyTorch, allowing developers to train large-scale models on Google Cloud TPUs without rewriting code in JAX. The TorchTitan TPU fork enhances this with production-grade scaling primitives like SimpleFSDP, Graph Trainer, and custom Pallas kernels that achieve high Model Flops Utilization (MFU) across dense and MoE architectures. Developers can leverage these battle-tested optimization playbooks, recipes, and the Hugging Face modeling backend to efficiently scale their own workloads on TPU infrastructure.
Aleksey Vlasenko, Rob Torres, Will Constable
22 min read
Includes Code
--
NVIDIA logo
NVIDIA
Advanced
NVIDIA CUDA Tile (cuTile) is a Python-based DSL and parallel programming model for NVIDIA GPUs that automatically leverages advanced hardware capabilities to…
Tanya Lenz
14 min read
Includes Code
--
Meta logo
Meta
Intermediate
Sometimes, giving an AI agent all of the knowledge it needs is the wrong approach.  At Meta, we’ve seen notable improvements in efficiency and accuracy by keeping the orchestration layer of o…
Google logo
Google
Intermediate
The open-source Agent Development Kit (ADK) and gemini-3.8-live enable developers to build responsive voice agents by implementing non-blocking tools in Python. Developers can use streaming tools to yield progress updates or background execution patterns to keep conversations fluid during long-running backend queries. Additionally, configuring response scheduling behaviors such as WHEN_IDLE, INTERRUPT, or SILENT gives developers precise control over when and how tool results are delivered into the conversation.
Stephen Allen, Kaz Sato
9 min read
Includes Code
--
Google logo
Google
Intermediate
Meet the LiteRT Tensor API: giving developers native C++ control over the model graph to unify end-to-end ML computations on heterogeneous edge hardware.
Ping Yu, Quentin Khan, Chintan Parikh, Lu Wang
10 min read
Includes Code
--
NVIDIA logo
NVIDIA
Beginner
Bring coding agents, model customization, and CUDA-accelerated development to your everyday PC…
Elizabeth Goodman
7 min read
--
NVIDIA logo
NVIDIA
Advanced
Always-on agents are taking on longer, more complex enterprise workflows. A single request can involve reading a document, checking information across sources…
Google logo
Google
Intermediate
The google/adk-recipes repository unifies Agent Development Kit (ADK) resources into three structured layers—core/, plugins/, and contrib/—serving as a single source of truth for building AI agents. Developers can leverage reference patterns, install modular vertical skills (such as retail product search and virtual try-on) directly into their coding assistants, and deploy production-ready services across multiple languages. This cohesive structure streamlines the entire workflow from initial scaffolding to full deployment on Google Cloud infrastructure.
Pier Paolo Ippolito, Shahin Saadati
14 min read
Includes Code
--