×

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:57 2025
md5 checksum 1a62482bc7059192665b4ed07bb39ce2
arch x86_64
build py310h06a4308_1
build_number 1
depends python >=3.10,<3.11.0a0
license BSD-3-Clause
license_family BSD
md5 1a62482bc7059192665b4ed07bb39ce2
name send2trash
platform linux
sha1 51b31a2e60228c446be7e2cafbf79fae525ea85d
sha256 fcd6cbb3cd622d616afda752fda84be7f11e0e1df035af5741952b157cbbcaf4
size 27899
subdir linux-64
timestamp 1736540863407
version 1.8.2