Python library to natively send files to Trash
45.77 KB
built 2026-10-17 13:36:43 GMT
Description
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, on Windows, it uses native (and ugly) SHFileOperation win32 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.
Dependencies
13 totalRequires12
- (python3dist(tomli) if python3-devel < 3.11)
- pyproject-rpm-macros
- python3-devel
- python3-devel
- python3-pytest
- python3dist(packaging)
- python3dist(pip) >= 19
- python3dist(setuptools) >= 75.3.1
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(RichDependencies) <= 4.12.0-1
Provides1
- python3-send2trash = 2.1.0-3.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| python-send2trash.spec | 6.90 KB |
| send2trash-2.1.0.tar.gz | 16.09 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
