{ "info": { "author": "Hamish McIntyre-Bhatty", "author_email": "hamishmb@live.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: MacOS X", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Utilities" ], "description": "# getdevinfo\n\nThis repository holds my new getdevinfo module. This module was originally integreted directly into the source code of Wine Autostart, DDRescue-GUI, and WxFixBoot, but has now been separated for ease of maintenance. Because it's on GitLab (https://gitlab.com/hamishmb/getdevinfo) and on PyPI (the Python Package Index) (https://pypi.org/project/getdevinfo/), and released under the GPLv3+, this means other people can use it too.\n\nDescription of Package\n======================\nA device information gatherer for Linux and macOS.\n\nWorking on both Linux and macOS, this script makes use of lshw, lvdisplay, and blkid (Linux), as well as diskutil (macOS) to get a comprehensive amount of disk information. This information is available in a structured dictionary for ease of use.\n\nFeatures:\n---------\n\nUses the operating system\\'s built-in tools to gather lots of helpful information about disks connected to the system. This is returned as a hierarchical python dictionary. For the full details on the format, read the documentation here: https://www.hamishmb.com/html/Docs/getdevinfo.php\n\nDependencies:\n-------------\n\nOn Linux it requires lshw, blkid, lvdisplay, and blockdev to be installed. On Linux, you need the beautifulsoup4 (bs4), and lxml python packages to use this tool. On macOS, nothing beyond a standard python2.x/python3.x install is required, but you still need bs4 and lxml if you want to install using the python wheel/through pip.\n\nBuilding\n========\n\nSource Distribution\n-------------------\n\nRun:\n\n\"python setup.py sdist\"\n\nWheels\n------\n\nMake sure you've installed the \"wheel\" package:\n\n\"pip/pip3 install wheel\"\n\nUniversal Wheel\n---------------\n\nThis tool runs unmodified on both python 3 and 2, so this is the recommended choice.\n\n\"python setup.py bdist_wheel --universal\"\n\nPure Python Wheel\n-----------------\n\nNot sure why you'd do this, but you can run:\n\n\"python2/python3 setup.py bdist_wheel\"\n\nto acheive this if you want.\n\n\nDistribution Packages\n=====================\n\nYou can find these at https://www.launchpad.net/getdevinfo or https://www.hamishmb.com/html/downloads.php?program_name=getdevinfo.\n\nDocumentation\n=============\nThis can be found at https://www.hamishmb.com/html/Docs/getdevinfo.php.\n\nRunning The Tests\n=================\n\nThese have to be run as the superuser, because low-level access to hardware is required to gather information.\n\nThe process for running these is the same on both Linux and macOS. It can be done on both Python 2 and Python 3.\n\nWithout Coverage Reporting\n--------------------------\nChange directory to the getdevinfo subfolder, and run:\n\n\"sudo python3 ./tests.py\"\n\nor:\n\n\"sudo python2 ./tests.py\"\n\nWith Coverage Reporting\n-----------------------\nMake sure you have installed Coverage.py using pip or your package manager.\n\nChange directory to the getdevinfo subfolder, and run:\n\n\"sudo python3 -m coverage run --rcfile=../.coveragerc ./tests.py\"\n\nor:\n\n\"sudo python2 -m coverage run --rcfile=../.coveragerc ./tests.py\"\n\nTo run the tests. Then run:\n\n\"sudo python3 -m coverage report\"\n\nor:\n\n\"sudo python2 -m coverage report\"\n\nTo see the report.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.hamishmb.com/", "keywords": "devices hardware", "license": "GPLv3+", "maintainer": "", "maintainer_email": "", "name": "getdevinfo", "package_url": "https://pypi.org/project/getdevinfo/", "platform": "", "project_url": "https://pypi.org/project/getdevinfo/", "project_urls": { "Homepage": "https://www.hamishmb.com/" }, "release_url": "https://pypi.org/project/getdevinfo/1.0.6/", "requires_dist": [ "bs4", "lxml" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "summary": "A device information gatherer for Linux and macOS", "version": "1.0.6" }, "last_serial": 5976873, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "a7a012d99246874678dc30e0c74dd7a3", "sha256": "19ae5165246b3f3415a8a670e7908cc1fdb324ec8f838bf9f96337fa2611e27f" }, "downloads": -1, "filename": "getdevinfo-1.0.0-py2-none-any.whl", "has_sig": true, "md5_digest": "a7a012d99246874678dc30e0c74dd7a3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 11947, "upload_time": "2017-09-02T12:57:50", "url": "https://files.pythonhosted.org/packages/64/b3/dc290c2267d6189637b928d2333523536a21752016e0c19295f011fff434/getdevinfo-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a85cd7981ec4dd7a56b0e236416ed892", "sha256": "e247acaf836c677528b67f1f3bd8318fd0609468f432227cea56e2012a263abb" }, "downloads": -1, "filename": "getdevinfo-1.0.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "a85cd7981ec4dd7a56b0e236416ed892", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 11950, "upload_time": "2017-09-02T12:58:05", "url": "https://files.pythonhosted.org/packages/89/bc/c38f817e0f6a14d18e3d1d8dddb68c1113626c2e37c33c2c99ce4ef6a882/getdevinfo-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "879c4e57b4ec3e29a229422313ee7ecd", "sha256": "4308cc674830536e285aa76ab7b5689965298a00534c2d933f42742b52641407" }, "downloads": -1, "filename": "getdevinfo-1.0.0.tar.gz", "has_sig": true, "md5_digest": "879c4e57b4ec3e29a229422313ee7ecd", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 8203, "upload_time": "2017-09-02T12:58:17", "url": "https://files.pythonhosted.org/packages/d7/8d/56966fd0019e6ae83ea22c6400aab3e86317db04deaa8538de7d0462869b/getdevinfo-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "b5d812844e77bbd5e3f274c99678db72", "sha256": "89e10c57fdae861478a5688ef262c7cca7164f4a46606092d4155f7cc945431e" }, "downloads": -1, "filename": "getdevinfo-1.0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "b5d812844e77bbd5e3f274c99678db72", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 26408, "upload_time": "2018-01-12T12:11:29", "url": "https://files.pythonhosted.org/packages/ca/b1/00fd6737fb1b0bc39722195e08a374eba0410652e870cbd50b8ff43e32d6/getdevinfo-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a269e30ddf13b18a307f5a0d2ba19b0c", "sha256": "dbdfaa3607dc4ca5853df31e192417c9fc1a0474d4ae9dda8f0045ee9bb0d401" }, "downloads": -1, "filename": "getdevinfo-1.0.1.tar.gz", "has_sig": true, "md5_digest": "a269e30ddf13b18a307f5a0d2ba19b0c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 17543, "upload_time": "2018-01-12T12:11:30", "url": "https://files.pythonhosted.org/packages/bc/05/a9634494e0a5bf22336b3238e478669c78910e3908f21d3702a265af6978/getdevinfo-1.0.1.tar.gz" } ], "1.0.1.post1": [ { "comment_text": "", "digests": { "md5": "8f66b4ed61b3ad5f9ec001a9a186df5b", "sha256": "939449616cadd29e1a63e4eb96de541fe23d7ad9bdcb901c57b05f4d4b8ba3fa" }, "downloads": -1, "filename": "getdevinfo-1.0.1.post1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "8f66b4ed61b3ad5f9ec001a9a186df5b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 26519, "upload_time": "2018-01-12T14:43:03", "url": "https://files.pythonhosted.org/packages/e5/6f/3a50f8da9a4612c276b06c60caa550dc102404c0481b043a35f4be64bc7b/getdevinfo-1.0.1.post1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "18c99b89bbeb5154f9dcaa4585fed082", "sha256": "8b6bc34521d364c93f72423127553f0658d5a59daeff63f79ff9e22ef9a90a7c" }, "downloads": -1, "filename": "getdevinfo-1.0.1.post1.tar.gz", "has_sig": true, "md5_digest": "18c99b89bbeb5154f9dcaa4585fed082", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 17578, "upload_time": "2018-01-12T14:43:05", "url": "https://files.pythonhosted.org/packages/c8/bf/63cbb83d8b3f320824d77f1ff154f6331ee35c884a37a3406947989b04fe/getdevinfo-1.0.1.post1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "2b0898ebbd97f129bde600bfc580e99d", "sha256": "46217bb9c23af1b6e25956d1ddaf588e3d44ed24e82494e06112d9a704089064" }, "downloads": -1, "filename": "getdevinfo-1.0.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "2b0898ebbd97f129bde600bfc580e99d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 26494, "upload_time": "2018-02-19T14:20:21", "url": "https://files.pythonhosted.org/packages/00/a1/5b1aa3defbfaadada092fb31bb376aec99e68c0d6cc608f5a65f048d8ca8/getdevinfo-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d4a42735ccde076c930459025fe32aa3", "sha256": "196253c4e3a9f45a49a93b4737b069df8468a4d9a4aefe60804a88da24c954f1" }, "downloads": -1, "filename": "getdevinfo-1.0.2.tar.gz", "has_sig": true, "md5_digest": "d4a42735ccde076c930459025fe32aa3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 17590, "upload_time": "2018-02-19T14:20:08", "url": "https://files.pythonhosted.org/packages/81/17/eacddd7ff25f806e666383f024f1d5c7b6854b7bb699b793e005df8e5647/getdevinfo-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "80590db5ffe2e6931fcb9a19d247f1ce", "sha256": "7c6fa149bf01541f24def4acf7515e388ef48ec6b687daa129740a4140b1fbf0" }, "downloads": -1, "filename": "getdevinfo-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "80590db5ffe2e6931fcb9a19d247f1ce", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 25803, "upload_time": "2018-09-10T14:16:19", "url": "https://files.pythonhosted.org/packages/1e/72/cfa64a0d52a35222feb985cb6265c08f4d0bd73c7017e8499353798c257c/getdevinfo-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4153eeb29eb16ceb511321389957ee55", "sha256": "930c368a5f5ee84f7a5cac240e1600c3630cc07788855648dcd7a247f2f29a05" }, "downloads": -1, "filename": "getdevinfo-1.0.3.tar.gz", "has_sig": false, "md5_digest": "4153eeb29eb16ceb511321389957ee55", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 19231, "upload_time": "2018-09-10T14:16:21", "url": "https://files.pythonhosted.org/packages/45/ff/fdac28325018a438663cbf73b6137299b1faedc8e51258d14e745be5bc24/getdevinfo-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "087fb1fac9f972a2ebc5e91a2577a84f", "sha256": "45c1b219474423e02d960ef282db1a4dba64d3478b88a224a4d3962963252b5f" }, "downloads": -1, "filename": "getdevinfo-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "087fb1fac9f972a2ebc5e91a2577a84f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 44381, "upload_time": "2018-10-18T13:19:30", "url": "https://files.pythonhosted.org/packages/8a/fe/f553878b2e56bf6411f05932c530dbfd4b723311112db7400822589cc744/getdevinfo-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6dc9fa8c52235b6b04a8cd16aecf7377", "sha256": "691e2a4154a7c9a7d9b7925b7f9d98854f392b4faabb786abe4a61584719bbdc" }, "downloads": -1, "filename": "getdevinfo-1.0.4.tar.gz", "has_sig": false, "md5_digest": "6dc9fa8c52235b6b04a8cd16aecf7377", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 24466, "upload_time": "2018-10-18T13:19:32", "url": "https://files.pythonhosted.org/packages/78/45/8835a4bc263dc37f16437b59a895de0b1d5c5f68ac1e4cbc3da4bfbed6b7/getdevinfo-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "67846f911f9b3389b7278327603691de", "sha256": "d7e1365308bbc895f9951eeb6ac5cf44c0f19e917205f9aafe2ca260c2d26328" }, "downloads": -1, "filename": "getdevinfo-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "67846f911f9b3389b7278327603691de", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 44326, "upload_time": "2019-02-13T15:26:20", "url": "https://files.pythonhosted.org/packages/fe/bf/e019a75af63a13fefe44bb980649b10e5da5f25e7d9896ff88ee77f022a3/getdevinfo-1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f56a96cc77aed4190be951934e5d70ab", "sha256": "1d43bcd0de504a04fe60463aabdae94482cee3a8d848a7a0821eca9ae6ad1e83" }, "downloads": -1, "filename": "getdevinfo-1.0.5.tar.gz", "has_sig": false, "md5_digest": "f56a96cc77aed4190be951934e5d70ab", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 24770, "upload_time": "2019-02-13T15:26:22", "url": "https://files.pythonhosted.org/packages/d5/ac/6c96ba4adda1b997e52981028d84ae3a5cb36d794f214b41ebf9f84638e6/getdevinfo-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "b5bcf6afe8328ef23a4202ce6c8f3e73", "sha256": "6e8b1ee2ac180c7b37d3268b3a4d76f0618c41dad922b6ede45fd4d57e8dbfdb" }, "downloads": -1, "filename": "getdevinfo-1.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "b5bcf6afe8328ef23a4202ce6c8f3e73", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 46428, "upload_time": "2019-10-15T13:05:25", "url": "https://files.pythonhosted.org/packages/43/c1/91bd7eff1c22b3de0f8f58f3c503a3e71e529755fbabba860af7c2b583be/getdevinfo-1.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "096ea7b5681141cc53fa814b0e013abc", "sha256": "f218761045b5ee9548681017ba50683026e825ce0ce9e74a1475196faa3ad5a1" }, "downloads": -1, "filename": "getdevinfo-1.0.6.tar.gz", "has_sig": false, "md5_digest": "096ea7b5681141cc53fa814b0e013abc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 27475, "upload_time": "2019-10-15T13:05:38", "url": "https://files.pythonhosted.org/packages/bb/dd/9254a8a3eac138adb9e443daa016a1bb69d7bc9a5eb52ce7b33123569dea/getdevinfo-1.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b5bcf6afe8328ef23a4202ce6c8f3e73", "sha256": "6e8b1ee2ac180c7b37d3268b3a4d76f0618c41dad922b6ede45fd4d57e8dbfdb" }, "downloads": -1, "filename": "getdevinfo-1.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "b5bcf6afe8328ef23a4202ce6c8f3e73", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 46428, "upload_time": "2019-10-15T13:05:25", "url": "https://files.pythonhosted.org/packages/43/c1/91bd7eff1c22b3de0f8f58f3c503a3e71e529755fbabba860af7c2b583be/getdevinfo-1.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "096ea7b5681141cc53fa814b0e013abc", "sha256": "f218761045b5ee9548681017ba50683026e825ce0ce9e74a1475196faa3ad5a1" }, "downloads": -1, "filename": "getdevinfo-1.0.6.tar.gz", "has_sig": false, "md5_digest": "096ea7b5681141cc53fa814b0e013abc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 27475, "upload_time": "2019-10-15T13:05:38", "url": "https://files.pythonhosted.org/packages/bb/dd/9254a8a3eac138adb9e443daa016a1bb69d7bc9a5eb52ce7b33123569dea/getdevinfo-1.0.6.tar.gz" } ] }