Skip to main content

EzPz Recycling

Project description

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")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quicktrash-1.0.4.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file quicktrash-1.0.4.tar.gz.

File metadata

  • Download URL: quicktrash-1.0.4.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for quicktrash-1.0.4.tar.gz
Algorithm Hash digest
SHA256 e8dfc47a0f16a3105dd2251280ed10fe96e8e1c24051bb5c14e6ebe43a6f0600
MD5 361a0265efcc1311b53ef268ec9da6c4
BLAKE2b-256 c2deabff18f2b29fc6271eaff2eba0f10cca64cde2255ee7746277241b39e928

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page