Source: factory.core/ObjBarcode.py
Represent a class for handling barcode generation and validation tasks.
This class provides methods for parsing, rendering, generating, validating,
and calculating check digits for barcodes. It supports both EAN-13 and UPC
formats, among others. Users can work with external tools and manage barcode
...
| Method | Signature | Description |
|---|---|---|
| Parse | Parse(file_name: str, folder: str) -> str |
|
| Render | Render(Code = '', encoding = '', File = '', width = 500, height = 125) |
|
| int_c | int_c(Pos) |
|
| check_digit_ean13 | check_digit_ean13() |
|
| valid_ean13 | valid_ean13() |
|
| expand_ean13 | expand_ean13(Prefix, Id) |
|
| check_digit_upc | check_digit_upc() |
|
| valid_upc | valid_upc() |
|
| valid | valid() |
|
| get_isbn | get_isbn(Code) |
| Method | Signature | Description |
|---|---|---|
| test_barcode | test_barcode() |