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.

Files for pyflush, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyflush-0.1.0-py3-none-any.whl (2.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyflush-0.1.0.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page