<filename>bootstrap-forms/FormFactory.py
from htmlfactory import *

cdns = [
    TagFactory(
        "script",
        src="https://code.jquery.com/"
        + "jquery-3.2.1.slim.min.js",
        integrity="<KEY>"
        + "<KEY>",
        crossorigin="anonymous"
    ),
    TagFactory(
        "script",
        src="https://cdnjs.cloudflare.com/ajax/"
        + "libs/popper.js/1.12.9/umd/popper.min.js",
        integrity="<KEY>"
        + <KEY>",
        crossorigin="anonymous"
    ),
    TagFactory(
        "script",
        src="https://maxcdn.bootstrapcdn.com/"
        + "bootstrap/4.0.0/js/bootstrap.min.js",
        integrity="<KEY>"
        + "<KEY>",
        crossorigin="anonymous"
    )
]

bodyTag = TagFactory("body", cdns)
print(bodyTag.pretty_str())


class FormFactory():
    pass
<filename>bootstrap-forms/FormFactory.py
from htmlfactory import *

cdns = [
    TagFactory(
        "script",
        src="https://code.jquery.com/"
        + "jquery-3.2.1.slim.min.js",
        integrity="<KEY>"
        + "<KEY>",
        crossorigin="anonymous"
    ),
    TagFactory(
        "script",
        src="https://cdnjs.cloudflare.com/ajax/"
        + "libs/popper.js/1.12.9/umd/popper.min.js",
        integrity="<KEY>"
        + <KEY>",
        crossorigin="anonymous"
    ),
    TagFactory(
        "script",
        src="https://maxcdn.bootstrapcdn.com/"
        + "bootstrap/4.0.0/js/bootstrap.min.js",
        integrity="<KEY>"
        + "<KEY>",
        crossorigin="anonymous"
    )
]

bodyTag = TagFactory("body", cdns)
print(bodyTag.pretty_str())


class FormFactory():
    pass