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.4.tar.gz
(3.2 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.4.tar.gz.
File metadata
- Download URL: label_converter-0.4.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bfa5354dd94d52555e0aa21433d59574b3c7682e179ad00829eb5e8dfe68d25
|
|
| MD5 |
c6c07ee41778ce9871ebfea754be5b18
|
|
| BLAKE2b-256 |
7a68cd51cab718b9aaa0a283c5455865b7d95c7b4a325fc6ea98985b7b1e15c6
|
File details
Details for the file label_converter-0.4-py3-none-any.whl.
File metadata
- Download URL: label_converter-0.4-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7661f3a0d1e857dd56c1cbeeea61e2055af3002537fb78f0a8151d4aa0ed5e9f
|
|
| MD5 |
6eab888e725055bd80fc2bb122cc0352
|
|
| BLAKE2b-256 |
06504322bfd674fd0cecd8dc150d47beba841ce8b1f0e4369559a3b52387c72c
|