Skip to main content

BarCodeBuilder

Introduction

this is a bar tool which base on python-barcode and barcode.

Usage

1. install
pip install pybarcoder
2. usage
BarCoder().set_options({
    # 'module_width': 0.2,  # 默认值0.2,每个条码宽度,单位为毫米
    # 'module_height': 8.0,  # 默认值15.0,条码高度,单位为毫米
    # 'quiet_zone': 3,  # 默认值6.5,两端空白宽度,单位为毫米
    # 'font_size': 12,  # 默认值10,文本字体大小,单位为磅
    # 'format': 'PNG',  # 默认值'PNG',保存文件格式,默认为PNG,也可以设为JPEG、BMP等,只在使用ImageWriter时有效。
    # 'dpi': 300,  # 默认值300,图片分辨率,,只在使用ImageWriter时有效。
}).set_msg("S123456789123456", "左上角信息", "左下角信息", "右上角信息", "右下角信息").save()
print("生成成功")

3. 条码示例

BarcoderPic

Metadata

Release files for pybarcoder 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pybarcoder 0.9.1
File Size Uploaded Provenance Actions
pybarcoder-0.9.1.tar.gz 13.8 MB Without provenance Details for pybarcoder-0.9.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pybarcoder 0.9.1
File Interpreter ABI Platform Actions
pybarcoder-0.9.1-py3-none-any.whl Python 3 none any Details for pybarcoder-0.9.1-py3-none-any.whl

Total release size: 27.6 MB

Release files / pybarcoder-0.9.1.tar.gz

Download URL pybarcoder-0.9.1.tar.gz
Size 13.8 MB
Tags Source
SHA-256 checksum
How to use checksums
933adfc37485f6e6d28ccba57d774b3fd768d0c00393b2a398540a85a466f4e1
BLAKE2b-256 checksum
How to use checksums
920221e442d637ddc50fc07c00ba7cc128cf4263448486a64c4f99d33e5d1863
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.3

Release files / pybarcoder-0.9.1-py3-none-any.whl

Download URL pybarcoder-0.9.1-py3-none-any.whl
Size 13.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a8b16058f07fd80bdd2dbb8bab0c4eb22de1bf1b5bcddb4b4e8120ca44eddcd6
BLAKE2b-256 checksum
How to use checksums
9350e2595d3f1e0c70fd46699267e13e3c3db46fc25ede5f2a08824fe3fabddb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.3

Security for pybarcoder 0.9.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page