Skip to main content

mount-image-sudo

Disk image mounting via sudo losetup + mount (Linux).

PyPI version Python License OS

CI codecov

Quick start

from mount_image_sudo import mount_image, umount_image

device, mount_point = mount_image('/path/to/disk.img')
print(f'Mounted {device} at {mount_point}')
umount_image(device, mount_point)

API

  • mount_image(path, fstype='exfat', options=None) → (device, mount_point)
  • umount_image(device, mount_point=None)
  • attach_image(path) → device
  • detach_image(device)

License

GPL-3.0-only

Metadata

Release files for mount-image-sudo 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 mount-image-sudo 0.1.0
File Size Uploaded Provenance Actions
mount_image_sudo-0.1.0.tar.gz 15.7 kB With provenance Details for mount_image_sudo-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 31.0 kB

Release files / mount_image_sudo-0.1.0.tar.gz

Download URL mount_image_sudo-0.1.0.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a23e190f775dc0e1a71df121d5bf04ce44ddfb9002818731246c67706e158091
BLAKE2b-256 checksum
How to use checksums
ca9870225b5ca1c1bb82aacf599fc12911737430ad4acb4a6a4af8dbcab4f007
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_image_sudo-0.1.0-py3-none-any.whl

Download URL mount_image_sudo-0.1.0-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ab0fbc277617ba706f83d6f814471e75ebebce6cdb235b724d875c28fa05a8a
BLAKE2b-256 checksum
How to use checksums
977f976f468f5cd48c28725e72bbc48022de10fe9ad6d2936f9d64b7db89c2bf
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-image-sudo 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 mount_image_sudo-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 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.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