# PyWDCKit - Python
UNOFFICIAL Python bindings for Western Digital's WDCKit drive utility
A package that allows you to utilize and get data from Western Digital's WDCKit drive utility.
To download WDCKit visit the [official page](https://support-en.wd.com/app/answers/detailweb/a_id/50708/~/wdckit-drive-utility-download-and-instructions-for-internal-drives).
## Install
```PowerShell
pip install PyWDCKit
```
## Usage
```Python
from PyWDCKit import WDCKit, NotRunningAsAdmin, WDCKitNotFound
import logging
logging.basicConfig(
level=logging.DEBUG,
format='%(asctime)s | %(levelname)s | %(message)s',
datefmt='%d-%b-%y %H:%M:%S'
)
wdckit = WDCKit()
try:
logging.info(f'Found wdckit.exe at {wdckit.exec_path}')
except WDCKitNotFound as e:
logging.error(e)
print(wdckit.get_duts())
```
Note: The package will automatically try to search for wdckit.exe within the current working directory.
Raw data
{
"_id": null,
"home_page": "https://github.com/mohamed-fazal-wdc/lib_wdckit",
"name": "PyWDCKit",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,wdckit,Western Digital,Sandisk,NVMe,SATA,NVMe M.2,SSD,HDD",
"author": "mohamed-fazal-wdc (Mohamed Farhan Fazal)",
"author_email": "mohamed.fazal@wdc.com",
"download_url": "https://files.pythonhosted.org/packages/60/c8/1898c8d9a851814957ef55487ce2f022f89f14fc73d6a45bb8f2c673fd39/PyWDCKit-1.0.0.3.tar.gz",
"platform": null,
"description": "\r\n# PyWDCKit - Python\r\nUNOFFICIAL Python bindings for Western Digital's WDCKit drive utility\r\n\r\nA package that allows you to utilize and get data from Western Digital's WDCKit drive utility.\r\n\r\nTo download WDCKit visit the [official page](https://support-en.wd.com/app/answers/detailweb/a_id/50708/~/wdckit-drive-utility-download-and-instructions-for-internal-drives).\r\n\r\n## Install\r\n```PowerShell\r\npip install PyWDCKit\r\n```\r\n\r\n## Usage\r\n```Python\r\nfrom PyWDCKit import WDCKit, NotRunningAsAdmin, WDCKitNotFound\r\nimport logging\r\nlogging.basicConfig(\r\n level=logging.DEBUG,\r\n format='%(asctime)s | %(levelname)s | %(message)s',\r\n datefmt='%d-%b-%y %H:%M:%S'\r\n)\r\nwdckit = WDCKit()\r\ntry:\r\n logging.info(f'Found wdckit.exe at {wdckit.exec_path}')\r\nexcept WDCKitNotFound as e:\r\n logging.error(e)\r\nprint(wdckit.get_duts())\r\n```\r\n\r\nNote: The package will automatically try to search for wdckit.exe within the current working directory.\r\n",
"bugtrack_url": null,
"license": "",
"summary": "UNOFFICIAL Python bindings for Western Digital's WDCKit drive utility",
"version": "1.0.0.3",
"project_urls": {
"Bug Tracker": "https://github.com/mohamed-fazal-wdc/lib_wdckit/issues",
"Homepage": "https://github.com/mohamed-fazal-wdc/lib_wdckit"
},
"split_keywords": [
"python",
"wdckit",
"western digital",
"sandisk",
"nvme",
"sata",
"nvme m.2",
"ssd",
"hdd"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8754cd33ab475937640eedcdab3de1f23ea62a9235981115e0998f1391df8b40",
"md5": "e61260a9feabfb4032fd92f53a933dd3",
"sha256": "7418ed2615fc23934ee52278c446754db5d2cbdc96ae47776eaf632e4ac13227"
},
"downloads": -1,
"filename": "PyWDCKit-1.0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e61260a9feabfb4032fd92f53a933dd3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 16227,
"upload_time": "2024-02-23T06:11:02",
"upload_time_iso_8601": "2024-02-23T06:11:02.569915Z",
"url": "https://files.pythonhosted.org/packages/87/54/cd33ab475937640eedcdab3de1f23ea62a9235981115e0998f1391df8b40/PyWDCKit-1.0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "60c81898c8d9a851814957ef55487ce2f022f89f14fc73d6a45bb8f2c673fd39",
"md5": "e4ff10f3d7687eef991a8499d2a4b14e",
"sha256": "49ecf356424f0c2c2c7d4292371f02766eeee4f1c7d112b4dbde8919abf66adb"
},
"downloads": -1,
"filename": "PyWDCKit-1.0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "e4ff10f3d7687eef991a8499d2a4b14e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15761,
"upload_time": "2024-02-23T06:11:04",
"upload_time_iso_8601": "2024-02-23T06:11:04.362054Z",
"url": "https://files.pythonhosted.org/packages/60/c8/1898c8d9a851814957ef55487ce2f022f89f14fc73d6a45bb8f2c673fd39/PyWDCKit-1.0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-23 06:11:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mohamed-fazal-wdc",
"github_project": "lib_wdckit",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pywdckit"
}