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

Uploaded Source

File details

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

File metadata

  • Download URL: quicktrash-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 2153eb533ac09580f99b3a0ee08983ed0ef21497e7b87c03a37f7ae70d0ea5a4
MD5 bf7146d2e0d2bf8facff9c35821b42fd
BLAKE2b-256 ea580e563f99127e92604b7abb067e37ab848e1a0a759bdd21782735ec8545ad

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