pytire.constant
¶
Defines constants used elsewhere in the library.
- author
Alex Robinson <girotobial@gmail.com>
- copyright
Copyright (c) Alex Robinson, 2021-2021.
- license
MIT
Module Contents¶
-
pytire.constant.
INCHES_PER_FOOT
= 12¶
-
pytire.constant.
FEET_PER_METER
= 3.28084¶
-
pytire.constant.
METRIC_RE
= \d{3}[xX]\d{3}-\d+¶
-
pytire.constant.
DIAMETER_RE
= \d+[(\.\d)]+(?=[xX])¶
-
pytire.constant.
WIDTH_RE
= (?<=[xX])\d+[(\.\d)]+(?=-)|\d+[(\.\d)]+(?=-)|(?<=[xX])\d+[(\.\d)]+¶
-
pytire.constant.
WHEEL_DIAMETER_RE
= (?<=[-rR])\d+[(\.\d)]+¶