{"id":20067546,"url":"https://github.com/berendt/sample-barcodes","last_synced_at":"2026-05-31T21:32:14.146Z","repository":{"id":79838437,"uuid":"423596122","full_name":"berendt/sample-barcodes","owner":"berendt","description":"Sample barcodes","archived":false,"fork":false,"pushed_at":"2021-11-01T20:57:03.000Z","size":275,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T11:17:59.092Z","etag":null,"topics":["barcode","samples"],"latest_commit_sha":null,"homepage":"https://www.osism.tech","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/berendt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-01T19:47:55.000Z","updated_at":"2023-02-07T13:36:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"a64a149d-2f9d-4853-a32c-73ac1846fe97","html_url":"https://github.com/berendt/sample-barcodes","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"ba420422b583b9941a75b1c9e3abb72be51025e0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/berendt/sample-barcodes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berendt%2Fsample-barcodes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berendt%2Fsample-barcodes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berendt%2Fsample-barcodes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berendt%2Fsample-barcodes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berendt","download_url":"https://codeload.github.com/berendt/sample-barcodes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berendt%2Fsample-barcodes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33750474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["barcode","samples"],"created_at":"2024-11-13T14:01:55.656Z","updated_at":"2026-05-31T21:32:14.129Z","avatar_url":"https://github.com/berendt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sample-barcodes\n\nFor the preparations of an asset management in combination with Netbox we needed\na larger amount of barcodes for preliminary tests. Anyhow we didn't find anything\nusable and so this repository was created.\n\nIn principle, barcodes can be generated for all barcode types supported by\n[bwipp/postscriptbarcode](https://github.com/bwipp/postscriptbarcode).\nFeel free to create a PR to add new types. [treepoem](https://github.com/adamchainz/treepoem)\nis used for the creation of the barcodes.\n\nIn the directory ``samples`` is for each barcode type a ``README.md`` file with 20\ngenerated barcode image of this type.\n\n* [azteccode](samples/azteccode/README.md)\n* [code128](samples/code128/README.md)\n* [code39](samples/code39/README.md)\n* [interleaved2of5](samples/interleaved2of5/README.md)\n* [pdf417](samples/pdf417/README.md)\n* [qrcode](samples/qrcode/README.md)\n\nAs PDFs:\n\n* [azteccode](samples/azteccode.pdf)\n* [code128](samples/code128.pdf)\n* [code39](samples/code39.pdf)\n* [interleaved2of5](samples/interleaved2of5.pdf)\n* [pdf417](samples/pdf417.pdf)\n* [qrcode](samples/qrcode.pdf)\n\n## Installation\n\nPrepare the Python environment:\n\n```\npipenv install\n```\n\nYou’ll also need Ghostscript installed. On Ubuntu/Debian this can be installed with:\n\n```\napt-get install ghostscript\n```\n\nOn Mac OS X use:\n\n```\nbrew install ghostscript\n```\n\n## Usage\n\n```\npipenv shell\npython3 main.py\n```\n\n## Conversion to PDFs\n\n```\ncd samples/azteccode; pandoc README.md -o ../azteccode.pdf; cd ../../\ncd samples/code128; pandoc README.md -o ../code128.pdf; cd ../../\ncd samples/code39; pandoc README.md -o ../code39.pdf; cd ../../\ncd samples/interleaved2of5; pandoc README.md -o ../interleaved2of5.pdf; cd ../../\ncd samples/pdf417; pandoc README.md -o ../pdf417.pdf; cd ../../\ncd samples/qrcode; pandoc README.md -o ../qrcode.pdf; cd ../../\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberendt%2Fsample-barcodes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberendt%2Fsample-barcodes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberendt%2Fsample-barcodes/lists"}