Skip to main content

A python library to remove content of a directory, or file in a safer manner. After running pyflush, it became much safer to delete the file/directory manually/programmatically.

Project description

pyflush

This repository contains python code to remove content of a directory, or file in a safer manner. After running pyflush, it became much safer to delete the file manually/programmatically.

Developer: Ravin Kumar

Steps to use pyflush

  • Removing a file
import pyflush
pyflush.flushfile("filename.txt")
  • Removing a directory
import pyflush
pyflush.flushdir("directoryname")

Installation using PyPi

pip3 install pyflush

Note: This work can be used freely for academic research work and individual non-commercial projects, please do provide citation and/or deserved credits to this work. For Industrial and commercial use permission is required from the Developer.

NOTE: Please use this library at your own risk !!!

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

pyflush-0.0.1.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

pyflush-0.0.1-py3-none-any.whl (1.6 kB view hashes)

Uploaded Python 3

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