code128bgen-0.2.0
توضیحات
Generation of the Code128b barcode
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | code128bgen-0.2.0 |
| نام | code128bgen |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Damian Dennis |
| ایمیل نویسنده | damiandennis@gmail.com |
| آدرس صفحه اصلی | https://github.com/damiandennis/code128bgen |
| آدرس اینترنتی | https://pypi.org/project/code128bgen/ |
| مجوز | - |
# Code128b Generator
A simple barcode generator (full python solution)
This library makes use of Pillow to generate the barcode image,
it also fully supports extended ASCII which I found most other libraries did not support except GNU barcode in raw mode.
### Installation
```bash
python -m pip install code128bgen
```
### Usage
####
```python
from code128bgen import generate_bar_widths, write_barcode_to_image_file, write_barcode_to_image
test_str_unicode = '12345678ÐEª2345FD'
bars = generate_bar_widths(test_str_unicode) # generates the bar widths for generating image.
pil_image = write_barcode_to_image(bars) # if you want to manipulation the image with PIL.
write_barcode_to_image_file(bars, 'test.png') # writes out file to specified file name.
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl code128bgen-0.2.0:
pip install code128bgen-0.2.0.whl
نصب پکیج tar.gz code128bgen-0.2.0:
pip install code128bgen-0.2.0.tar.gz