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)
FileGenerator - File Generator for sites that accepts documents

File Generator for sites that accepts documents This code generates files as per

Shaunak 2 Mar 19, 2022
CSV To VCF (Multiples en un archivo)

CSV To VCF Convierte archivo CSV a Tarjeta VCF (varias en una) How to use En main.py debes reemplazar CONTACTOS.csv por tu archivo csv, y debes respet

Jorge Ivaldi 2 Jan 12, 2022
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
Here is some Python code that allows you to read in SVG files and approximate their paths using a Fourier series.

Here is some Python code that allows you to read in SVG files and approximate their paths using a Fourier series. The Fourier series can be animated and visualized, the function can be output as a tw

Alexander 12 Jan 01, 2023
Ini adalah program python untuk mengubah background foto dalam 1 folder, tidak perlu satu satu

Myherokuapp my web drive You can see my web drive and can request film/Application do you want in here my blog you can visit my blog RemBg ini adalah

XnuxersXploitXen 13 Dec 01, 2022
Simple archive format designed for quickly reading some files without extracting the entire archive

Simple archive format designed for quickly reading some files without extracting the entire archive

Jarred Sumner 336 Dec 30, 2022
Python function to stream unzip all the files in a ZIP archive: without loading the entire ZIP file or any of its files into memory at once

Python function to stream unzip all the files in a ZIP archive: without loading the entire ZIP file or any of its files into memory at once

Department for International Trade 206 Jan 02, 2023
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
An universal file format tool kit. At present will handle the ico format problem.

An universal file format tool kit. At present will handle the ico format problem.

Sadam·Sadik 1 Dec 26, 2021
Organize the files into the relevant sub-folders

This program can be used to organize files in a directory by their file extension. And move duplicate files to a duplicates folder.

Thushara Thiwanka 2 Dec 15, 2021
Better directory iterator and faster os.walk(), now in the Python 3.5 stdlib

scandir, a better directory iterator and faster os.walk() scandir() is a directory iteration function like os.listdir(), except that instead of return

Ben Hoyt 506 Dec 29, 2022
PaddingZip - a tool that you can craft a zip file that contains the padding characters between the file content.

PaddingZip - a tool that you can craft a zip file that contains the padding characters between the file content.

phithon 53 Nov 07, 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
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

Ariel Jungheit 18 Feb 03, 2022
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
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 module to parse text files with contains secret variables.

A python module to parse text files with contains secret variables.

0 Dec 05, 2022
Convert All TXT Files To One File.

AllToOne Convert All TXT Files To One File. Hi 👋 , I'm Alireza A Python Developer Boy 🔭 I’m currently working on my C# projects 🌱 I’m currently Lea

4 Jun 07, 2022
Kartothek - a Python library to manage large amounts of tabular data in a blob store

Kartothek - a Python library to manage (create, read, update, delete) large amounts of tabular data in a blob store

15 Dec 25, 2022
pytiff is a lightweight library for reading chunks from a tiff file

pytiff is a lightweight library for reading chunks from a tiff file. While it supports other formats to some extend, it is focused on reading tiled greyscale/rgb images, that can also be bigtiffs. Wr

Big Data Analytics group 9 Mar 21, 2022