shred
Help the project financially:
- Donate: https://smartlegion.github.io/donate/
- Yandex Money: https://yoomoney.ru/to/4100115206129186
- PayPal: https://paypal.me/smartlegioner
- LiberaPay: https://liberapay.com/smartlegion/donate
- Visa: 4048 0250 0089 5923
Short description:
shred - A cross-platform library for securely deleting files beyond recovery.
Author and developer: Aleksandr Suvorov (Smart Legion).
Supported:
- Linux: All
- Windows: 7/8/10
- Termux on Android
Requirements:
- Python 3.6+
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%!
Links:
- Github: https://github.com/smartlegion/
- Url: https://smartlegion.github.io/
- PyPi: https://pypi.org/user/smartlegion/
- Donate: https://smartlegion.github.io/donate/
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.
==========================================================