Metadata-Version: 2.1
Name: label-converter
Version: 0.14
Summary: HTML to label png converter
Home-page: https://github.com/finnishnetsolutions/label-converter
Author: Miika Launiainen
Author-email: miika.launiainen@fns.fi
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE.md

# Label converter [![Build Status](https://travis-ci.org/finnishnetsolutions/label-converter.svg?branch=master)](https://travis-ci.org/finnishnetsolutions/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)
```


