python-barcode icon indicating copy to clipboard operation
python-barcode copied to clipboard

`barcode.PROVIDED_BARCODES` vs. Supported Formats in docs

Open SeaDude opened this issue 3 years ago • 2 comments

Hello,

Thank you for all the hard work you put into this library. I'm curious between the barcodes shown in barcode.PROVIDED_BARCODES and the list of Supported Formats in the docs.

  • Are there more Supported Formats then those lined out in the docs?
  • Or are the codes listed in PROVIDED_BARCODES derivatives of other codes?

Example:

  • I don't see codabar, ean13-guard, gs1, etc. in the Supported Formats section of the docs.
['codabar', 'code128', 'code39', 'ean', 'ean13', 'ean13-guard', 'ean14', 'ean8', 'ean8-guard', 'gs1', 'gs1_128', 'gtin', 'isbn', 'isbn10', 'isbn13', 'issn', 'itf', 'jan', 'nw-7', 'pzn', 'upc', 'upca']

SeaDude avatar May 29 '22 19:05 SeaDude

There should be no different between barcode.PROVIDED_BARCODES vs. Supported Formats. Some are missing from the docs as an oversight.

I guess that when generating the docs, we should read barcode.PROVIDED_BARCODES, and include all the barcodes listed there programatically.

WhyNotHugo avatar May 30 '22 09:05 WhyNotHugo

I'll actually leave this open as a reminder that this needs to be fixed.

WhyNotHugo avatar May 31 '22 14:05 WhyNotHugo