Return a single-element list with a string encoding the barcode. Typically the string consists of 1s and 0s, although it can contain other characters such as G for guard lines (e.g. in EAN13).
(self)
| 48 | return f"<{self.__class__.__name__}({self.get_fullcode()!r})>" |
| 49 | |
| 50 | def build(self) -> list[str]: |
| 51 | """Return a single-element list with a string encoding the barcode. |
| 52 | |
| 53 | Typically the string consists of 1s and 0s, although it can contain |
| 54 | other characters such as G for guard lines (e.g. in EAN13).""" |
| 55 | raise NotImplementedError |
| 56 | |
| 57 | def get_fullcode(self): |
| 58 | """Returns the full code, encoded in the barcode. |