pdf417as_str
Create pdf417 barcode by special font without using images.
Python version |
3.3+ |
License |
LGPLv3 |
PyPI |
How it works
Install font pdf417.ttf into your OS.
Encode your data string into special encoded strings.
pdf417_encoded_text = pdf417as_str.encode417('https://github.com', columns=5)
Paste encoded text into any text editor.
+*xfs*prA*kuk*iDo*ixA*sxn*xdw*- +*yog*slv*Arv*Fyg*tgE*fwg*zew*- +*uny*BCj*iaw*jcE*AxD*ykx*pDw*- +*ftw*sgf*AoC*dAc*ajb*ofA*yrx*-
Choose “Code PDF417” font for text and adjust line spacing. You will receive pdf417 barcode.
NOTE: Small empty space between rows not affects to reading barcode. Anyway you can find suited size.
Also you can make .png barcode using pdf417as_str.convert.to_png, but this function for tests and not efficient.
Installation
$ pip install pdf417as-str
Thanks to
Metadata
Release files for pdf417as-str 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pdf417as-str-1.1.0.tar.gz | 22.7 kB | Without provenance | Details for pdf417as-str-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pdf417as_str-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for pdf417as_str-1.1.0-py3-none-any.whl |
Total release size: 42.1 kB
Release files / pdf417as-str-1.1.0.tar.gz
| Download URL | pdf417as-str-1.1.0.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4352d7accc94c72afec2bc65343183721b72f919c3e5b45b04402a69aae57f1
|
|
BLAKE2b-256 checksum How to use checksums |
9b022c59ccdacbf18e89b2213eed179ea2d085d27bdcba0670ae2d3905f4920b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.4
|
Release files / pdf417as_str-1.1.0-py3-none-any.whl
| Download URL | pdf417as_str-1.1.0-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bda0f979beee798d73d94e64fffab5f78ab0f88a2894339b7cc41b0b7a8cf474
|
|
BLAKE2b-256 checksum How to use checksums |
0bba94640fa4b9c76614b382e8c2a88ae0be413ae633558b61ce5382b7a1efa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.4
|
Security for pdf417as-str 1.1.0
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.