yatrash
Safely move files into a trash can instead of rm.
OS Independent, as long as your OS supports Python's pathlib and shutil.
Now living on Github
Detailed usage
$ trash --help
usage: __main__.py [-h] [--trash-dir TRASH_DIR]
[trash_files [trash_files ...]]
...
see the real --help for more
Why do we need another trash utility?
This is mostly for self-educational purposes.
If you actually want a trash utility, see trash-cli which implements the xdg trash specification, so it will play nicely with your Desktop's trash and other tools. It also features more utilities, such as recover.
Origin
- CodeReview
- Github Gist
- Github Repository (current home)
Metadata
Release files for yatrash 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yatrash-0.1.3.tar.gz | 15.6 kB | Without provenance | Details for yatrash-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yatrash-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for yatrash-0.1.3-py3-none-any.whl |
Total release size: 32.1 kB
Release files / yatrash-0.1.3.tar.gz
| Download URL | yatrash-0.1.3.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29247a1d1c3fe60abbab9d9326f9be7bdc7f768647a8e4577b156ca73e392f59
|
|
BLAKE2b-256 checksum How to use checksums |
aa296d7698527e3e4b2086a545c6ff02c75f9a4ec416a1dffd82f8816a575a75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / yatrash-0.1.3-py3-none-any.whl
| Download URL | yatrash-0.1.3-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
854196f622f05d5ed6570747db7c5f44b915766f126cb5a443f72e7035b7ab07
|
|
BLAKE2b-256 checksum How to use checksums |
07e136dc5d24f57d2107ecb0ca768531e24bfde0b2d08f725647a2a397cb78e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for yatrash 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.