summaryrefslogtreecommitdiffstats
path: root/glucometerutils/support
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2019-02-08 13:46:11 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2019-02-08 13:46:11 +0100
commit6194b0f0f7d39a1b5df659b331ebb63bb94109de (patch)
tree12e86f29311fdf34cccc307ee0921d7662523e05 /glucometerutils/support
parentReplace flameeyes.eu with flameeyes.com. (diff)
downloadglucometerutils-6194b0f0f7d39a1b5df659b331ebb63bb94109de.tar
glucometerutils-6194b0f0f7d39a1b5df659b331ebb63bb94109de.tar.gz
glucometerutils-6194b0f0f7d39a1b5df659b331ebb63bb94109de.tar.bz2
glucometerutils-6194b0f0f7d39a1b5df659b331ebb63bb94109de.tar.lz
glucometerutils-6194b0f0f7d39a1b5df659b331ebb63bb94109de.tar.xz
glucometerutils-6194b0f0f7d39a1b5df659b331ebb63bb94109de.tar.zst
glucometerutils-6194b0f0f7d39a1b5df659b331ebb63bb94109de.zip
Diffstat (limited to 'glucometerutils/support')
-rw-r--r--glucometerutils/support/construct_extras.py7
-rw-r--r--glucometerutils/support/freestyle.py7
-rw-r--r--glucometerutils/support/hiddevice.py8
-rw-r--r--glucometerutils/support/lifescan.py7
-rw-r--r--glucometerutils/support/lifescan_binary_protocol.py7
-rw-r--r--glucometerutils/support/serial.py7
6 files changed, 13 insertions, 30 deletions
diff --git a/glucometerutils/support/construct_extras.py b/glucometerutils/support/construct_extras.py
index 4de7097..7abcd9e 100644
--- a/glucometerutils/support/construct_extras.py
+++ b/glucometerutils/support/construct_extras.py
@@ -1,11 +1,8 @@
# -*- coding: utf-8 -*-
+#
+# SPDX-License-Identifier: MIT
"""Extra classes for Construct."""
-__author__ = 'Diego Elio Pettenò'
-__email__ = 'flameeyes@flameeyes.com'
-__copyright__ = 'Copyright © 2018, Diego Elio Pettenò'
-__license__ = 'MIT'
-
import datetime
import construct
diff --git a/glucometerutils/support/freestyle.py b/glucometerutils/support/freestyle.py
index 3aedbdc..816af81 100644
--- a/glucometerutils/support/freestyle.py
+++ b/glucometerutils/support/freestyle.py
@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
+#
+# SPDX-License-Identifier: MIT
"""Common routines to implement the FreeStyle common protocol.
Protocol documentation available at
@@ -6,11 +8,6 @@ https://flameeyes.github.io/glucometer-protocols/abbott/shared-hid-protocol.html
"""
-__author__ = 'Diego Elio Pettenò'
-__email__ = 'flameeyes@flameeyes.com'
-__copyright__ = 'Copyright © 2017, Diego Elio Pettenò'
-__license__ = 'MIT'
-
import csv
import datetime
import logging
diff --git a/glucometerutils/support/hiddevice.py b/glucometerutils/support/hiddevice.py
index 3cf2e10..ecf989b 100644
--- a/glucometerutils/support/hiddevice.py
+++ b/glucometerutils/support/hiddevice.py
@@ -1,11 +1,9 @@
+# -*- coding: utf-8 -*-
+#
+# SPDX-License-Identifier: MIT
"""Common routines and base driver class for HID-based meters.
"""
-__author__ = 'Diego Elio Pettenò'
-__email__ = 'flameeyes@flameeyes.com'
-__copyright__ = 'Copyright © 2017, Diego Elio Pettenò'
-__license__ = 'MIT'
-
import logging
import os
diff --git a/glucometerutils/support/lifescan.py b/glucometerutils/support/lifescan.py
index 0ea6e5a..19155d4 100644
--- a/glucometerutils/support/lifescan.py
+++ b/glucometerutils/support/lifescan.py
@@ -1,11 +1,8 @@
# -*- coding: utf-8 -*-
+#
+# SPDX-License-Identifier: MIT
"""Common utility functions for LifeScan meters."""
-__author__ = 'Diego Elio Pettenò'
-__email__ = 'flameeyes@flameeyes.com'
-__copyright__ = 'Copyright © 2013-2017, Diego Elio Pettenò'
-__license__ = 'MIT'
-
from glucometerutils import exceptions
diff --git a/glucometerutils/support/lifescan_binary_protocol.py b/glucometerutils/support/lifescan_binary_protocol.py
index 62a4109..288da83 100644
--- a/glucometerutils/support/lifescan_binary_protocol.py
+++ b/glucometerutils/support/lifescan_binary_protocol.py
@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
+#
+# SPDX-License-Identifier: MIT
"""Support module for the LifeScan binary protocol.
A number of LifeScan devices use a semi-compatible binary protocol to talk host
@@ -7,11 +9,6 @@ and device, which is (vastly) compatible.
This module implements an interface to send and receive these messages.
"""
-__author__ = 'Diego Elio Pettenò'
-__email__ = 'flameeyes@flameeyes.com'
-__copyright__ = 'Copyright © 2014-2018, Diego Elio Pettenò'
-__license__ = 'MIT'
-
import construct
from glucometerutils import common
diff --git a/glucometerutils/support/serial.py b/glucometerutils/support/serial.py
index fe27668..4566e54 100644
--- a/glucometerutils/support/serial.py
+++ b/glucometerutils/support/serial.py
@@ -1,12 +1,9 @@
# -*- coding: utf-8 -*-
+#
+# SPDX-License-Identifier: MIT
"""Common routines and base driver class for serial-based meters.
"""
-__author__ = 'Diego Elio Pettenò'
-__email__ = 'flameeyes@flameeyes.com'
-__copyright__ = 'Copyright © 2017, Diego Elio Pettenò'
-__license__ = 'MIT'
-
import logging
try: