<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Python on TPOW Lab</title><link>https://tpow-001.netlify.app/tags/python/</link><description>Recent content in Python on TPOW Lab</description><generator>Hugo</generator><language>en</language><copyright>Copyright &amp;copy; 2025-2026 TPOW-001. All Rights Reserved.</copyright><lastBuildDate>Tue, 23 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tpow-001.netlify.app/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>due-diligence-agents 完整教學</title><link>https://tpow-001.netlify.app/post/2026-06-23-due-diligence-agents-tutorial/</link><pubDate>Tue, 23 Jun 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-06-23-due-diligence-agents-tutorial/</guid><description><![CDATA[<h1 id="due-diligence-agents-完整教學" data-numberify>due-diligence-agents 完整教學<a class="anchor ms-1" href="#due-diligence-agents-完整教學"></a></h1>
<blockquote>
<p><strong>zoharbabin/due-diligence-agents</strong> — 開源法醫式 M&amp;A 盡職調查工具：13 個 AI agent 平行分析資料室，跨 9 個領域交叉比對，每個發現追溯到確切引文。</p></blockquote>
<hr>

<h2 id="1-專案定位與核心價值" data-numberify>1. 專案定位與核心價值<a class="anchor ms-1" href="#1-專案定位與核心價值"></a></h2>

<h3 id="11-解決什麼問題" data-numberify>1.1 解決什麼問題<a class="anchor ms-1" href="#11-解決什麼問題"></a></h3>
<p>在併購（M&amp;A; Mergers &amp; Acquisitions）盡職調查（Due Diligence; DD）流程中，企業發展團隊面臨三大瓶頸：</p>]]></description></item><item><title>Strands Agents Harness SDK 完整教學</title><link>https://tpow-001.netlify.app/post/2026-06-18-harness-sdk-tutorial/</link><pubDate>Thu, 18 Jun 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-06-18-harness-sdk-tutorial/</guid><description><![CDATA[<blockquote>
<p><strong>Repository</strong>: <a href="https://github.com/strands-agents/harness-sdk" target="_blank" rel="noopener noreferrer">https://github.com/strands-agents/harness-sdk<i class="fas fa-external-link-square-alt ms-1"></i></a>
<strong>Stars</strong>: 6,187 | <strong>Forks</strong>: 887 | <strong>License</strong>: Apache-2.0
<strong>Languages</strong>: Python, TypeScript | <strong>Tags</strong>: SDK, Agent Framework, Agentic AI, MCP, Multi-Agent Systems
<strong>Homepage</strong>: <a href="https://strandsagents.com/" target="_blank" rel="noopener noreferrer">https://strandsagents.com/<i class="fas fa-external-link-square-alt ms-1"></i></a></p></blockquote>
<hr>

<h2 id="1-專案概覽-project-overview" data-numberify>1. 專案概覽 (Project Overview)<a class="anchor ms-1" href="#1-專案概覽-project-overview"></a></h2>

<h3 id="11-這是什麼" data-numberify>1.1 這是什麼<a class="anchor ms-1" href="#11-這是什麼"></a></h3>
<p>Strands Agents Harness SDK 是由 AWS 開源的 AI Agent (AI 代理) 開發框架，採用 <strong>model-driven (模型驅動)</strong> 的設計哲學，讓開發者只需數行程式碼就能建立功能完整的 AI Agent。這是一個 <strong>monorepo (單一程式碼倉庫)</strong>，同時包含 Python SDK 與 TypeScript SDK，以及文件網站、WebAssembly bindings (WASM 綁定) 和開發者 CLI 工具。</p>]]></description></item><item><title>strands-agents/tools 完整教學</title><link>https://tpow-001.netlify.app/post/2026-06-18-tools-tutorial/</link><pubDate>Thu, 18 Jun 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-06-18-tools-tutorial/</guid><description><![CDATA[<blockquote>
<p><strong>Repository</strong>: <a href="https://github.com/strands-agents/tools" target="_blank" rel="noopener noreferrer">https://github.com/strands-agents/tools<i class="fas fa-external-link-square-alt ms-1"></i></a>
<strong>Stars</strong>: 1,092 | <strong>Forks</strong>: 308 | <strong>Language</strong>: Python | <strong>License</strong>: Apache-2.0
<strong>Tags</strong>: agentic, agentic-ai, agents, ai, anthropic, autonomous-agents, genai, litellm, llm, machine-learning, mcp, multi-agent-systems, ollama, opentelemetry, python, bedrock, llama, openai, strands-agents
<strong>Last Updated</strong>: 2026-06-14</p></blockquote>
<hr>

