Skip to main content

Disk image mounting via udisksctl (Linux)

Project description

mount-image-udisks

Disk image mounting via udisksctl (Linux).

PyPI version Python License OS

CI codecov

Quick start

from mount_image_udisks 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

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_udisks-0.1.0.tar.gz (15.8 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_udisks-0.1.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mount_image_udisks-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ac44e022fcce224fbaf684c80e49c0f94127161fea64612b819d8bc9859e84dd
MD5 17b928bde523e32e4eaeb94e76aa5dd7
BLAKE2b-256 3681d03dee699a3a6ccd24582f6b08b00bdbbd359773af1c55f187123bf7ff34

See more details on using hashes here.

Provenance

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

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

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_udisks-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mount_image_udisks-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c72f36f85f9b1881f09827ab80748cca20800e75c318eeb4ffdefe8b67c88f1
MD5 5ed9e5e8eeef03752be5eacf742b5b51
BLAKE2b-256 4954d580bfd4b2a9b10d0b99693a0e91d6d91c9f6c8b7621b4d76fcc04791c91

See more details on using hashes here.

Provenance

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

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

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