Skip to main content

mount-resolve

PyPI version Python License OS

CI codecov

Downloads total Downloads/month Downloads/week

Cross-platform block device and mount point resolution from file paths.

Features

  • resolve_device — find the underlying block device for any file path (Linux /proc/partitions + /sys/dev/block, macOS hdiutil)
  • resolve_mount_point — find the mount point for any file path (Linux findmnt, macOS df)
  • resolve — combined call returning (device, mount_point, fstype)

Quick start

from mount_resolve import resolve, resolve_device, resolve_mount_point

# Combined — get device, mount point, and filesystem type in one call
info = resolve('/some/file')
# ('/dev/sda1', '/', 'ext4')

# Individual
device = resolve_device('/some/file')
mount = resolve_mount_point('/some/file')

License

GPL-3.0-only

Metadata

Release files for mount-resolve 0.2.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 mount-resolve 0.2.0
File Size Uploaded Provenance Actions
mount_resolve-0.2.0.tar.gz 17.1 kB With provenance Details for mount_resolve-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mount-resolve 0.2.0
File Interpreter ABI Platform Actions
mount_resolve-0.2.0-py3-none-any.whl Python 3 none any Details for mount_resolve-0.2.0-py3-none-any.whl

Total release size: 34.3 kB

Release files / mount_resolve-0.2.0.tar.gz

Download URL mount_resolve-0.2.0.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
86685d74331fabbb8a688336394169a806250490c9e05410f68114ba7ce0dfaa
BLAKE2b-256 checksum
How to use checksums
51970e84f13fb172efa68e28429c211fe97b905bfe9015dd71996a0147c4e41f
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 log

Release files / mount_resolve-0.2.0-py3-none-any.whl

Download URL mount_resolve-0.2.0-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f717f32e0cdd40196a7dcbe797b512ab336209056d10cd94be2d7c0fa1e35e63
BLAKE2b-256 checksum
How to use checksums
e6c4df7fa5c41d87f2e26afdee19995bc909536d6fefa59b43b97b76026ceb28
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 log

Security for mount-resolve 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.

Select from 2 files

Attestation for mount_resolve-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 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.2.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