Skip to main content

EzPz Recycling

Project description

Rejoice, Linux users, for you no longer have to: mv forbidden_memes.txt ~/.recycling/fordbidden_memes.txt and get an error: File exists or something lol

Command Example

python3 -m quicktrash 43245_ways_to_kill_barney.txt some_manifesto.pdf Output:

/home/babybop/.quicktrash/0x2/home/babybop/Documents/43245_ways_to_kill_barney.txt
/home/babybop/.quicktrash/0x2/home/babybop/Documents/some_manifesto.pdf

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.0.tar.gz (2.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: quicktrash-1.0.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for quicktrash-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b11085025c5a98425e011b553127f63bc4db1306343b21fbb299434caa4e7209
MD5 8f544a921d74f9ffd997c07f26a3efec
BLAKE2b-256 99ef92fe51bb3851fbdd1cbaab45dadd4794d9b8bbec13daa8018bb4491ffaf6

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