PDF417 barcode font and encoder for it.
Project description
Package for work with pdf417 barcodes without using images. Contains font and encoder for it.
Python version |
3.3+ |
License |
GPLv3 |
PyPI |
How it works
Install font pdf417.ttf into your OS.
Encode your data string into special encoded strings.
pdf417_encoded_text = pdf417as_str.encode('https://github.com')
Paste encoded text into any text editor and choose “Code PDF417” font. You will receive pdf417 barcode.
NOTE: With some font sizes there will be empty space between rows. It will not affect to reading barcode, but you can find suited size anyway.
Actually you can make png barcode, using pdf417as_str.convert.to_png, but this function not efficient.
Installation
$ pip install pdf417as_str
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pdf417as_str-0.3.tar.gz
.
File metadata
- Download URL: pdf417as_str-0.3.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 947110b18ba29b9f0380f51ee9d4ae09d13cc124a297c9ae64531000748ebcc6 |
|
MD5 | d7a26880935b75b1a222d276893758b7 |
|
BLAKE2b-256 | 37c94ca69c1539318e4f91ec60ddf30d429f5e8a0774d9278b588a4ca779dcc4 |