rawblock-io
Raw block device I/O with automatic strategy fallback and cross-platform device/mount point resolution.
Features
- Pluggable I/O strategies — tries direct access first, falls back
through loop-device backing file to
sudo dd DirectIOStrategy—os.pread/os.pwriteon regular files and accessible block devicesBackingFileStrategy— resolves loop-device backing files (/sys/block,losetup, orhdiutilon macOS)DDStrategy—sudo ddfallback for physical block devicesresolve_device— find the underlying block device for any file path (Linux/proc/partitions+/sys/dev/block, macOShdiutil)resolve_mount_point— find the mount point for any file path (Linuxfindmnt, macOSdf)
Quick start
from rawblock_io import RawBlockIO, resolve_device
io = RawBlockIO()
device = resolve_device('/some/file')
data = io.read(device, 0, 512) # read first sector
License
GPL-3.0-only
Metadata
Release files for rawblock-io 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rawblock_io-0.2.0.tar.gz | 23.3 kB | With provenance | Details for rawblock_io-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rawblock_io-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for rawblock_io-0.2.0-py3-none-any.whl |
Total release size: 44.9 kB
Release files / rawblock_io-0.2.0.tar.gz
| Download URL | rawblock_io-0.2.0.tar.gz |
|---|---|
| Size | 23.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b17d9f60a7fb1586dce97dceeaacfbd52c64ecb976eeaa1e735577f24de4df9
|
|
BLAKE2b-256 checksum How to use checksums |
95af5b8a4a86bea5a21a72212f0699aef7b92ef4e2bd89b3a46664e663909fc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.
Transparency logRelease files / rawblock_io-0.2.0-py3-none-any.whl
| Download URL | rawblock_io-0.2.0-py3-none-any.whl |
|---|---|
| Size | 21.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c819b2525952c1f33209721a906e30367285b4551f9ddad866043cadef64118
|
|
BLAKE2b-256 checksum How to use checksums |
525e09dd0f9f53ac9bd21e09ab75004aacbf58bcc001f08a9f1923d1b76dfd46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.
Transparency logSecurity for rawblock-io 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rawblock_io-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.