<!--
SPDX-FileCopyrightText: 2013 The freestyle-hid Authors
SPDX-License-Identifier: Apache-2.0
-->
# Python library to interact with Abbott FreeStyle devices
This repository includes a library and some tools to interact with Abbott
FreeStyle devices that use their
[shared HID protocol](https://protocols.glucometers.tech/abbott/shared-hid-protocol.html).
## Tools
There are a number of tools that interact with either the devices or with
USB session captures that are installed together when selecting the `tools`
extra:
* `freestyle-hid-console` allows sending direct text messages to a compatible
device on the console;
* `freestyle-extract-chatter` can produce a "chatter" file based on a capture
of an USB session, either from Linux or Windows.
* `freestyle-encrypted-setup-extract` is an experimental tool to extract the
encryption parameters of devices using the encrypted protocol (e.g. Libre2).
## Development
If you want to contribute code, please note that the target language
is Python 3.9, and that the style to follow is for the most part PEP8
compatible.
To set up your development environment follow these guidelines:
```shell
$ git clone https://github.com/glucometers-tech/freestyle-hid.git
$ cd freestyle-hid
$ python3 -m venv --python=python3.7
$ . venv/bin/activate
$ pip install -e .[dev,tools]
$ pre-commit install
```
Raw data
{
"_id": null,
"home_page": "https://github.com/glucometers-tech/freestyle-hid",
"name": "freestyle-hid",
"maintainer": "",
"docs_url": null,
"requires_python": "~=3.9",
"maintainer_email": "",
"keywords": "glucometer,diabetes,freestyle,abbott",
"author": "Diego Elio Petten\u00f2",
"author_email": "flameeyes@flameeyes.com",
"download_url": "https://files.pythonhosted.org/packages/2f/6b/df27c9d68fbe0085787886f45935c25e9d8b390ba1305f098bc01731afce/freestyle-hid-1.1.1.tar.gz",
"platform": null,
"description": "<!--\nSPDX-FileCopyrightText: 2013 The freestyle-hid Authors\n\nSPDX-License-Identifier: Apache-2.0\n-->\n\n# Python library to interact with Abbott FreeStyle devices\n\nThis repository includes a library and some tools to interact with Abbott\nFreeStyle devices that use their\n[shared HID protocol](https://protocols.glucometers.tech/abbott/shared-hid-protocol.html).\n\n## Tools\n\nThere are a number of tools that interact with either the devices or with\nUSB session captures that are installed together when selecting the `tools`\nextra:\n\n * `freestyle-hid-console` allows sending direct text messages to a compatible\n device on the console;\n * `freestyle-extract-chatter` can produce a \"chatter\" file based on a capture\n of an USB session, either from Linux or Windows.\n * `freestyle-encrypted-setup-extract` is an experimental tool to extract the\n encryption parameters of devices using the encrypted protocol (e.g. Libre2).\n\n## Development\n\nIf you want to contribute code, please note that the target language\nis Python 3.9, and that the style to follow is for the most part PEP8\ncompatible.\n\nTo set up your development environment follow these guidelines:\n\n```shell\n$ git clone https://github.com/glucometers-tech/freestyle-hid.git\n$ cd freestyle-hid\n$ python3 -m venv --python=python3.7\n$ . venv/bin/activate\n$ pip install -e .[dev,tools]\n$ pre-commit install\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Python implementation of the HID protocol used by Abbott FreeStyle devices",
"version": "1.1.1",
"project_urls": {
"Homepage": "https://github.com/glucometers-tech/freestyle-hid"
},
"split_keywords": [
"glucometer",
"diabetes",
"freestyle",
"abbott"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "130b5ed0dd7249de9e9ac7c552e055443380c4fa5635971ae37bb624570b3a48",
"md5": "718b17a22e47c8862f0cd777e7db1faa",
"sha256": "eca1b92e25a226d978928506013dad9f63553ef2767a127a29f7965a1d96f84b"
},
"downloads": -1,
"filename": "freestyle_hid-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "718b17a22e47c8862f0cd777e7db1faa",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.9",
"size": 27376,
"upload_time": "2023-08-03T16:16:06",
"upload_time_iso_8601": "2023-08-03T16:16:06.862822Z",
"url": "https://files.pythonhosted.org/packages/13/0b/5ed0dd7249de9e9ac7c552e055443380c4fa5635971ae37bb624570b3a48/freestyle_hid-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2f6bdf27c9d68fbe0085787886f45935c25e9d8b390ba1305f098bc01731afce",
"md5": "95f817920f1e78b07aa037d5cac6a894",
"sha256": "21d31b6df825aaca571491c8b72f604cdd03f4c2cab2f88a26a140a2ace2d9a4"
},
"downloads": -1,
"filename": "freestyle-hid-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "95f817920f1e78b07aa037d5cac6a894",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.9",
"size": 22255,
"upload_time": "2023-08-03T16:16:08",
"upload_time_iso_8601": "2023-08-03T16:16:08.436645Z",
"url": "https://files.pythonhosted.org/packages/2f/6b/df27c9d68fbe0085787886f45935c25e9d8b390ba1305f098bc01731afce/freestyle-hid-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-03 16:16:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "glucometers-tech",
"github_project": "freestyle-hid",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "freestyle-hid"
}