×

Send2Trash is a small package that sends files to the Trash (or Recycle Bin) natively and on all platforms. On OS X, it uses native FSMoveObjectToTrashSync Cocoa calls or can use pyobjc with NSFileManager. On Windows, it uses native IFileOperation call if on Vista or newer and pywin32 is installed or falls back to SHFileOperation calls. On other platforms, if PyGObject and GIO are available, it will use this. Otherwise, it will fallback to its own implementation of the trash specifications from freedesktop.org. ctypes is used to access native libraries, so no compilation is necessary.

Uploaded Tue Apr 1 00:07:58 2025
md5 checksum 6de7b7d88a0ad8549d30cb9bf1676c7e
arch x86_64
build py312h06a4308_0
depends python >=3.12,<3.13.0a0
license BSD-3-Clause
license_family BSD
md5 6de7b7d88a0ad8549d30cb9bf1676c7e
name send2trash
platform linux
sha1 a82e8d3f87f94b7ec711473c5590a64f484f5f8e
sha256 032644e7e2f76b0d83a2ef7c41850077ace201efa9bb9aa56276c12274e70be4
size 31404
subdir linux-64
timestamp 1701732363988
version 1.8.2