shred - A cross-platform library for securely deleting files beyond recovery.

Overview

shred


GitHub top language GitHub release (latest by date) GitHub PyPI PyPI - Format PyPI - Downloads GitHub Repo stars GitHub watchers GitHub forks


Help the project financially:

PayPal Yandex Visa Donate


Short description:

shred - A cross-platform library for securely deleting files beyond recovery.


Author and developer: Aleksandr Suvorov (Smart Legion).

mysmartlegion@ya.ru https://smartlegion.github.io/


Supported:

  • Linux: All
  • Windows: 7/8/10
  • Termux on Android

Requirements:


Sample programs:

  • shredi - Console utility for destroying files. Secure file overwriting, deletion, and destruction, both in manual and automatic modes, *without the possibility of recovery.

What's new?

shred v0.1.2

  • Added new modules.
  • Added new tests.
  • Dropped support for older versions.

Description:

A cross-platform library for securely deleting files beyond recovery.

Destruction, overwriting, and secure deletion may not be effective on some systems.

Use Linux for more reliable performance.

Allows you to create a console and graphical applications for file shredding, overwrite, secure deletion.

Support for Linux, Windows, Android(Termux). Once destroyed, the files are impossible (or almost impossible) to recover, even on expensive hardware.

You can use this package in any application where you want to overwrite the file with random data and safely delete it, for example, when encrypting, moving, or in other cases.

Be extremely careful when using it!


Help:


  • pip3 install shred
from shred.shredders import FileShredder

file = 'file.txt'
shredder = FileShredder()

destroy_status = shredder.destroy(file=file, rew=100)
remove_status = shredder.remove(file=file)

Termux support:

  • Utilities created with this package work without problems in Termux:
    • Shredi - Console utility for destroying files.

Windows support:

Windows 7/8/10

To destroy files on windows, the best is:

  • Create a bootable USB stick with live-linux.
  • Start in live-system.
  • Browse windows drives.
  • Safely overwrite or delete files.

Tests:

for run tests:

  • pip3 install pytest
  • pytest -v

For run test coverage:

  • pip3 install pytest-cov
  • pytest -cov

Test coverage: 100%!

Coverage Image


Links:


Disclaimer of liability:

  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Information:

Licensed under the terms of the BSD 3-Clause License

==========================================================
Copyright (c) 2018-2021, A.A Suvorov; All rights reserved.
==========================================================
You might also like...
RMfuse provides access to your reMarkable Cloud files in the form of a FUSE filesystem

RMfuse provides access to your reMarkable Cloud files in the form of a FUSE filesystem. These files are exposed either in their original format, or as PDF files that contain your annotations. This lets you manage files in the reMarkable Cloud using the same tools you use on your local system.

A JupyterLab extension that allows opening files and directories with external desktop applications.
A JupyterLab extension that allows opening files and directories with external desktop applications.

A JupyterLab extension that allows opening files and directories with external desktop applications.

This is a junk file creator tool which creates junk files in Internal Storage

This is a junk file creator tool which creates junk files in Internal Storage

Maltego transforms to pivot between PE files based on their VirusTotal codeblocks
Maltego transforms to pivot between PE files based on their VirusTotal codeblocks

VirusTotal Codeblocks Maltego Transforms Introduction These Maltego transforms allow you to pivot between different PE files based on codeblocks they

MHS2 Save file editing tools. Transfers save files between players, switch and pc version, encrypts and decrypts.

SaveTools MHS2 Save file editing tools. Transfers save files between players, switch and pc version, encrypts and decrypts. Credits Written by Asteris

pydicom - Read, modify and write DICOM files with python code

pydicom is a pure Python package for working with DICOM files. It lets you read, modify and write DICOM data in an easy "pythonic" way.

Creates folders into a directory to categorize files in that directory by file extensions and move all things from sub-directories to current directory.

Categorize and Uncategorize Your Folders Table of Content TL;DR just take me to how to install. What are Extension Categorizer and Folder Dumper Insta

A tool written in python to generate basic repo files from github
A tool written in python to generate basic repo files from github

A tool written in python to generate basic repo files from github

dotsend is a web application which helps you to upload your large files and share file via link

dotsend is a web application which helps you to upload your large files and share file via link

Releases(v0.1.2)
  • v0.1.2(Aug 20, 2021)

    shred


    GitHub top language GitHub release (latest by date) GitHub PyPI PyPI - Format PyPI - Downloads GitHub Repo stars GitHub watchers GitHub forks


    Help the project financially:

    PayPal Yandex Visa Donate


    Short description:

    shred - A cross-platform library for securely deleting files beyond recovery.


    Author and developer: Aleksandr Suvorov (Smart Legion).

    mysmartlegion@ya.ru https://smartlegion.github.io/


    Supported:

    • Linux: All
    • Windows: 7/8/10
    • Termux on Android

    Requirements:


    Sample programs:

    • shredi - Console utility for destroying files. Secure file overwriting, deletion, and destruction, both in manual and automatic modes, *without the possibility of recovery.

    What's new?

    shred v0.1.2

    • Added new modules.
    • Added new tests.
    • Dropped support for older versions.

    Description:

    A cross-platform library for securely deleting files beyond recovery.

    Destruction, overwriting, and secure deletion may not be effective on some systems.

    Use Linux for more reliable performance.

    Allows you to create a console and graphical applications for file shredding, overwrite, secure deletion.

    Support for Linux, Windows, Android(Termux). Once destroyed, the files are impossible (or almost impossible) to recover, even on expensive hardware.

    You can use this package in any application where you want to overwrite the file with random data and safely delete it, for example, when encrypting, moving, or in other cases.

    Be extremely careful when using it!


    Help:


    • pip3 install shred
    from shred.shredders import FileShredder
    
    file = 'file.txt'
    shredder = FileShredder()
    
    destroy_status = shredder.destroy(file=file, rew=100)
    remove_status = shredder.remove(file=file)
    

    Termux support:

    • Utilities created with this package work without problems in Termux:
      • Shredi - Console utility for destroying files.

    Windows support:

    Windows 7/8/10

    To destroy files on windows, the best is:

    • Create a bootable USB stick with live-linux.
    • Start in live-system.
    • Browse windows drives.
    • Safely overwrite or delete files.

    Tests:

    for run tests:

    • pip3 install pytest
    • pytest -v

    For run test coverage:

    • pip3 install pytest-cov
    • pytest -cov

    Test coverage: 100%!

    Coverage Image


    Links:


    Disclaimer of liability:

      THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
      IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
      DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
      FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
      DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
      SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
      CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
      OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
      OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    

    Information:

    Licensed under the terms of the BSD 3-Clause License
    
    ==========================================================
    Copyright (c) 2018-2021, A.A Suvorov; All rights reserved.
    ==========================================================
    
    Source code(tar.gz)
    Source code(zip)
