Domonic

Latest version: v0.9.13

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

Scan your dependencies

Page 4 of 17

0.8.0

This one could cause a lot of breaking changes. pin your version to an older one if you are not ready for it.

basically tag is gone... (well It's now just pointer to dom.Node as a legacy helper.) . which means dom module is now king and the html module is just a wrapper.

This is great for lots of reasons. tag used the be the main class. but as the DOM evolved a wierd multi inheritence thing was starting to happen with overrides for all the init methods to be able to call super on each parent. anyway that's all gone. Now that DOM is mature I figured I could just extend node. Then decided to drop tag altogether. However there's still work to do and this is just the first step on the ladder.

On plus side logging will be nicer and it should be more optimal.

Also dom now has all the proper tag names for classes and html is just a wrapper around those. which changes how the classes were created before. The destruction of tag allowed for them to be easier created as base classes.

however there is some vestigal non standard methods now on Node as remains of tag. I'd rather hide these away. i.e. the 'content' method and some others. also 'name' instead of tagName is being used.

But it should be an improvement and make it easier to dev on. As always moving towards a more standard DOM.

Hope you enjoy it.

0.7.3

Made a start on HTMLCollection.

JSON class is gone in favour of just using the module. so you can use it with out doing JSON.JSON. (tho i doubt it gets much use anyway)

modified some internal methods. In long run will need to reverse some of them out from depending on querySelectorAll.

0.7.2

Increased testing to discover/fix bugs. Also added a new command to eval on terminal. Made Events module a bit better.

0.7.1

dialog tag was missing so now added.

NodeList hooked up

more type hints added

javascript references mostly removed from dom by using new webapi modules instead for URL

0.7.0

- added a package to make the dom universal . so you can import tags from other languages.

i.e.

from domonic.i18n.sw import *


- fixed domonic entry point. This means phasing out the old project bash script or having to set a domonic alias. not yet tested on windows.

means you can now do...


domonic -p someproject

0.6.9

window module was broken. not sure why. looks like a branch merge had gone wrong during reduction of modules in webapi.

fixed now. so if you have html5lib installed you can do...


from domonic.window import *
window.location = "https://www.somesite.com"
print(window.document.title)

Page 4 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.