Skip to main content

mft to parquet (pyarrow dtypes)

Tested against Windows 10 / Python 3.11 / Anaconda

pip install mft2parquet

Reads HDD (Hard Disk Drive) information from a specified drive and returns it as a pandas DataFrame.

Args:
drive (str, optional): The drive path to read from. Default is "c:\\".
outputfile (str, optional): If provided, the DataFrame will be saved as a Parquet file at this path.
					  Default is None.

Returns:
pd.DataFrame: A DataFrame with pyarrow dtypes containing HDD information with the specified columns.

Raises:
subprocess.CalledProcessError: If the external command fails to execute.

Note:
- This function uses an external command-line utility https://github.com/githubrobbi/Ultra-Fast-File-Search to retrieve HDD information.
- The DataFrame will have the following columns:
- aa_path
- aa_name
- aa_path_only
- aa_size
- aa_size_on_disk
- aa_created
- aa_last_written
- aa_last_accessed
- aa_descendents
- aa_read-only
- aa_archive
- aa_system
- aa_hidden
- aa_offline
- aa_not_content_indexed_file
- aa_no_scrub_file
- aa_integrity
- aa_pinned
- aa_unpinned
- aa_directory_flag
- aa_compressed
- aa_encrypted
- aa_sparse
- aa_reparse
- aa_attributes

Example:
df = read_hdd(drive="d:\\", outputfile="hdd_info.parquet")
# Reads HDD information from the 'D:' drive and saves it as 'hdd_info.parquet'.

Metadata

Release files for mft2parquet 0.11

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

Source distribution (sdist)

Source distribution for mft2parquet 0.11
File Size Uploaded Provenance Actions
mft2parquet-0.11.tar.gz 679.2 kB Without provenance Details for mft2parquet-0.11.tar.gz

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / mft2parquet-0.11.tar.gz

Download URL mft2parquet-0.11.tar.gz
Size 679.2 kB
Tags Source
SHA-256 checksum
How to use checksums
38eb1b4fea7f7397809d3cf1dba04afee50a6151bff7b5e9c3d3e02222147761
BLAKE2b-256 checksum
How to use checksums
89803ad5d0ae0df238fcc0108cb5531012047741a1f0a6aec23862f6989e16f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / mft2parquet-0.11-py3-none-any.whl

Download URL mft2parquet-0.11-py3-none-any.whl
Size 681.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7bcad862194241311b99cc0e571a03ebebdf0493d164cbef0358096ce718ecb
BLAKE2b-256 checksum
How to use checksums
5b611ce7c4389039c4ff723171dc32e0c0c996f34fa3a4a0a30dfd8717308516
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for mft2parquet 0.11

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.11 This release

2 release files No 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