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)
Swiss army knife for Apple's .tbd file manipulation

Description Inspired by tbdswizzler, this simple python tool for manipulating Apple's .tbd format. Installation python3 -m pip install --user -U pytbd

10 Aug 31, 2022
Utils for streaming large files (S3, HDFS, gzip, bz2...)

smart_open — utils for streaming large files in Python What? smart_open is a Python 3 library for efficient streaming of very large files from/to stor

RARE Technologies 2.7k Jan 06, 2023
Generates a clean .txt file of contents of a 3 lined csv file

Generates a clean .txt file of contents of a 3 lined csv file. File contents is the .gml file of some function which stores the contents of the csv as a map.

Alex Eckardt 1 Jan 09, 2022
This python project contains a class FileProcessor which allows one to grab a file and get some meta data and header information from it

This python project contains a class FileProcessor which allows one to grab a file and get some meta data and header information from it. In the current state, it outputs a PrettyTable to txt file as

Joshua Wren 1 Nov 09, 2021
A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".

the problem What directory should your app use for storing user data? If running on macOS, you should use: ~/Library/Application Support/AppName If

ActiveState Software 948 Dec 31, 2022
Small-File-Explorer - I coded a small file explorer with several options

Petit explorateur de fichier / Small file explorer Pour la première option (création de répertoire) / For the first option (creation of a directory) e

Xerox 1 Jan 03, 2022
MetaMove is written in Python3 and aims at easing batch renaming operations based on file meta data.

MetaMove MetaMove is written in Python3 and aims at easing batch renaming operations based on file meta data. MetaMove abuses eval combined with f-str

Jan Philippi 2 Dec 28, 2021
A Certificate renaming tool made for IEEE CS SBC, SJCE.

PDF Batch Renamer Made for IEEE CS SBC, SJCE How to use? Before using the python script, ensure that pytesseract, pdf2image, opencv and other supporti

Ashwin Kumar U 2 Nov 14, 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
Add Ranges and page numbers to IIIF Manifest from a CSV.

Add Ranges and page numbers to IIIF Manifest from CSV specific to a workflow of the Bibliotheca Hertziana.

Raffaele Viglianti 3 Apr 28, 2022
A file utility for accessing both local and remote files through a unified interface.

A file utility for accessing both local and remote files through a unified interface.

AI2 19 Nov 16, 2022
A tiny Python library for writing multi-channel TIFF stacks.

xtiff A tiny Python library for writing multi-channel TIFF stacks. The aim of this library is to provide an easy way to write multi-channel image stac

23 Dec 27, 2022
A python script to pull the transactions of an Algorand wallet and put them into a CSV file.

AlgoCSV A python script to pull the transactions of an Algorand wallet and put them into a CSV file. Dependancies: Requests Main features: Groups: Com

21 Jun 25, 2022
Pti-file-format - Reverse engineering the Polyend Tracker instrument file format

pti-file-format Reverse engineering the Polyend Tracker instrument file format.

Jaap Roes 14 Dec 30, 2022
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

31 Nov 17, 2022
Python package to read and display segregated file names present in a directory based on type of the file

tpyfilestructure Python package to read and display segregated file names present in a directory based on type of the file. Installation You can insta

Tharun Kumar T 2 Nov 28, 2021
Listreqs is a simple requirements.txt generator. It's an alternative to pipreqs

⚡ Listreqs Listreqs is a simple requirements.txt generator. It's an alternative to pipreqs. Where in Pipreqs, it helps you to Generate requirements.tx

Soumyadip Sarkar 4 Oct 15, 2021
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
QSynthesis is a Python3 API to perform I/O based program synthesis of bitvector expressions.

QSynthesis is a Python3 API to perform I/O based program synthesis of bitvector expressions. It aims at facilitating code deobfuscation. The algorithm is greybox approach combining both a blackbox I/

Quarkslab 103 Dec 30, 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