watchfiles: A Lightweight, Efficient, and Cross-Platform File Monitoring Tool
watchfiles: Lightweight, fast & cross-platform Python file watcher. Supports async/sync, hot reloading & works on Linux/Mac/Windows.
"Top Python Libraries" Publication 400 Subscriptions 20% Discount Offer Link.
Looking for a Lightweight, Efficient, Cross-Platform File Monitoring Tool for Your Python Projects?
Stop using outdated tools! With watchfiles
, you can say goodbye to manual polling and complex dependencies in minutes.
Built on Rust's Notify library, it leverages system notifications to handle file changes. Previously known as watchgod
, it's been renamed with enhanced functionality and supports Python 3.9–3.14.
What Pain Points Does It Solve?
Real-time Hot Reloading: Changes take effect immediately, eliminating the pain of manual restarts.
Strong Compatibility: Binary packages available for Linux/Mac/Windows, zero configuration required.
High Performance: Rust-based notifications are N times faster than pure Python polling.
Async/Sync Your Choice: Offers
watch
,awatch
, and therun_process
series for running processes.