Skip to main content

HTML to label png converter

Project description

Label converter Build Status

Description

label_converter is a Python library to turn HTML string to png file for label printing.

Usage

from 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

label_converter.create(header, body, footer, width, height)

Project details


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.3.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file label_converter-0.3.tar.gz.

File metadata

  • Download URL: label_converter-0.3.tar.gz
  • Upload date:
  • Size: 3.1 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.43.0 CPython/2.7.15

File hashes

Hashes for label_converter-0.3.tar.gz
Algorithm Hash digest
SHA256 40bac27badf9779fef93d46211421fc624bff1001b6e3213f7b849314e2d09a5
MD5 b00ed226733779a85bfa5fb44c994e44
BLAKE2b-256 35e5bca99602d1e68cbc05178259416e9d3f52eb74bdb0f7139b71736199cbef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page