MCPcopy Index your code
hub / github.com/WhyNotHugo/python-barcode / build

Method build

barcode/base.py:50–55  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 2

to_asciiMethod · 0.95
renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected