Skip to main content

This python module provides support for retrieving mount information and assists in mounting and unmounting.

Project description

jk_mounting

Introduction

This python module provides support for retrieving mount information and assists in mounting and unmounting.

Information about this module can be found here:

How to use this module

Import

To import this module use the following statement:

import jk_mounting

Retrieve Information

In order to get information about what kind of devices are mounted, use the following command:

mounter = jk_mounting.Mounter()

for mi in mounter.getMountInfos(isRegularDevice = True):
	print(mi)

Mount a Device

To mount a device you can use the following command:

mounter = jk_mounting.Mounter()

mounter.mount("/dev/sdd1", "/mnt")

Contact Information

This is Open Source code. That not only gives you the possibility of freely using this code it also allows you to contribute. Feel free to contact the author(s) of this software listed below, either for comments, collaboration requests, suggestions for improvement or reporting bugs:

License

This software is provided under the following license:

  • Apache Software License 2.0

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

jk_mounting-0.2025.7.12.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

jk_mounting-0.2025.7.12-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file jk_mounting-0.2025.7.12.tar.gz.

File metadata

  • Download URL: jk_mounting-0.2025.7.12.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for jk_mounting-0.2025.7.12.tar.gz
Algorithm Hash digest
SHA256 3ff0437b2197c8b7ed426cc937715c02845a888e1b3d5eabaf9084aafcc9f05e
MD5 23cdb19614e3f0beeadf153eb20b5a17
BLAKE2b-256 451b7f3852c9a2f8df301bee7b92ac5519c7d17b1b62c4e84b9b68f9188d2e49

See more details on using hashes here.

File details

Details for the file jk_mounting-0.2025.7.12-py3-none-any.whl.

File metadata

File hashes

Hashes for jk_mounting-0.2025.7.12-py3-none-any.whl
Algorithm Hash digest
SHA256 6f7af708204ff3d210d5f3ae0f476795b4dca2a40392bb0750b2986a5f0a29a5
MD5 b1853c32c8f1ecbe4340aa9c8547f10b
BLAKE2b-256 fc9df7d5c436f7f4085d0d878b05fd2f376691fa3846c141fb23abfcb6e043a4

See more details on using hashes here.

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