Example
Command:
python3 -m quicktrash file0.txt file1.pdf folder
Output:
/home/user/.quicktrash/0x2/home/user/Documents/file0.txt
/home/user/.quicktrash/0x2/home/user/Documents/file1.pdf
/home/user/.quicktrash/0x2/home/user/Documents/folder
Python Examples
Using context:
import quicktrash
with quicktrash.Trash("example-trashdir") as trash:
trash.recycle("example-file.txt")
Using next()
import quicktrash
tr = quicktrash.Trash("example-trashdir")
trlet:quicktrash.Trashlet = next(tr)
trlet.recycle("example-file.txt")
Metadata
Release files for quicktrash 1.0.4
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 | |
|---|---|---|---|---|
| quicktrash-1.0.4.tar.gz | 2.3 kB | Without provenance | Details |
Release files / quicktrash-1.0.4.tar.gz
| Download URL | quicktrash-1.0.4.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8dfc47a0f16a3105dd2251280ed10fe96e8e1c24051bb5c14e6ebe43a6f0600
|
|
BLAKE2b-256 checksum How to use checksums |
c2deabff18f2b29fc6271eaff2eba0f10cca64cde2255ee7746277241b39e928
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.2 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.6.9
|
Security for quicktrash 1.0.4
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.