HTML to label png converter
Project description
Label converter 
Description
label_converter is a Python library to turn HTML string to png file for label printing.
Usage
from label_converter import label_converter
header = '<p>I\'m head</p>'
body = '<p>I\'m <strong>label</strong> <span style="font-size: 30px; color: rgb(184, 49, 47);">body</span></p>'
footer = '<p>I\'m footer</p>
width = 600
height = 500
base64_encoding = False
label_converter.create(header, body, footer, width, height, base64_encoding)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
label_converter-0.11.tar.gz
(3.9 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file label_converter-0.11.tar.gz.
File metadata
- Download URL: label_converter-0.11.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c4cd5710299eb3f605386cf82757a2295e5908aff1528ade942419d3127f256
|
|
| MD5 |
13f32aaf301aea612dec341ab77cde7e
|
|
| BLAKE2b-256 |
589e6e6cfa1f32b9dfdf0951211a9de6f3a9198adbe29a448a22d475d375a54f
|
File details
Details for the file label_converter-0.11-py3-none-any.whl.
File metadata
- Download URL: label_converter-0.11-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d36d60a9634921340984e84b8ae8c6a95d82d1a2417367056385ff738c24580a
|
|
| MD5 |
f295ac7166dd2744ab5956a3cb5bb6bb
|
|
| BLAKE2b-256 |
89632a98cce016c094b2933a8490b107f56f2a1db346dbcda9f5b574cd484f8e
|
File details
Details for the file label_converter-0.11-py2-none-any.whl.
File metadata
- Download URL: label_converter-0.11-py2-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ff9f73820aded6572c16f053b092ad8955d5bf8304da03fdefd436ecade9c80
|
|
| MD5 |
50e122ab8ce71fb2758c987a2deda456
|
|
| BLAKE2b-256 |
3e9c65151a62f0c1197f67b831714878bc090c72868dbcf67be5ee4c9b1909e5
|