Latest commits for branch extensibility https://codeberg.org/WhyNotHugo/python-barcode/branch/extensibility ㊙️ Create standard barcodes with Python. No external dependencies. 100% Organic Python. Sun, 26 Apr 2026 04:21:41 +0200 Fix bad indentation https://codeberg.org/WhyNotHugo/python-barcode/commit/582969a4121ba0ff3b8c8cd7e7064f4ef2734963 Fix bad indentation Hugo Osvaldo Barrera 582969a4121ba0ff3b8c8cd7e7064f4ef2734963 Tue, 29 Dec 2020 11:48:32 +0100 Extracts method packed from render https://codeberg.org/WhyNotHugo/python-barcode/commit/afe780a04ddb5e1f4900a175d66bba0e51177add Extracts method packed from render Makes the render method easier to understand and the packing easier to override. Avoids building a list unnecessarily by yielding the values one by one. Updates documentation to allow the character "G"(guard) in the writer spec. Also adds `guard_height_factor` to allow changing the default proportion between the guard bars and normal ones. Fernando Governatore afe780a04ddb5e1f4900a175d66bba0e51177add Tue, 29 Dec 2020 00:29:15 -0300 Facilitates sub-classing and user customization by using self https://codeberg.org/WhyNotHugo/python-barcode/commit/545fef683371730f5cde30c5d9c302c11f853649 Facilitates sub-classing and user customization by using self This allows changing the default_writer/default_writer_options for some sub-classes of Barcode without affecting all of them. Fernando Governatore 545fef683371730f5cde30c5d9c302c11f853649 Mon, 28 Dec 2020 23:34:40 -0300 Facilitates sub-classing and user customization by using super() https://codeberg.org/WhyNotHugo/python-barcode/commit/95d3f05cb32697cd0697c7593dd342dbc26059aa Facilitates sub-classing and user customization by using super() Using super() instead of hard-coding the class name enables the class to be sub-classed more easily. Fernando Governatore 95d3f05cb32697cd0697c7593dd342dbc26059aa Mon, 28 Dec 2020 23:34:40 -0300 Fix linting https://codeberg.org/WhyNotHugo/python-barcode/commit/6adb011d2ea34673e5a7ce8e9c615f9032635933 Fix linting Hugo Osvaldo Barrera 6adb011d2ea34673e5a7ce8e9c615f9032635933 Thu, 24 Dec 2020 13:58:20 +0100 Merge pull request #100 from Governa/feature/longer_guard_bar https://codeberg.org/WhyNotHugo/python-barcode/commit/d82c72fbd9f741121f811f086664d6af38ed67eb Merge pull request #100 from Governa/feature/longer_guard_bar Adds support for longer guard bar to EAN13 and EAN8 Fixes #11 Hugo Barrera d82c72fbd9f741121f811f086664d6af38ed67eb Thu, 24 Dec 2020 12:56:53 +0000 Update pre-commit hooks https://codeberg.org/WhyNotHugo/python-barcode/commit/ba2a034f6367a654739e609265341478b4ef90a9 Update pre-commit hooks Hugo Osvaldo Barrera ba2a034f6367a654739e609265341478b4ef90a9 Thu, 24 Dec 2020 13:08:23 +0100 Add changelog entry for #101 https://codeberg.org/WhyNotHugo/python-barcode/commit/c8b44582171d2dc5a0a1cf751292e326adfa9748 Add changelog entry for #101 Hugo Osvaldo Barrera c8b44582171d2dc5a0a1cf751292e326adfa9748 Thu, 24 Dec 2020 13:06:49 +0100 Merge pull request #101 from Governa/fix_sizes https://codeberg.org/WhyNotHugo/python-barcode/commit/f93bdd66c7a9e839262c74a44828d9b2b0e4cab3 Merge pull request #101 from Governa/fix_sizes Makes it easier to use both ImageWriter and SVGWriter Hugo Barrera f93bdd66c7a9e839262c74a44828d9b2b0e4cab3 Thu, 24 Dec 2020 12:06:21 +0000 Fix small glitch at the end of all guard bars https://codeberg.org/WhyNotHugo/python-barcode/commit/a806aa3985955014ab4d4ba24dff127fcf87bb3d Fix small glitch at the end of all guard bars Looks like images are rendered with the guards slightly "fatter" in their lower end. Making the white lines the same length as the G-lines seems to fix it. Co-authored-by: Hugo Barrera <[email protected]> ]]> Fernando a806aa3985955014ab4d4ba24dff127fcf87bb3d Wed, 23 Dec 2020 22:55:25 -0300