Python file organizer application

Python file organizer application

Pak Maneth 1 Jun 21, 2022
An object-oriented approach to Python file/directory operations.

Unipath An object-oriented approach to file/directory operations Version: 1.1 Home page: https://github.com/mikeorr/Unipath Docs: https://github.com/m

Mike Orr 506 Dec 29, 2022
Simple Python File Manager

This script lets you automatically relocate files based on their extensions. Very useful from the downloads folder !

Aimé Risson 22 Dec 27, 2022
A platform independent file lock for Python

py-filelock This package contains a single module, which implements a platform independent file lock in Python, which provides a simple way of inter-p

Benedikt Schmitt 497 Jan 05, 2023
Provides a convenient way to append numpy arrays to a file.

Provides a convenient way to append numpy arrays to a file. The NpendWriter and NpendReader classes are used to write and read numpy arrays respective

3 May 14, 2022
The best way to convert files on your computer, be it .pdf to .png, .pdf to .docx, .png to .ico, or anything you can imagine.

The best way to convert files on your computer, be it .pdf to .png, .pdf to .docx, .png to .ico, or anything you can imagine.

JareBear 2 Nov 20, 2021
This project is a set of programs that I use to create a README.md file.

🤖 codex-readme 📜 codex-readme What is it? This project is a set of programs that I use to create a README.md file. How does it work? It reads progra

Tom Dörr 224 Jan 07, 2023
useful files for the Freenove Big Hexapod

FreenoveBigHexapod useful files for the Freenove Big Hexapod HexaDogPos is a utility for converting the Freenove xyz co-ordinate system to servo angle

Alex 2 May 28, 2022
RMfuse provides access to your reMarkable Cloud files in the form of a FUSE filesystem

RMfuse provides access to your reMarkable Cloud files in the form of a FUSE filesystem. These files are exposed either in their original format, or as PDF files that contain your annotations. This le

Robert Schroll 82 Nov 24, 2022
A simple bulk file renamer, written in python.

Python File Editor A simple bulk file renamer, written in python. There are two functions, the bulk rename and the bulk file extention change. Bulk Fi

Sam Bloomfield 2 Dec 22, 2021
A python script generate password files in plain text

KeePass (or any desktop pw manager?) Helper WARNING: This script will generate password files in plain text. ITS NOT SECURE. I needed help remembering

Eric Thomas 1 Nov 21, 2021
ZipFly is a zip archive generator based on zipfile.py

ZipFly is a zip archive generator based on zipfile.py. It was created by Buzon.io to generate very large ZIP archives for immediate sending out to clients, or for writing large ZIP archives without m

Buzon 506 Jan 04, 2023
csv2ir is a script to convert ir .csv files to .ir files for the flipper.

csv2ir csv2ir is a script to convert ir .csv files to .ir files for the flipper. For a repo of .ir files, please see https://github.com/logickworkshop

Alex 38 Dec 31, 2022
Object-oriented file system path manipulation

path (aka path pie, formerly path.py) implements path objects as first-class entities, allowing common operations on files to be invoked on those path

Jason R. Coombs 1k Dec 28, 2022
Extract the windows major and minor build numbers from an ISO file, and automatically sort the iso files.

WindowsBuildFromISO Extract the windows major and minor build numbers from an ISO file, and automatically sort the iso files. Features Parse multiple

Podalirius 9 Nov 09, 2022
Vericopy - This Python script provides various usage modes for secure local file copying and hashing.

Vericopy This Python script provides various usage modes for secure local file copying and hashing. Hash data is captured and logged for paths before

15 Nov 05, 2022
A tiny Configuration File Parser for Python Projects

A tiny Configuration File Parser for Python Projects. Currently working on JSON Config Files only.

Tanmoy Sen Gupta 1 Feb 12, 2022
A simple library for temporary storage of small files

TemporaryStorage An simple library for temporary storage of small files. Navigation Install Usage In Python console As a standalone application List o

2 Apr 17, 2022
BOOTH宛先印刷用CSVから色々な便利なリストを作成してCSVで出力するプログラムです。

BOOTH注文リスト作成スクリプト このPythonスクリプトは、BOOTHの「宛名印刷用CSV」から、 未発送の注文 今月の注文 特定期間の注文 を抽出した上で、各注文を商品毎に一覧化したCSVとして出力するスクリプトです。 簡単な使い方 ダウンロード 通常は、Relaseから、booth_ord

hinananoha 1 Nov 28, 2021
Various technical documentation, in electronically parseable format

a-pile-of-documentation Various technical documentation, in electronically parseable format. You will need Python 3 to run the scripts and programs in

Jonathan Campbell 2 Nov 20, 2022