Skip to main content

Disk image mounting via guestmount / libguestfs (Linux)

Project description

mount-image-guestmount

Disk image mounting via guestmount / libguestfs (Linux).

PyPI version Python License OS

CI codecov

Quick start

from mount_image_guestmount import mount_image, umount_image

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

API

  • mount_image(path, fstype='exfat', options=None)(mount_point, mount_point)
  • umount_image(mount_point, mount_point=None)
  • attach_image(path)device (delegates to mount-image-sudo)
  • detach_image(device) (delegates to mount-image-sudo)

License

GPL-3.0-only

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mount_image_guestmount-0.1.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mount_image_guestmount-0.1.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file mount_image_guestmount-0.1.0.tar.gz.

File metadata

  • Download URL: mount_image_guestmount-0.1.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mount_image_guestmount-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d1062b548f99182c104a5f587619f12db72244d9632c893c64f505421006e452
MD5 d48a36f7ebf3027234071b822f641cb5
BLAKE2b-256 90c4e511ece39d87777806b119c221c592011ab6dd4cb663508f6adad323201d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mount_image_guestmount-0.1.0.tar.gz:

Publisher: publish.yml on MBanucu/mount-image-guestmount

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mount_image_guestmount-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mount_image_guestmount-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f349f87e8214d1e110211500d1de9dd3b35bbc37b746dd9aa8dea64276797b0
MD5 b062cd4c2bbd0da673696504568a9bd5
BLAKE2b-256 7e2f66cbba8ab9e5476f197b3489498dc184a71ba0835b91453c468688d02262

See more details on using hashes here.

Provenance

The following attestation bundles were made for mount_image_guestmount-0.1.0-py3-none-any.whl:

Publisher: publish.yml on MBanucu/mount-image-guestmount

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page