handwriting_sample.base package
Submodules
handwriting_sample.base.containers module
- class handwriting_sample.base.containers.HandwritingDataBase[source]
Bases:
LoggableObjectBase class for handwriting sample
- AXIS_X = 'x'
- AXIS_Y = 'y'
- AZIMUTH = 'azimuth'
- COLUMNS = ['x', 'y', 'time', 'pen_status', 'azimuth', 'tilt', 'pressure']
- DATE_FORMAT = '%Y-%m-%d, %H:%M:%S'
- PEN_STATUS = 'pen_status'
- PRESSURE = 'pressure'
- TILT = 'tilt'
- TIME = 'time'
- class handwriting_sample.base.containers.LoggableObject[source]
Bases:
objectBase class for loggable objects
- classmethod log(text, be_verbose=False, is_verbose=False)[source]
Logs the specified text.
More info:
be_verboseis True if logging should be verboseis_verboseis True if the specified text to log is verbose- Parameters
text (str) – a text to log
be_verbose (bool, optional) – verbosity of the logging, defaults to False
is_verbose (bool, optional) – verbosity of the text, defaults to False
- Returns
None
- Return type
None type
handwriting_sample.base.utils module
- handwriting_sample.base.utils.log(text, topic, be_verbose=False, is_verbose=False)[source]
Logs the specified text and topic.
More info:
be_verboseis True if logging should be verboseis_verboseis True if the specified text to log is verbose- Parameters
text (str) – a text to log
topic (str) – a topic to log
be_verbose (bool, optional) – verbosity of the logging, defaults to False
is_verbose (bool, optional) – verbosity of the text, defaults to False
- Returns
None
- Return type
None type