{ "info": { "author": "Karl Josef Wisdom", "author_email": "k.j.hirner.wisdom@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3" ], "description": "# pyHardware\na rewrite of python-hwinfo to support python3\n\nTo get dmidecode info, you will need sudo/root, as well as the related package that installs ```dmidecode``` for your Linux Distribution.\n\n```python\nfrom hw import dmidecode_reader\n\ndmidcode_data=dmidecode_reader.getDmidecode().parsed\n#get bios info from data\nbios_info={i:dmidecode_data[i] for i in dmidecode_data.keys() if i.endswith('bios_info')}\n```\n\nTo get cpu information.\n\n```python\nfrom hw import cpu_reader\ncpu_data=cpu_reader.getCpu().parsed\n```\n\nTo get PCI information you will need the related package that installs ```lspci```.\n\n```python\nfrom hw import lspci_reader\nlspci_data=lspci_reader.getLspci().parsed\n```\n\nThe resulting data from each generated will be a dictionary of the desired data.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/deskos-xp/pyHardware", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "phw", "package_url": "https://pypi.org/project/phw/", "platform": "", "project_url": "https://pypi.org/project/phw/", "project_urls": { "Homepage": "https://github.com/deskos-xp/pyHardware" }, "release_url": "https://pypi.org/project/phw/0.1/", "requires_dist": null, "requires_python": "", "summary": "A lspci/lscpu/dmidecode cmd parser to get hardware info", "version": "0.1" }, "last_serial": 5310983, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a5f50bf025d623bf504bf960d52f30ba", "sha256": "f4e8efd9ef5a764dfd52a8e554c5536c81c0c937bc38e310dd37c8f8e86718f4" }, "downloads": -1, "filename": "phw-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a5f50bf025d623bf504bf960d52f30ba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10629, "upload_time": "2019-05-24T06:08:09", "url": "https://files.pythonhosted.org/packages/4a/f7/dc7ecbc7ddf44eb01f52fb07d11797f1e063e82d2e6c861bdbf04221ec16/phw-0.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a5f50bf025d623bf504bf960d52f30ba", "sha256": "f4e8efd9ef5a764dfd52a8e554c5536c81c0c937bc38e310dd37c8f8e86718f4" }, "downloads": -1, "filename": "phw-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a5f50bf025d623bf504bf960d52f30ba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10629, "upload_time": "2019-05-24T06:08:09", "url": "https://files.pythonhosted.org/packages/4a/f7/dc7ecbc7ddf44eb01f52fb07d11797f1e063e82d2e6c861bdbf04221ec16/phw-0.1-py3-none-any.whl" } ] }