Htmldoom

Latest version: v1.0.1

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.0.1

- Updated the classifier to "Production/Stable"
- Support for lazy evaluation `render(p, p(), p()())`.

1.0.0

Add iterator support

Now we can do

python

renders(e.li()("{item}"))
def render_list_item(item):
return {"item": item}


renders(e.p()("{foo}"), e.ul()("{list_items}"))
def render_component():
return {
"foo": "bar",
"list_items": fn.foreach(["a", "b", "c"])(lambda x: render_list_item(x)),
}

0.10.0

- `htmldoom.value_loader` with `loadvalues` can scan a given path and
returns a namedtuple of contents.
- Run `make docs` to generate docs.

0.9.0

- `renders` decorated functions will return bytes.

0.8.0

- Major change: Values of the dict returned by a renderer function decorated with `renders` will be escaped by default.

0.7.3

- Some minor fixes

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.