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.13.tar.gz
(4.7 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.13.tar.gz.
File metadata
- Download URL: label_converter-0.13.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a18c9df8ebe55f25a153cf0bb62657f4166f259ce93479191d283ec6441f3a90
|
|
| MD5 |
e1c0586e7fbf68b52526231a207e951b
|
|
| BLAKE2b-256 |
f809fc7ca34832f4f8244f5c7ef2ba69ae192acf9bb3e8e58522a1db1ae574dd
|
File details
Details for the file label_converter-0.13-py3-none-any.whl.
File metadata
- Download URL: label_converter-0.13-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 |
701373f34b950d82f6a4c49c4a0f3b58a77d7f24f42decfa919984571b82fb1a
|
|
| MD5 |
00599efbc8aea160a9c55085b6ee25fb
|
|
| BLAKE2b-256 |
215465ad08abc9e709538a4e4780810d8cc0ccec8d215abbf3cdb84c00ec3bc1
|