Funky Bomb

Use Native Python

from funkybomb import render, Template
from models import user_model

tmpl = Template()
table = tmpl.table

for user in user_model.get_all():
    row = table.tr
    row.td + user.first_name
    row.td + user.last_name

print(render(tmpl))

Create HTML Pages

<table>
    <tr>
        <td>John</td>
        <td>Doe</td>
    </tr>
    <tr>
        <td>Jane</td>
        <td>Doe</td>
    </tr>
</table>

That is it! No other HTML template or code involved.

It is easy to use

Funky Bomb has a small set of rules to build out DOM-like structures and reusable templates with native Python.

Learn more: Syntax, Templating, Utilities

Use Python syntax and patterns

Use normal programming patterns to build abstractions and construct more advanced HTML with the power of Python.

Common patterns: Abstraction, Composition, Reusability

Easy integration

Any web framework that uses strings for serving HTML can have Funky Bomb integrated, since Funky Bomb outputs HTML strings itself.

Examples: Flask