Domify

Latest version: v0.4.5

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

Scan your dependencies

Page 2 of 2

0.3.0

Changed
- Remove upper bound on `typing-extensions`.
HTML spec
- Add the `blocking` attribute to `link`, `script` and `style` elements.
- Add the `inert` and `onbeforematch` global attributes.
- Update the allowed values of the `sandbox` attributes of `iframe` elements.
- Remove the deprecated `param` element.

0.2.0

Added
- Automatically prepend a `DOCTYPE` declaration to `<html>` elements. This behaviour can
be overridden using the `_prepend_doctype` keyword argument.
Changed
- Elements can be subscripted using slices, returning (or replacing/deleting) a slice of
their children.
- Attribute validators follow a different naming scheme (for example
`attribute_validators.bool_validator` is now `validators.attribute_bool`).

0.1.1

Added
- Treat `BaseElement` as a simple container, omitting the start and end tags when
rendering.
- Implement `BaseElement.insert()` to add children at a given position.
Removed
- `BaseElement.children` and `BaseElement.attributes` are no longer public.

0.1.0

- Initial release

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.