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

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

Uploaded Source

File details

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

File metadata

  • Download URL: quicktrash-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 cd5eecec72c63b70b126c55dfd064f267bbeded1befc6c73f3ad85360b3f33f1
MD5 742cbda924274cd36f73c08fdefc7aad
BLAKE2b-256 2092b44a631fee79fa3a5baa8b9019840b42f15c592517d4ecbe25abaf21112d

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