<h2 id="1-專案概覽-project-overview" data-numberify>1. 專案概覽 (Project Overview)<a class="anchor ms-1" href="#1-專案概覽-project-overview"></a></h2>

<h3 id="11-這是什麼" data-numberify>1.1 這是什麼<a class="anchor ms-1" href="#11-這是什麼"></a></h3>
<p><strong>Strands Agents Tools</strong> 是 <a href="https://strandsagents.com" target="_blank" rel="noopener noreferrer">Strands Agents<i class="fas fa-external-link-square-alt ms-1"></i></a> 生態系中的官方工具集合 (tool collection)，由 AWS 開源團隊維護。它提供超過 <strong>50 種即用型工具 (ready-to-use tools)</strong>，涵蓋檔案操作、Shell 執行、網路搜尋、記憶體系統、多 Agent 協調、數學運算、影像生成、AWS 整合等面向，讓開發者只需幾行 Python 程式碼就能賦予 AI Agent 強大的實際操作能力。</p>]]></description></item><item><title>Headroom 完整教學 — AI Agent Context Compression Layer</title><link>https://tpow-001.netlify.app/post/2026-06-04-headroom-tutorial/</link><pubDate>Thu, 04 Jun 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-06-04-headroom-tutorial/</guid><description><![CDATA[<h1 id="headroom-完整教學--ai-agent-context-compression-layer" data-numberify>Headroom 完整教學 — AI Agent Context Compression Layer<a class="anchor ms-1" href="#headroom-完整教學--ai-agent-context-compression-layer"></a></h1>

<h2 id="1-專案定位" data-numberify>1. 專案定位<a class="anchor ms-1" href="#1-專案定位"></a></h2>
<p>Headroom 是一套 AI agent 的 context compression (上下文壓縮) layer (層)，目標是把 LLM 收到的所有輸入——tool output (工具輸出)、log (日誌)、RAG chunk (檢索增強生成區塊)、檔案內容、對話歷史——在送達 LLM provider 之前進行智慧壓縮，達成 60–95% 的 token (語元) 節省，同時維持回答品質不變。</p>]]></description></item><item><title>Odysseus 完整教學 — Self-Hosted AI Workspace</title><link>https://tpow-001.netlify.app/post/2026-06-04-odysseus-tutorial/</link><pubDate>Thu, 04 Jun 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-06-04-odysseus-tutorial/</guid><description><![CDATA[<h1 id="odysseus-完整教學--self-hosted-ai-workspace" data-numberify>Odysseus 完整教學 — Self-Hosted AI Workspace<a class="anchor ms-1" href="#odysseus-完整教學--self-hosted-ai-workspace"></a></h1>

