Skip to main content

checkdisk

A self-contained, pure-Python NTFS repair tool — the parts of chkdsk /f that matter for a crashed volume (dangling dirents, torn indexes, lost files, torn truncates, $Bitmap, $Secure, the USN journal).

checkdisk uses a native read/write engine that parses and rewrites on-disk NTFS structures directly, with multi-sector fixups and plan-then-commit atomicity.

Install

pip install checkdisk       

Or skip installing — checkdisk.py is self contained

Quick start

checkdisk works on the raw (unmounted) device or an image file — never through a mount:

checkdisk list                        # find NTFS partitions (mounts nothing)
sudo umount /mnt/point                # get off the volume first
sudo setfacl -m u:$USER:rw /dev/sdXN  # or run the tool with sudo
checkdisk /f /dev/sdXN                # dry run: reports, writes nothing
checkdisk /f /dev/sdXN --really       # repair (each fix re-verified)
checkdisk /f /dev/sdXN                # confirm: expect 0 remaining

/r adds the full surface read. Running from the repo instead: python checkdisk.py /f ... — identical.

Metadata

Release files for checkdisk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for checkdisk 0.1.0
File Size Uploaded Provenance Actions
checkdisk-0.1.0.tar.gz 242.8 kB With provenance Details for checkdisk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for checkdisk 0.1.0
File Interpreter ABI Platform Actions
checkdisk-0.1.0-py3-none-any.whl Python 3 none any Details for checkdisk-0.1.0-py3-none-any.whl

Total release size: 297.1 kB

Release files / checkdisk-0.1.0.tar.gz

Download URL checkdisk-0.1.0.tar.gz
Size 242.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6213cfb227d6be2211983ee488b7113f5bc6ed6e4f23c97101d7693169296616
BLAKE2b-256 checksum
How to use checksums
f68caba10e23dd59c9a167405eec1e2c4b543ac046b13b8c435f66835e91647d
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 Jul 19, 2026.

Transparency log

Release files / checkdisk-0.1.0-py3-none-any.whl

Download URL checkdisk-0.1.0-py3-none-any.whl
Size 54.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df4ab630a8f80de59886b17fe6ed485fa3bc0d55bb253c1492b91d5b616459cc
BLAKE2b-256 checksum
How to use checksums
1b59c2e2f79dae626a1780eb4194ec2fa2c59472c22375c9fc261e515b743d7a
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 Jul 19, 2026.

Transparency log

Security for checkdisk 0.1.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.

Select from 2 files

Attestation for checkdisk-0.1.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 Jul 19, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page