## iqrfpy-diagnostics
An extension for [iqrfpy](https://pypi.org/project/iqrfpy/) for processing and interpreting IQD diagnostics data.
Diagnostics is a common data structure located in the permanent memory of all IQD devices,
which contains the result of the HW test of the device and other operational data that affect its correct operation.
## Quick start
Before installing the library, it is recommended to first create a virtual environment.
Virtual environments help isolate python installations as well as pip packages independent of the operating system.
A virtual environment can be created and launched using the following commands:
```bash
python3 -m venv <dir>
source <dir>/bin/activate
```
iqrfpy-diagnostics can be installed using the pip utility:
```bash
python3 -m pip install -U iqrfpy-diagnostics
```
Example use:
```python
from iqrfpy.ext.diagnostics import IqdDiagnostics
# get diagnostics data
data = ...
# parse into class
diagnostics = IqdDiagnostics(data=data)
# access values
diagnostics.beaming_cnt
# print formatted data
print(diagnostics.to_string())
```
Raw data
{
"_id": null,
"home_page": "https://gitlab.iqrf.org/open-source/iqrf-sdk/iqrfpy/iqrfpy-diagnostics",
"name": "iqrfpy-diagnostics",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "iqrf",
"author": "Karel Han\u00e1k",
"author_email": "karel.hanak@iqrf.org",
"download_url": "https://files.pythonhosted.org/packages/cd/de/ce112405df82eb39b105ed79df728b5e81c0a16b2433fc6bf4f11497bab6/iqrfpy_diagnostics-0.1.1.tar.gz",
"platform": null,
"description": "## iqrfpy-diagnostics\n\nAn extension for [iqrfpy](https://pypi.org/project/iqrfpy/) for processing and interpreting IQD diagnostics data.\n\nDiagnostics is a common data structure located in the permanent memory of all IQD devices,\nwhich contains the result of the HW test of the device and other operational data that affect its correct operation.\n\n## Quick start\n\nBefore installing the library, it is recommended to first create a virtual environment.\nVirtual environments help isolate python installations as well as pip packages independent of the operating system.\n\nA virtual environment can be created and launched using the following commands:\n\n```bash\npython3 -m venv <dir>\nsource <dir>/bin/activate\n```\n\niqrfpy-diagnostics can be installed using the pip utility:\n\n```bash\npython3 -m pip install -U iqrfpy-diagnostics\n```\n\nExample use:\n```python\nfrom iqrfpy.ext.diagnostics import IqdDiagnostics\n\n# get diagnostics data\ndata = ...\n\n# parse into class\ndiagnostics = IqdDiagnostics(data=data)\n\n# access values\ndiagnostics.beaming_cnt\n\n# print formatted data\nprint(diagnostics.to_string())\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Diagnostics for iqrfpy",
"version": "0.1.1",
"project_urls": {
"Changelog": "https://gitlab.iqrf.org/open-source/iqrf-sdk/iqrfpy/iqrfpy-diagnostics/-/blob/master/changelog.md",
"Homepage": "https://gitlab.iqrf.org/open-source/iqrf-sdk/iqrfpy/iqrfpy-diagnostics",
"Issue tracker": "https://gitlab.iqrf.org/open-source/iqrf-sdk/iqrfpy/iqrfpy-diagnostics/-/issues",
"Source code": "https://gitlab.iqrf.org/open-source/iqrf-sdk/iqrfpy/iqrfpy-diagnostics"
},
"split_keywords": [
"iqrf"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ad7e383e134caa0e86b6b8a45bc0dcabe93985896e3b16c937b22e14cb820ad1",
"md5": "9c17e872460558b73e162cd34e46f432",
"sha256": "c2b185d5f3f3ad1cdd5ea47ab42e382785c18ea2dec868502c46c147248b4bf3"
},
"downloads": -1,
"filename": "iqrfpy_diagnostics-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9c17e872460558b73e162cd34e46f432",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 10929,
"upload_time": "2024-04-16T13:21:11",
"upload_time_iso_8601": "2024-04-16T13:21:11.982292Z",
"url": "https://files.pythonhosted.org/packages/ad/7e/383e134caa0e86b6b8a45bc0dcabe93985896e3b16c937b22e14cb820ad1/iqrfpy_diagnostics-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cddece112405df82eb39b105ed79df728b5e81c0a16b2433fc6bf4f11497bab6",
"md5": "766fba32f325a058700ac5f836b5a5be",
"sha256": "01c01cb37a863409c91eedf6dc75c4de6655a4523629014851ccd32b13ce30fe"
},
"downloads": -1,
"filename": "iqrfpy_diagnostics-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "766fba32f325a058700ac5f836b5a5be",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 9874,
"upload_time": "2024-04-16T13:21:13",
"upload_time_iso_8601": "2024-04-16T13:21:13.635675Z",
"url": "https://files.pythonhosted.org/packages/cd/de/ce112405df82eb39b105ed79df728b5e81c0a16b2433fc6bf4f11497bab6/iqrfpy_diagnostics-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-16 13:21:13",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "iqrfpy-diagnostics"
}