<h2 id="1-專案定位" data-numberify>1. 專案定位<a class="anchor ms-1" href="#1-專案定位"></a></h2>
<p>Odysseus 是一個 self-hosted (自建) AI workspace (工作空間)，目標是成為 ChatGPT 和 Claude 的自建替代品。它運行在使用者自己的硬體上，所有資料本地儲存，不外送任何內容至第三方服務（除非使用者主動設定 API provider）。</p>]]></description></item><item><title>Tutorial: D4Vinci/Scrapling — 自我調整型 Python 爬蟲框架完整教學</title><link>https://tpow-001.netlify.app/post/2026-06-01-scrapling-tutorial/</link><pubDate>Mon, 01 Jun 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-06-01-scrapling-tutorial/</guid><description><![CDATA[<h1 id="scrapling-完整教學從單次-http-請求到-ai-agent-爬蟲管線" data-numberify>Scrapling 完整教學：從單次 HTTP 請求到 AI agent 爬蟲管線<a class="anchor ms-1" href="#scrapling-完整教學從單次-http-請求到-ai-agent-爬蟲管線"></a></h1>
<blockquote>
<p>一份「讀完就能上手 + 進得了管線 + 知道資安邊界」的內部技術手冊。
目標讀者：已會 Python，正在評估 Scrapy / Playwright / BeautifulSoup 的替代方案，或要把爬蟲整進 AI agent 的工程師。</p>]]></description></item><item><title>Tutorial: D4Vinci/Scrapling — 自我調整型 Python 爬蟲框架完整教學</title><link>https://tpow-001.netlify.app/post/2026-06-01-scrapling-v2-tutorial/</link><pubDate>Mon, 01 Jun 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-06-01-scrapling-v2-tutorial/</guid><description><![CDATA[<h1 id="scrapling-完整教學從單次-http-請求到-ai-agent-爬蟲管線" data-numberify>Scrapling 完整教學：從單次 HTTP 請求到 AI agent 爬蟲管線<a class="anchor ms-1" href="#scrapling-完整教學從單次-http-請求到-ai-agent-爬蟲管線"></a></h1>
<blockquote>
<p>一份「讀完就能上手 + 進得了管線 + 知道資安邊界」的內部技術手冊。
目標讀者：已會 Python，正在評估 Scrapy / Playwright / BeautifulSoup 的替代方案，或要把爬蟲整進 AI agent 的工程師。</p>]]></description></item><item><title>RedditVideoMakerBot 完整教學 — 從 Reddit 文到 TikTok 短影片的一鍵自動化</title><link>https://tpow-001.netlify.app/post/2026-05-29-redditvideomakerbot-tutorial/</link><pubDate>Fri, 29 May 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-05-29-redditvideomakerbot-tutorial/</guid><description><![CDATA[<h1 id="redditvideomakerbot-完整教學" data-numberify>RedditVideoMakerBot 完整教學<a class="anchor ms-1" href="#redditvideomakerbot-完整教學"></a></h1>
<blockquote>
<p>對應 repo：<a href="https://github.com/elebumm/RedditVideoMakerBot" target="_blank" rel="noopener noreferrer"><code>elebumm/RedditVideoMakerBot</code><i class="fas fa-external-link-square-alt ms-1"></i></a>（v3.4.0, GPLv3, ⭐12.3K / 🍴2.88K）
對應 metadata：<code>inbox/2026-05-29-github-elebumm-RedditVideoMakerBot.md</code></p>]]></description></item><item><title>30-seconds-of-code 詳細教學 — Curated Snippet Site：內容資產、Astro Pipeline、寫作 SOP 三層解析</title><link>https://tpow-001.netlify.app/post/2026-05-22-30-seconds-of-code-tutorial/</link><pubDate>Fri, 22 May 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-05-22-30-seconds-of-code-tutorial/</guid><description><![CDATA[<h1 id="30-seconds-of-code-詳細教學" data-numberify>30-seconds-of-code 詳細教學<a class="anchor ms-1" href="#30-seconds-of-code-詳細教學"></a></h1>

<h2 id="1-定位" data-numberify>§1 定位<a class="anchor ms-1" href="#1-定位"></a></h2>
<p><strong>30-seconds-of-code (30soc)</strong> 是 Angelos Chalaris 自 2017 年起獨自維護的 <strong>curated coding snippets 教學站</strong>。三句話說清楚它是什麼、不是什麼：</p>
<ul>
<li><strong>是</strong>：每篇「30 秒讀完」的短文 + code block + 解釋，分 JavaScript / CSS / Python / React / Git / HTML 六大類，由單一作者把關品質</li>
<li><strong>不是</strong>：cheatsheet（沒有解釋）、不是社群 wiki（PR 只收 bug 不收新內容）、不是教材（沒有循序漸進的學習路徑）</li>
<li><strong>128k stars / 12.5k forks / CC-BY-4.0 內容授權</strong> — 是「solo-maintainer 高品質知識站」的代表</li>
</ul>
<p>兩條使用線：</p>]]></description></item></channel></rss>