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.14.tar.gz
(4.6 kB
view details)
Built Distribution
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.14.tar.gz.
File metadata
- Download URL: label_converter-0.14.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84d3643477a3b85bfd6538ec60897d3d353fae71aec3942aa7ff5a46439f0a07
|
|
| MD5 |
1fa4f88e06d1b34c15295101a86668f2
|
|
| BLAKE2b-256 |
374dbc2e2464bc25bba25848ff81096598a7f0ad13c8febb3f5bf8d1bbe56c32
|
File details
Details for the file label_converter-0.14-py3-none-any.whl.
File metadata
- Download URL: label_converter-0.14-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81d7bf1d2a01d83b6ad30d232c75db132d51b327b5ab7fcd2cf59c3ad00e2f46
|
|
| MD5 |
74c41c8d4105b8b1358d3a4b0fba8a24
|
|
| BLAKE2b-256 |
e4267573261d9cdf291a2cd12d65bc91410a43075ebc373538fe03a52835fc85
|