semvec/pypi-packages huggingface dataset:
gutenberg-object-it-test 0.0.2
Generate and Convert almost anything
Requires Python: >=3.6

# generators

A Repository to contain document generators and converters

# Purpose

This repository provides a PyPi module that provides a set of generators and converts

# Generators

A generator is a module that allows you to provide a dictionary of values, a template and it will produce an output 

For example, the HTML template generator will take a dictionary and a HTML string, marked up with Jinja tenplating syntax and a HTML document will be produced


So HTML template + data structure => Populated HTML document

# Converters

A converter is a module that allows you to provide a document in one format - for example HTML and have it converted to an output format - usually PDF


## Chaining

You should be able to produce most documentation outcomes by chaining generators and converters together. For example, to make a PDF from a HTML document populated with data, wed do something like this (pseudo-code)

``` python
html = html_converter.generate(data, html_string)
pdf = pdf_converter.from_html(html)
```

## Run tests

python -m unittest -v