Python library to natively send files to Trash (or Recycle bin) on all platforms.
JSON →Send2Trash is a small Python package (version 2.1.0) that moves files and directories to the operating system's trash or recycle bin, rather than permanently deleting them. It provides native support for macOS (Cocoa calls), Windows (IFileOperation/SHFileOperation), and Linux/BSD (freedesktop.org trash specification or PyGObject/GIO fallback). It is actively maintained with a moderate release cadence, with the latest stable release in January 2026.
Traffic · last 30 days ↓100% vs prev 7d
total hits 28
actors 7 distinct systems
last hit 7d ago AhrefsBot
top countries 🇨🇦 Canada · 🇺🇸 United States · VN · 🇩🇪 Germany · LK
API endpoints
full doc /v1/registry/send2trash
install /v1/registry/send2trash/install
compatibility /v1/registry/send2trash/compatibility