Python implementation of shred. Calls into port of github.com/rozbb/rust-shred using Py03
Project description
This project
See github.com/rozbb/rust-shred
I merely modernized it, since the original code is from >10 years ago and some langauge features have broken.
I also made it callable from python using Py03.
Example Usage
from test_stuff import shred
from pathlib import Path
f = Path("./secrets")
f.write_text("My password is foo123!")
shred(
path: f,
n_passes: 3,
remove: True,
size: None,
exact: True,
zero: True,
verbose: True,
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
file_shredder-0.1.1.tar.gz
(14.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file file_shredder-0.1.1.tar.gz.
File metadata
- Download URL: file_shredder-0.1.1.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
707c7c275c80d4f66e9182494081943be2b83fbe8c079f8bcb37d0f0eb2bd1a0
|
|
| MD5 |
c74fe1ea5fb748ecc416250e8ec353b4
|
|
| BLAKE2b-256 |
2e3a93fa2b02fdc7a8faf7f84eb73816d695b9f893fc66924a93d3745af441bd
|
File details
Details for the file file_shredder-0.1.1-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: file_shredder-0.1.1-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 232.5 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df229908167bbedc48e32ea05e7048ab4161a9857026d57d85671aead9c22d8f
|
|
| MD5 |
3c3ec3908c12ce0b9cb059ef552adcef
|
|
| BLAKE2b-256 |
dceb79888853ace51fd632d2dd5cb9ff3b42576b64e548987c137bc77b72f5b0
|