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

Uploaded Source

File details

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

File metadata

  • Download URL: quicktrash-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 93c88acee46c63d2a1b8fa5dceb0f404d10f217ad7b78a996efd9886ad1bf701
MD5 a9f2065e38dd02e9c26af1becb57d2d5
BLAKE2b-256 689491d95ba2a58229cbf8da9e3df5698c318bb1d864620d8808cfccf8651893

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