{ "info": { "author": "Ranger Harke", "author_email": "ranger.harke@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: MacOS X", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Utilities to work with disks on macOS\n\nSpecifics\n=========\n\nThis library provides some functions for working with disks and mountpoints on macOS. It can\nenumerate block devices and look up the mount points for attached media.\n\nThe code is tested with Python 2.7 and 3.6.\n\nRequirements\n============\n\nMy macOS API binding library ``rh.osx`` is required.\n\nExamples\n========\n\n >>> import rh.osxdiskutils\n >>> all_drives = rh.osxdiskutils.find_block_devices()\n >>> for drive in all_drives:\n ... all_media = rh.osxdiskutils.find_media(drive)\n ... for media in all_media:\n ... bsd_name = rh.osxdiskutils.get_bsd_name(media)\n ... mount_point = rh.osxdiskutils.get_mount_point(bsd_name)\n ... if mount_point:\n ... print(bsd_name, mount_point)\n ...\n disk1 /\n disk6 /Volumes/Storage\n disk8 /Volumes/Storage2\n disk7 /Volumes/Storage3\n\nLicense\n=======\n\nThis library is distributed under the MIT license, as described in the LICENSE file.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/rharke/rh.osxdiskutils", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "rh.osxdiskutils", "package_url": "https://pypi.org/project/rh.osxdiskutils/", "platform": "", "project_url": "https://pypi.org/project/rh.osxdiskutils/", "project_urls": { "Homepage": "http://github.com/rharke/rh.osxdiskutils" }, "release_url": "https://pypi.org/project/rh.osxdiskutils/0.1/", "requires_dist": null, "requires_python": "", "summary": "Utilities to work with disks on macOS", "version": "0.1" }, "last_serial": 2958556, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "72d9d79bca399c6da6dee9bd5d190c23", "sha256": "597194e03693cc35dc90b8a75c52bccd2a50847b81dd0de2719962c015ab6e01" }, "downloads": -1, "filename": "rh.osxdiskutils-0.1.tar.gz", "has_sig": false, "md5_digest": "72d9d79bca399c6da6dee9bd5d190c23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3152, "upload_time": "2017-06-19T04:11:55", "url": "https://files.pythonhosted.org/packages/c5/74/63fca3dc1010194c35c1c45970298c2e1faa35b675dc222b9889b3127e87/rh.osxdiskutils-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "72d9d79bca399c6da6dee9bd5d190c23", "sha256": "597194e03693cc35dc90b8a75c52bccd2a50847b81dd0de2719962c015ab6e01" }, "downloads": -1, "filename": "rh.osxdiskutils-0.1.tar.gz", "has_sig": false, "md5_digest": "72d9d79bca399c6da6dee9bd5d190c23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3152, "upload_time": "2017-06-19T04:11:55", "url": "https://files.pythonhosted.org/packages/c5/74/63fca3dc1010194c35c1c45970298c2e1faa35b675dc222b9889b3127e87/rh.osxdiskutils-0.1.tar.gz" } ] }