MCPcopy Create free account
hub / github.com/WhyNotHugo/python-barcode / make_ean

Method make_ean

barcode/isxn.py:121–122  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119 return tmp
120
121 def make_ean(self):
122 return f"977{self.issn[:7]}00{self._calculate_checksum()}"
123
124 def __str__(self) -> str:
125 return self.issn

Callers 1

__init__Method · 0.95

Calls 1

_calculate_checksumMethod · 0.95

Tested by

no test coverage detected