auspostgen-生成澳大利亞郵政條碼版本37,52,67-Damian Dennis
發佈:2020-12-22 18:24:05.172798
做者:Damian Dennis
### 做者郵箱:damiandennis@gmail.com ### 首頁:https://github.com/damiandennis/auspost ### 文檔:None ### 下載連接 # Australia Post Barcode Generator
A simple barcode generator currently only supporting x64 linux written for python.python
This library makes use of the provided C library provided by Australia Post to generate the barcode value and Pillow is used to generate the barcode image. This is quite fast approx 10000 unique barcode images generated in 30 seconds.linux
Installation
python -m pip install auspostgen
Usage
from auspostgen import build_barcode, write_barcode_to_image_file barcode = build_barcode('11', '59564391') write_barcode_to_image_file(barcode, './my-barcode37.png') barcode = build_barcode('59', '59564391', '11ABA') write_barcode_to_image_file(barcode, './my-barcode52.png') barcode = build_barcode('62', '59564391', '11ABA11ABA') write_barcode_to_image_file(barcode, './my-barcode67.png', dpi=(600, 600))
Copy from pypi.org
查詢時間:6.87ms
渲染時間:7.012ms
本文同步分享在 博客「zhenruyan」(other)。
若有侵權,請聯繫 support@oschina.cn 刪除。
本文參與「OSC源創計劃」,歡迎正在閱讀的你也加入,一塊兒分享。git