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

Downloads total Downloads/month Downloads/week

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)
  • umount_inner(device) — unmount only, used by the mount-image orchestrator
  • detach_inner(device) — detach only, used by the mount-image orchestrator

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.1.tar.gz (18.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.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mount_image_udisks-0.1.1.tar.gz
  • Upload date:
  • Size: 18.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.1.tar.gz
Algorithm Hash digest
SHA256 4ff6d314e15d818891fb04519914a08fb8ce18d07fa712d4e451f329048ac385
MD5 c480df469515ceaa41aa6480d26425bf
BLAKE2b-256 9d47a8c633e7cbd3435bac2b4102afb79800dbf6dbc59beb3f22cef32c61609a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mount_image_udisks-0.1.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mount_image_udisks-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ef55e4160e798392fdc1e5dd3a00082f174590515038f4ec556a4207918f9a4
MD5 55f25533ef970feecbded9fdddd65649
BLAKE2b-256 f7a4c2bc4d1e469681979a5953d725a60a13041770d6f7d921c0c4d5bb4aa441

See more details on using hashes here.

Provenance

The following attestation bundles were made for mount_image_udisks-0.1.1-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