↓快轉到主要內容

Python 學習

Streamlit URL 狀態契約:Query Params、篩選還原與雙向同步
·8 分鐘· loading · loading
Python Streamlit Query-Params URL State Testing
Rich Traceback 實戰:例外鏈、敏感資料遮蔽與 CLI 退出契約
·7 分鐘· loading · loading
Python Rich Traceback Cli Stderr Exception-Chaining
Polars Join 資料契約:Key 唯一性、Cardinality 與 Null 對帳
·7 分鐘· loading · loading
Python Polars Join Cardinality Data-Contracts Validation
Textual RichLog 串流檢視器:有界緩衝、暫停追蹤與批次刷新
·7 分鐘· loading · loading
Python Textual RichLog TUI Streaming-Logs Bounded-Buffer
Streamlit 檔案傳輸邊界:上傳配額、內容檢查與下載生命週期
·8 分鐘· loading · loading
Python Streamlit File-Upload Download Memory Lifecycle
Python Decimal 實戰:精度、捨入規則與金額計算契約
·6 分鐘· loading · loading
Python Decimal Rounding Precision Standard-Library Pytest
Python warnings 實戰:棄用通知、篩選規則與 CI 防線
·8 分鐘· loading · loading
Python Warnings DeprecationWarning Pytest Ci API Migration Developer-Tools
Polars Nested JSON 實戰:Struct、List、NDJSON 與 Schema Drift
·7 分鐘· loading · loading
Python Polars NDJSON Struct List Schema-Drift Data-Engineering
Textual Modes 實戰:Workspace 切換、畫面生命週期與路由測試
·7 分鐘· loading · loading
Python Textual TUI Modes Screen-Routing Lifecycle Testing
Streamlit SQL 連線實戰:st.connection、查詢快取 TTL 與交易邊界
·7 分鐘· loading · loading
Python Streamlit SQL SQLConnection Cache Testing
Python asyncio.Queue 實戰:背壓、Graceful Shutdown 與不丟資料測試
·8 分鐘· loading · loading
Python Asyncio Queue Backpressure Graceful Shutdown Concurrency Testing
DuckDB MERGE 實戰:增量匯入、去重與可重跑 ETL
·6 分鐘· loading · loading
Python DuckDB SQL Merge ETL Data-Engineering Idempotency
Textual DirectoryTree 檔案瀏覽器:安全路徑、非同步預覽與互動測試
·8 分鐘· loading · loading
Python Textual DirectoryTree TUI Pathlib Asyncio Testing
Streamlit Custom Components:雙向事件、狀態同步、打包與測試
·8 分鐘· loading · loading
Python Streamlit Custom Components JavaScript State Testing Packaging
uv Resolver 除錯:版本衝突、Markers、Constraints 與 Lockfile 診斷
·7 分鐘· loading · loading
Python Uv Dependency Resolver Lockfile Packaging Debugging
Python contextvars 實戰:Async Context、結構化 Logging 與隔離測試
·8 分鐘· loading · loading
Python Contextvars Asyncio Logging Concurrency Testing Standard-Library
Polars Rolling / Dynamic Windows:時間窗聚合、邊界語意與 QA
·6 分鐘· loading · loading
Python Polars Time-Series Rolling-Window Dynamic-Window Data-Engineering Testing
Textual Command Palette + Actions:快捷鍵、命令搜尋與可測試操作
·8 分鐘· loading · loading
Python Textual TUI Command-Palette Actions Key-Bindings Testing
Streamlit 效能診斷:Rerun、Cache Hit、記憶體與 Latency Profiling
·8 分鐘· loading · loading
Python Streamlit Performance Profiling Cache Latency Memory
uv Offline Cache 實戰:離線安裝、Frozen Sync 與 Air-Gapped 部署
·8 分鐘· loading · loading
Python Uv Offline Cache Air-Gapped Deployment Reproducible-Builds
Python hashlib 實戰:檔案完整性、串流雜湊與安全比對
·8 分鐘· loading · loading
Python Hashlib SHA-256 Checksum Security Standard-Library
Python struct 實戰:二進位資料打包、解析與檔案格式入門
·7 分鐘· loading · loading
Python Struct Binary Standard-Library Developer-Tools
Polars LazyFrame 最佳化:Pushdown、Streaming 與 Explain
·6 分鐘· loading · loading
Python Polars LazyFrame Query Optimization Parquet Streaming Data-Engineering
DuckDB ASOF Join 實戰:時間序列對齊與最近事件查詢
·7 分鐘· loading · loading
Python DuckDB SQL ASOF Join Time-Series Temporal Data Data-Engineering
Streamlit + PyDeck 地理資料 Dashboard:圖層、篩選與互動地圖
·7 分鐘· loading · loading
Python Streamlit PyDeck GeoJSON Geospatial Dashboard Data-Visualization
Python concurrent.futures 實戰:Thread、Process 與 Interpreter Pool
·8 分鐘· loading · loading
Python Concurrent.futures ThreadPoolExecutor ProcessPoolExecutor InterpreterPoolExecutor Concurrency Parallelism
Textual CSS Layout 實戰:Grid、Dock、Responsive 與 Theme
·7 分鐘· loading · loading
Python Textual TCSS TUI Layout Responsive-Design Theme
DuckDB Window Functions 實戰:排名、移動平均與分組分析
·8 分鐘· loading · loading
Python DuckDB SQL Window Functions Data-Analysis Analytics OLAP
Python JSON 實戰:解析、序列化、自訂型別與大型資料
·7 分鐘· loading · loading
Python Json Serialization Standard-Library JSON Lines Data-Engineering Developer-Tools
Python Requests 實戰:Session、Timeout、Retry 與可靠 API Client
·7 分鐘· loading · loading
Python Requests HTTP API Session Retry Developer-Tools
Pandas 資料清理實戰:缺失值、型別、重複資料與驗證
·7 分鐘· loading · loading
Python Pandas Data-Cleaning Missing-Data Validation ETL
Python heapq 實戰:優先佇列、Top-K 與任務排序
·9 分鐘· loading · loading
Python Heapq Priority-Queue Algorithm Standard-Library
Python csv 實戰:DictReader、Dialect 與串流清理資料
·7 分鐘· loading · loading
Python CSV Data-Cleaning Standard-Library ETL Developer-Tools
scikit-learn Pipeline 實戰:前處理、交叉驗證與避免資料洩漏
·7 分鐘· loading · loading
Python Scikit-Learn Pipeline ColumnTransformer Machine-Learning Cross-Validation Data-Leakage
NumPy Broadcasting 實戰:Shape、索引、Mask 與維度對齊
·6 分鐘· loading · loading
Python Numpy Broadcasting Indexing Boolean Mask Data-Analysis
uv pip-compile migration:從 requirements.txt 到可重現部署流程
·7 分鐘· loading · loading
Python Uv Requirements.txt Pip-Compile Dependency-Management Deployment
Pandas GroupBy 實戰:聚合、Pivot Table 與報表整理
·8 分鐘· loading · loading
Python Pandas GroupBy Pivot Table Data-Analysis Reporting
Streamlit Data Editor 實戰:可編輯表格、上傳驗證與 CSV 匯入匯出
·8 分鐘· loading · loading
Python Streamlit Data-Editor CSV Validation Developer-Tools
Streamlit Fragments + Dialogs:局部 Rerun、即時面板與 Modal Workflow
·9 分鐘· loading · loading
Python Streamlit Fragments Dialogs Rerun Session State Developer-Tools
DuckDB 遠端 Parquet 實戰:S3/R2、httpfs、Secrets 與 Pushdown
·7 分鐘· loading · loading
Python DuckDB Parquet S3 Cloudflare R2 Httpfs Data-Engineering
Textual 測試實戰:Pilot、pytest-asyncio 與 Snapshot Regression
·7 分鐘· loading · loading
Python Textual TUI Pytest Pytest-Asyncio Pilot Snapshot Testing
uv 管理 Python 版本:Install、Find、Pin、Upgrade 與直譯器選擇
·9 分鐘· loading · loading
Python Uv Python Versions Interpreter Virtualenv Developer-Tools
Streamlit AppTest 實戰:用 pytest 測 Widgets、Session State 與 CI
·9 分鐘· loading · loading
Python Streamlit AppTest Pytest Testing Session State Ci
Python mmap 實戰:記憶體映射、隨機存取與大型檔案搜尋
·7 分鐘· loading · loading
Python Mmap Memory-Mapped-File Filesystem Performance Standard-Library
Python copy 實戰:淺拷貝、深拷貝與物件圖陷阱
·6 分鐘· loading · loading
Python Copy Deepcopy Object-Model Standard-Library
Python unicodedata 實戰:文字正規化、搜尋與去重
·6 分鐘· loading · loading
Python Unicodedata Unicode Text-Normalization Search Standard-Library
Textual Form Wizard 實戰:多步驟表單、Validation 與狀態切換
·5 分鐘· loading · loading
Python Textual TUI Forms Validation Developer-Tools
uv + GitHub Actions 實戰:Lockfile、Cache 與可重現 CI
·5 分鐘· loading · loading
Python Uv GitHub Actions Ci Lockfile Cache Developer-Tools
Python shlex 實戰:安全拆解 Shell 參數、Quote 與迷你指令語法
·6 分鐘· loading · loading
Python Shlex Shell Cli Security Standard-Library
Python sysconfig 實戰:安裝路徑、編譯資訊與環境診斷
·6 分鐘· loading · loading
Python Sysconfig Standard-Library Packaging Virtualenv Developer-Tools
Python importlib.metadata 實戰:套件版本、依賴資訊與外掛探索
·7 分鐘· loading · loading
Python Importlib.metadata Packaging Metadata Entry-Points Plugins
Python graphlib 實戰:拓撲排序、依賴圖與工作流程排程
·5 分鐘· loading · loading
Python Graphlib TopologicalSorter DAG Topological-Sort Workflow
Python platformdirs 實戰:跨平台管理設定、快取與應用程式資料夾
·7 分鐘· loading · loading
Python Platformdirs Filesystem Configuration Cache Cross-Platform
Python fsspec 實戰:統一讀寫本機、S3、HTTP 與資料管線路徑
·7 分鐘· loading · loading
Python Fsspec Filesystem S3 Data-Engineering ETL
Python PyArrow 實戰:Parquet、Schema 與跨工具資料交換
·8 分鐘· loading · loading
Python PyArrow Apache Arrow Parquet Data-Engineering ETL
Python msgspec 實戰:高速 Schema 驗證、JSON 與 MessagePack
·6 分鐘· loading · loading
Python Msgspec Json Messagepack Schema Serialization Validation
Python OpenTelemetry 實戰:Trace、Span 與 FastAPI 觀測流程
·6 分鐘· loading · loading
Python OpenTelemetry Observability FastAPI Tracing Developer-Tools
Textual Background Workers 實戰:長任務、Progress、取消與 Log Console
·9 分鐘· loading · loading
Python Textual TUI Background-Workers Async Developer-Tools
Python uv build/publish 實戰:從 wheel 到 private package workflow
·11 分鐘· loading · loading
Python Uv Packaging Wheel PyPI Private-Package Developer-Tools
Streamlit + SQLModel 實戰:做一個本機 CRUD 小後台
·9 分鐘· loading · loading
Python Streamlit SQLModel SQLite CRUD Developer-Tools
Python socket 實戰:TCP client/server、timeout 與簡易通訊協定
·8 分鐘· loading · loading
Python Socket TCP Networking Standard-Library Developer-Tools
Python shutil 實戰:檔案複製、搬移、壓縮與安全清理
·7 分鐘· loading · loading
Python Shutil Filesystem Automation Standard-Library Developer-Tools
Python inspect 實戰:看懂函式簽名、物件結構與開發工具自動化
·6 分鐘· loading · loading
Python Inspect Introspection Standard-Library Developer-Tools
Python AnyIO 實戰:TaskGroup、取消管理與跨框架非同步工具
·6 分鐘· loading · loading
Python AnyIO Async Asyncio Trio Developer-Tools
Rich Logging Dashboard 實戰:進度、表格與 Log Console 整合
·7 分鐘· loading · loading
Python Rich Logging Cli Dashboard Developer-Tools
Textual + DuckDB 實戰:終端機資料 Dashboard 小工具
·6 分鐘· loading · loading
Python Textual DuckDB TUI Dashboard Data-Analysis
Streamlit Auth 實戰:session_state、登入狀態與權限頁面
·7 分鐘· loading · loading
Python Streamlit Authentication Session State OIDC Security
Python dotenv 實戰:安全管理 .env、環境變數與部署設定
·7 分鐘· loading · loading
Python Dotenv Environment Variables Configuration Security
Streamlit + DuckDB 實戰:本地資料查詢 Dashboard
·8 分鐘· loading · loading
Python Streamlit DuckDB SQL Dashboard Data-Analysis
Textual + SQLite 實戰:做一個終端機資料管理小工具
·8 分鐘· loading · loading
Python Textual SQLite TUI Database Developer-Tools
Python uv scripts 實戰:PEP 723、inline dependencies 與單檔工具
·6 分鐘· loading · loading
Python Uv PEP 723 Script Developer-Tools Automation
Python Alembic 實戰:資料庫 Migration、版本控管與團隊協作
·9 分鐘· loading · loading
Python Alembic SQLAlchemy Database Migration Developer-Tools
Python pytest fixtures 進階:conftest、factory 與測試資料管理
·8 分鐘· loading · loading
Python Pytest Fixtures Testing Conftest Monkeypatch Developer-Tools
Python SQLAlchemy 2.0 實戰:Typed ORM、Session 與查詢模式
·9 分鐘· loading · loading
Python SQLAlchemy ORM Database SQLite Developer-Tools
FastAPI + Streamlit 實戰:API 後端與互動前端分工
·9 分鐘· loading · loading
Python FastAPI Streamlit API Frontend Developer-Tools
Python pydantic-settings 實戰:型別安全管理 .env 與設定檔
·6 分鐘· loading · loading
Python Pydantic Pydantic-Settings Dotenv Configuration Developer-Tools
Python Plotly 實戰:互動式資料視覺化與 Dashboard 圖表
·7 分鐘· loading · loading
Python Plotly Data-Visualization Dashboard Data-Analysis
Python secrets 實戰:安全產生 Token、密碼與一次性連結
·7 分鐘· loading · loading
Python Secrets Security Token Standard-Library Web
Python tempfile 實戰:安全建立暫存檔案、目錄與測試資料
·9 分鐘· loading · loading
Python Tempfile Filesystem Testing Standard-Library Developer-Tools
Python zoneinfo 實戰:時區、DST 與排程時間處理完全攻略
·8 分鐘· loading · loading
Python Zoneinfo Datetime Timezone DST Standard-Library
Python orjson 實戰:高速 JSON 序列化與 API 資料處理
·7 分鐘· loading · loading
Python Orjson Json Serialization API Performance
Python marimo 實戰:可重現的 Reactive Notebook 與資料小工具
·7 分鐘· loading · loading
Python Marimo Notebook Data-App Developer-Tools Reactive
Python APScheduler 實戰:讓程式定時執行背景工作
·9 分鐘· loading · loading
Python Apscheduler Scheduler Cron Automation Background-Jobs
Python DuckDB 實戰:用 SQL 快速分析 CSV 與 Parquet
·6 分鐘· loading · loading
Python DuckDB SQL Parquet Data-Analysis Developer-Tools
Rich + Typer:打造漂亮又好用的 Python CLI 體驗
·10 分鐘· loading · loading
Python Rich Typer Cli Command-Line Developer-Tools
Streamlit 部署實戰:Secrets、設定檔與雲端上線完整攻略
·8 分鐘· loading · loading
Python Streamlit Deployment Secrets Config Cloud
Python Typer 進階:巢狀 subcommands、callback 與 CLI 架構
·9 分鐘· loading · loading
Python Typer Cli Command-Line Developer-Tools Testing
Streamlit 進階:session_state、cache 與多頁 Dashboard 完全攻略
·11 分鐘· loading · loading
Python Streamlit Dashboard Data-App Cache Session State
Python uv 進階:workspace、lockfile、script 與專案管理完全攻略
·8 分鐘· loading · loading
Python Uv Workspace Lockfile Packaging Dev Tools
Python tomllib 實戰:內建 TOML 解析、設定檔管理與 pyproject.toml 完全攻略
·7 分鐘· loading · loading
Python Tomllib TOML 設定檔 Pyproject.toml
Python difflib 實戰:文字差異比對、相似度比較與 patch 輸出完全攻略
·10 分鐘· loading · loading
Python Difflib Text-Processing Developer-Tools Cli
Python prompt_toolkit 實戰:打造互動式 CLI、Auto-Completion 與 REPL 完全攻略
·10 分鐘· loading · loading
Python Prompt_toolkit Cli REPL Developer-Tools
Python hypothesis 實戰:Property-Based Testing 與自動化找 bug 完全攻略
·7 分鐘· loading · loading
Python Hypothesis Testing Pytest Developer-Tools
Python watchdog 實戰:檔案變更監控與自動化完全攻略
·8 分鐘· loading · loading
Python Watchdog Automation Filesystem Developer-Tools
Python Textual 實戰:終端機 TUI 應用開發完全攻略
·9 分鐘· loading · loading
Python Textual TUI Cli Terminal
Python tenacity 實戰:重試、退避與容錯機制完全攻略
·9 分鐘· loading · loading
Python Tenacity Retry Backoff 容錯
Python loguru 實戰:告別複雜的 logging 設定,寫出漂亮的日誌
·6 分鐘· loading · loading
Python Logging Loguru 除錯 工具
Python argparse 實戰:CLI 參數解析、旗標設計與 subcommands 完全攻略
·9 分鐘· loading · loading
Python Argparse Cli Command-Line Automation Developer-Tools
Python virtual environments 大比拼:venv vs conda vs uv 怎麼選?
·8 分鐘· loading · loading
Python Venv Conda Uv Virtual Environments Packaging
Python ABC + Protocol:介面設計與 Structural Subtyping
·8 分鐘· loading · loading
Python Abc Protocol Typing Interface Oop
Python Packaging:從 pyproject.toml 到發佈 PyPI 全攻略
·7 分鐘· loading · loading
Python Packaging Pyproject.toml PyPI Pip Uv Setuptools
Python Generators/Yield 完全攻略:惰性運算的藝術
·7 分鐘· loading · loading
Python Generator Yield Lazy Evaluation Iterator