π€ autodocsΒΆ
domonicΒΆ
A library for creating html
domonic.htmlΒΆ
Generate HTML using python.
- class domonic.html.a(*args, **kwargs)ΒΆ
- class domonic.html.abbr(*args, **kwargs)ΒΆ
- class domonic.html.address(*args, **kwargs)ΒΆ
- class domonic.html.applet(*args, **kwargs)ΒΆ
- class domonic.html.area(*args, **kwargs)ΒΆ
- class domonic.html.article(*args, **kwargs)ΒΆ
- class domonic.html.aside(*args, **kwargs)ΒΆ
- class domonic.html.audio(*args, autoplay: Optional[bool] = None, controls=None, loop=None, muted=None, preload=None, src=None, **kwargs)ΒΆ
- class domonic.html.b(*args, **kwargs)ΒΆ
- class domonic.html.base(*args, href=None, target=None, **kwargs)ΒΆ
- class domonic.html.basefont(*args, **kwargs)ΒΆ
- class domonic.html.bdi(*args, **kwargs)ΒΆ
- class domonic.html.bdo(*args, **kwargs)ΒΆ
- class domonic.html.blockquote(*args, **kwargs)ΒΆ
- class domonic.html.body(*args, aLink=None, background=None, bgColor=None, link=None, onload=None, onunload=None, text=None, vLink=None, **kwargs)ΒΆ
- class domonic.html.br(*args, **kwargs)ΒΆ
- class domonic.html.button(*args, disabled: Optional[bool] = None, form=None, formaction: Optional[str] = None, formenctype=None, formmethod=None, formnovalidate=None, formtarget=None, name=None, type=None, value=None, **kwargs)ΒΆ
- class domonic.html.canvas(*args, width: Optional[int] = None, height: Optional[int] = None, **kwargs)ΒΆ
- class domonic.html.center(*args, **kwargs)ΒΆ
- class domonic.html.cite(*args, **kwargs)ΒΆ
- class domonic.html.code(*args, **kwargs)ΒΆ
- class domonic.html.col(*args, **kwargs)ΒΆ
- class domonic.html.colgroup(*args, **kwargs)ΒΆ
- class domonic.html.command(*args, **kwargs)ΒΆ
- class domonic.html.comment(data)ΒΆ
- domonic.html.create_element(name='custom_tag', *args, **kwargs)[source]ΒΆ
A method for creating custom tags
tag name needs to be set due to custom tags with hyphens canβt be classnames. i.e. hypenated tags <some-custom-tag></some-custom-tag>
- class domonic.html.data(*args, **kwargs)ΒΆ
- class domonic.html.datalist(*args, **kwargs)ΒΆ
- class domonic.html.dd(*args, **kwargs)ΒΆ
- class domonic.html.details(*args, **kwargs)ΒΆ
- class domonic.html.dfn(*args, **kwargs)ΒΆ
- class domonic.html.dialog(*args, open=None, **kwargs)ΒΆ
- class domonic.html.div(*args, **kwargs)ΒΆ
- class domonic.html.dl(*args, **kwargs)ΒΆ
- class domonic.html.dt(*args, **kwargs)ΒΆ
- class domonic.html.em(*args, **kwargs)ΒΆ
- class domonic.html.embed(*args, **kwargs)ΒΆ
- class domonic.html.fieldset(*args, **kwargs)ΒΆ
- class domonic.html.figure(*args, **kwargs)ΒΆ
- class domonic.html.font(*args, **kwargs)ΒΆ
- class domonic.html.h1(*args, **kwargs)ΒΆ
- class domonic.html.h2(*args, **kwargs)ΒΆ
- class domonic.html.h3(*args, **kwargs)ΒΆ
- class domonic.html.h4(*args, **kwargs)ΒΆ
- class domonic.html.h5(*args, **kwargs)ΒΆ
- class domonic.html.h6(*args, **kwargs)ΒΆ
- class domonic.html.head(*args, **kwargs)ΒΆ
- class domonic.html.header(*args, **kwargs)ΒΆ
- class domonic.html.hgroup(*args, **kwargs)ΒΆ
- class domonic.html.hr(*args, **kwargs)ΒΆ
- class domonic.html.html(*args, **kwargs)ΒΆ
- class domonic.html.i(*args, **kwargs)ΒΆ
- class domonic.html.iframe(*args, **kwargs)ΒΆ
- class domonic.html.img(*args, alt=None, src=None, crossorigin=None, height=None, ismap=None, longdesc=None, sizes=None, srcset=None, usemap=None, width=None, **kwargs)ΒΆ
- class domonic.html.input(*args, accept=None, alt=None, autocomplete=None, autofocus=None, checked=None, dirname=None, disabled=None, form=None, formaction=None, formenctype=None, formmethod=None, formnovalidate=None, formtarget=None, height=None, _list=None, _max=None, maxlength=None, _min=None, multiple=None, name=None, pattern=None, placeholder=None, readonly=None, required=None, size=None, src=None, step=None, type=None, value=None, width=None, **kwargs)ΒΆ
- class domonic.html.ins(*args, **kwargs)ΒΆ
- class domonic.html.isindex(*args, **kwargs)ΒΆ
- class domonic.html.kbd(*args, **kwargs)ΒΆ
- class domonic.html.keygen(*args, **kwargs)ΒΆ
- class domonic.html.label(*args, **kwargs)ΒΆ
- class domonic.html.legend(*args, **kwargs)ΒΆ
- class domonic.html.li(*args, **kwargs)ΒΆ
- class domonic.html.link(*args, **kwargs)ΒΆ
- class domonic.html.listing(*args, **kwargs)ΒΆ
- class domonic.html.main(*args, **kwargs)ΒΆ
- class domonic.html.mark(*args, **kwargs)ΒΆ
- class domonic.html.meta(*args, charset=None, content=None, http_equiv=None, name=None, **kwargs)ΒΆ
- class domonic.html.meter(*args, value=None, _min=None, _max=None, low=None, high=None, optimum=None, **kwargs)ΒΆ
- class domonic.html.noscript(*args, **kwargs)ΒΆ
- class domonic.html.ol(*args, **kwargs)ΒΆ
- class domonic.html.optgroup(*args, **kwargs)ΒΆ
- class domonic.html.option(*args, disabled=None, label=None, selected=None, value=None, **kwargs)ΒΆ
- class domonic.html.output(*args, **kwargs)ΒΆ
- class domonic.html.p(*args, **kwargs)ΒΆ
- class domonic.html.param(*args, **kwargs)ΒΆ
- class domonic.html.picture(*args, **kwargs)ΒΆ
- class domonic.html.plaintext(*args, **kwargs)ΒΆ
- class domonic.html.portal(*args, **kwargs)ΒΆ
- class domonic.html.pre(*args, **kwargs)ΒΆ
- class domonic.html.progress(*args, **kwargs)ΒΆ
- class domonic.html.q(*args, **kwargs)ΒΆ
- class domonic.html.rp(*args, **kwargs)ΒΆ
- class domonic.html.rt(*args, **kwargs)ΒΆ
- class domonic.html.ruby(*args, **kwargs)ΒΆ
- class domonic.html.s(*args, **kwargs)ΒΆ
- class domonic.html.samp(*args, **kwargs)ΒΆ
- class domonic.html.script(*args, **kwargs)ΒΆ
- class domonic.html.section(*args, **kwargs)ΒΆ
- class domonic.html.select(*args, autofocus: Optional[bool] = None, disabled: Optional[bool] = None, multiple: Optional[bool] = None, name: Optional[str] = None, required: Optional[bool] = None, size: Optional[int] = None, **kwargs)ΒΆ
- class domonic.html.small(*args, **kwargs)ΒΆ
- class domonic.html.source(*args, **kwargs)ΒΆ
- class domonic.html.span(*args, **kwargs)ΒΆ
- class domonic.html.strike(*args, **kwargs)ΒΆ
- class domonic.html.strong(*args, **kwargs)ΒΆ
- class domonic.html.style(*args, **kwargs)ΒΆ
- class domonic.html.sub(*args, **kwargs)ΒΆ
- class domonic.html.submit(*args, **kwargs)ΒΆ
- class domonic.html.summary(*args, **kwargs)ΒΆ
- class domonic.html.sup(*args, **kwargs)ΒΆ
- class domonic.html.table(*args, align: Optional[str] = None, bgcolor=None, border=None, cellpadding=None, cellspacing=None, frame=None, rules=None, summary=None, width=None, **kwargs)ΒΆ
- class domonic.html.tbody(*args, **kwargs)ΒΆ
- class domonic.html.td(*args, **kwargs)ΒΆ
- class domonic.html.template(*args, **kwargs)ΒΆ
- class domonic.html.textarea(*args, autofocus=None, cols=None, disabled=None, form=None, maxlength=None, name=None, placeholder=None, readonly=None, required=None, rows=None, wrap=None, **kwargs)ΒΆ
- class domonic.html.tfoot(*args, **kwargs)ΒΆ
- class domonic.html.th(*args, **kwargs)ΒΆ
- class domonic.html.thead(*args, **kwargs)ΒΆ
- class domonic.html.title(*args, **kwargs)ΒΆ
- class domonic.html.tr(*args, **kwargs)ΒΆ
- class domonic.html.track(*args, **kwargs)ΒΆ
- class domonic.html.u(*args, **kwargs)ΒΆ
- class domonic.html.ul(*args, **kwargs)ΒΆ
- class domonic.html.var(*args, **kwargs)ΒΆ
- class domonic.html.video(*args, autoplay=None, controls=None, height=None, loop=None, muted=None, poster=None, preload=None, src=None, width=None, **kwargs)ΒΆ
- class domonic.html.wbr(*args, **kwargs)ΒΆ
- class domonic.html.xmp(*args, **kwargs)ΒΆ
domonic.domΒΆ
The DOM represents a document with a logical tree. https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model
- class domonic.dom.CharacterData(*args, **kwargs)[source]ΒΆ
The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there arenβt any objects of type CharacterData: it is implemented by other interfaces like Text, Comment, or ProcessingInstruction, which arenβt abstract.
- after(newChild)ΒΆ
Inserts a newChild node immediately after this ChildNode.
- appendData(data)[source]ΒΆ
Appends the given DOMString to the CharacterData.data string; when this method returns, data contains the concatenated DOMString.
- before(newChild)ΒΆ
Inserts a newChild node immediately before this ChildNode.
- deleteData(offset: int, count: int)[source]ΒΆ
Removes the specified amount of characters, starting at the specified offset, from the CharacterData.data string; when this method returns, data contains the shortened DOMString.
- insertData(offset: int, data)[source]ΒΆ
Inserts the specified characters, at the specified offset, in the CharacterData.data string; when this method returns, data contains the modified DOMString.
- property nextElementSiblingΒΆ
Returns the next element at the same node tree level
- property previousElementSiblingΒΆ
returns the Element immediately prior to the specified one in its parentβs children list, or None if the specified element is the first one in the list.
- remove()ΒΆ
Removes this ChildNode from the children list of its parent.
- replaceData(offset: int, count: int, data)[source]ΒΆ
Replaces the specified amount of characters, starting at the specified offset, with the specified DOMString; when this method returns, data contains the modified DOMString.
- replaceWith(newChild)ΒΆ
Replaces this ChildNode with a new one.
- class domonic.dom.DOMConfig[source]ΒΆ
DOMConfig: Not to be confused with the obsolete DOMConfiguration.
This class is used to set some global rules for our dom.
GLOBAL_AUTOESCAPE - If this is set to True, then all text nodes will be automatically escaped. HTML5_MODE - doesnβt render close tags on certain elements HTMX_ENABLED - inludes htmx attributes into domonic for quicker notation
- exception domonic.dom.DOMException(code, message: Optional[str] = None)[source]ΒΆ
The DOMException interface represents an anormal event related to the DOM.
- class domonic.dom.DOMPoint(x: float, y: float, z: float = 0, w: float = 1)[source]ΒΆ
The DOMPoint interface represents a point specified by x and y coordinates.
- class domonic.dom.DOMPointReadOnly(x: float, y: float, z: float = 0, w: float = 1)[source]ΒΆ
The DOMPointReadOnly interface represents a point specified by x and y coordinates.
- class domonic.dom.DOMQuad(p1, p2, p3, p4)[source]ΒΆ
The DOMQuad interface represents a quadrilateral on the plane with its four corners represented as Cartesian coordinates.
- class domonic.dom.DOMStringMap(*args, **kwargs)[source]ΒΆ
TODO - not tested yet TODO - make this like a dict
- class domonic.dom.DOMTimeStamp(value)[source]ΒΆ
The DOMTimeStamp interface represents a numeric value which represents the number of milliseconds since the epoch.
- class domonic.dom.DOMTokenList(element: Node)[source]ΒΆ
DOMTokenList represents a set of space-separated tokens.
- class domonic.dom.Document(*args, **kwargs)[source]ΒΆ
The Document interface represents the entire HTML or XML document.
- property anchorsΒΆ
[get the anchors in the document]
- property appletsΒΆ
Returns a collection of all <applet> elements in the document
- property bodyΒΆ
Returns the <body> element in the document
- property characterSetΒΆ
Returns the character encoding for the document
- property charsetΒΆ
Use characterSet instead.
- Type
Returns the character encoding for the document. Deprecated
- static createDocumentFragment(*args)[source]ΒΆ
Creates an empty DocumentFragment node if not content passed. I added args as optional to pass content
- static createElementNS(namespaceURI, qualifiedName, options=None)[source]ΒΆ
Creates an element with the specified namespace URI and qualified name.
- static createEntityReference(name)[source]ΒΆ
Creates an EntityReference node with the specified name
- static createExpression(xpath, nsResolver)[source]ΒΆ
Creates an XPathExpression object for the given XPath string.
- static createNodeIterator(root, whatToShow=None, filter=None)[source]ΒΆ
Creates a NodeIterator that can be used to traverse the document tree or subtree under root.
- static createProcessingInstruction(target, data)[source]ΒΆ
Creates a ProcessingInstruction node with the specified target and data
- static createTreeWalker(root, whatToShow=None, filter=None, entityReferenceExpansion=None)[source]ΒΆ
[creates a TreeWalker object]
- Parameters
- Returns
[a new TreeWalker object]
- Return type
[type]
- property doctypeΒΆ
Returns the Document Type Declaration associated with the document
- property embedsΒΆ
[Returns a collection of all <embed> elements the document]
- Returns
[a collection of all <embed> elements the document]
- Return type
[type]
- evaluate(xpathExpression: str, contextNode: Optional[Node] = None, namespaceResolver=None, resultType=7, result=None)[source]ΒΆ
Evaluates an XPath expression and returns the result.
- property formsΒΆ
Returns a collection of all <form> elements in the document
- fullscreenEnabled()[source]ΒΆ
Returns a Boolean value indicating whether the document can be viewed in fullscreen mode
- getElementById(_id)[source]ΒΆ
[Returns the element that has the ID attribute with the specified value]
- getElementsByName(name: str)[source]ΒΆ
[Returns a NodeList containing all elements with a specified name]
- property head: HTMLHeadElementΒΆ
Returns the <head> element of the document
- property imagesΒΆ
Returns a collection of all <img> elements in the document
- property implementationΒΆ
Returns the DOMImplementation object that handles this document
- property linksΒΆ
Returns a collection of all <a> and <area> elements in the document that have a href attribute
- open(index='index.html')[source]ΒΆ
Opens an HTML output stream to collect output from document.write()
- property pictureInPictureEnabledΒΆ
Returns whether Picture-in-Picture mode is enabled.
- renameNode(node, namespaceURI: str, nodename: str)[source]ΒΆ
[Renames the specified node, and returns the renamed node.]
- property scriptsΒΆ
[Returns a collection of <script> elements in the document]
- Returns
[a collection of <script> elements in the document]
- Return type
[type]
- strictErrorChecking()[source]ΒΆ
Returns a Boolean value indicating whether to stop on the first error
- property title: strΒΆ
[gets the title of the document]
- Returns
The title of the document
- Return type
[str]
- property visibilityStateΒΆ
Returns the visibility state of the document
- write(html: str = '')[source]ΒΆ
[writes HTML text to a document
- Parameters
html (str, optional) β [the content to write to the document]
- writeln(html: str = '')[source]ΒΆ
[writes HTML text to a document, followed by a line break]
- Parameters
html (str, optional) β [the content to write to the document]
- property xmlversionΒΆ
Returns the version of XML used for the document
- class domonic.dom.DocumentFragment(*args)[source]ΒΆ
- property attributes: NamedNodeMapΒΆ
Returns a NamedNodeMap of an elementβs attributes
- getElementById(_id)ΒΆ
[Returns the element that has the ID attribute with the specified value]
- getElementsByTagName(tagName: str) HTMLCollection ΒΆ
[Returns a collection of all child elements with the specified tag name
- querySelector(query: str)ΒΆ
[Returns the first child element that matches a specified CSS selector(s) of an element]
- class domonic.dom.DocumentType(name: str = 'html', publicId: str = '', systemId: str = '')[source]ΒΆ
- class domonic.dom.Element(*args, **kwargs)[source]ΒΆ
Baseclass for all html tags
- append(*args)[source]ΒΆ
Inserts a set of Node objects or DOMString objects after the last child of the Element.
- property attributes: NamedNodeMapΒΆ
Returns a NamedNodeMap of an elementβs attributes
- property classListΒΆ
Returns the value of the classList attribute of an element
- property classNameΒΆ
Sets or returns the value of the className attribute of an element
- property clientHeightΒΆ
Returns the height of an element, including padding
- property clientLeftΒΆ
Returns the width of the left border of an element
- property clientTopΒΆ
Returns the width of the top border of an element
- property clientWidthΒΆ
Returns the width of an element, including padding
- property datasetΒΆ
Returns the value of the dataset attribute of an element
- property dirΒΆ
returns the value of the dir attribute of an element
- getAttribute(attribute: str) str [source]ΒΆ
Returns the specified attribute value of an element node
- getBoundingClientRect()[source]ΒΆ
Returns the size of an element and its position relative to the viewport
- getElementsByClassName(className: str) HTMLCollection [source]ΒΆ
[Returns a collection of all child elements with the specified class name]
- getElementsBySelector(all_selectors, document)[source]ΒΆ
Get DOM elements based on the given CSS Selector https://simonwillison.net/2003/Mar/25/getElementsBySelector/ < original author http://www.openjs.com/scripts/dom/css_selector/ < ported to support β,β https://bin-co.com/python/scripts/getelementsbyselector-html-css-query.php < ported to py2 (broken/bugs) BSD LICENSED
note - always needs a tag in the query i.e. (βa.classnameβ) will work. but just (β.classnameβ) wont
fixed and ported to py3 here. quite cool means other peoples code works on my dom # TODO - needs to work in conjuctions with _matchElement so querySelector works a bit better and dQuery picks it up # TOOD - *= node content
- getElementsByTagName(tagName: str) HTMLCollection [source]ΒΆ
[Returns a collection of all child elements with the specified tag name
- hasAttribute(attribute: str) bool [source]ΒΆ
Returns True if an element has the specified attribute, otherwise False
- property idΒΆ
Sets or returns the value of the id attribute of an element
- property innerHTMLΒΆ
Sets or returns the content of an element
- insertAdjacentElement(position: str, element)[source]ΒΆ
Inserts an element adjacent to the current element
- insertAdjacentHTML(position: str, html: str)[source]ΒΆ
Inserts raw HTML adjacent to the current element
- isContentEditable() bool [source]ΒΆ
Returns true if the content of an element is editable, otherwise false
- lastElementChild()[source]ΒΆ
[Returns the last child element of an element]
- Returns
[the last child element of an element]
- Return type
[type]
- matches(s: str) bool [source]ΒΆ
[checks to see if the Element would be selected by the provided selectorString]
https://developer.mozilla.org/en-US/docs/Web/API/Element/matches
- property nextElementSiblingΒΆ
Returns the next element at the same node tree level
- property nextSiblingΒΆ
Returns the next node at the same node tree level
- property parentElementΒΆ
Returns the parent element node of an element
- property previousElementSiblingΒΆ
returns the Element immediately prior to the specified one in its parentβs children list, or None if the specified element is the first one in the list.
- querySelector(query: str)[source]ΒΆ
[Returns the first child element that matches a specified CSS selector(s) of an element]
- querySelectorAll(query: str)[source]ΒΆ
[Returns all child elements that matches a specified CSS selector(s) of an element]
- removeAttributeNode(attribute)[source]ΒΆ
Removes a specified attribute node, and returns the removed node
- scrollIntoView()[source]ΒΆ
Scrolls the specified element into the visible area of the browser window
- scrollLeft()[source]ΒΆ
Sets or returns the number of pixels an elementβs content is scrolled horizontally
- scrollTop()[source]ΒΆ
Sets or returns the number of pixels an elementβs content is scrolled vertically
- setAttribute(attribute, value)[source]ΒΆ
Sets or changes the specified attribute, to the specified value
- setAttributeNode(attr)[source]ΒΆ
[Sets or changes the specified attribute node]
- Parameters
attr ([type]) β [an Attr object]
- property styleΒΆ
returns the value of the style attribute of an element
- property titleΒΆ
returns the value of the title attribute of an element
- class domonic.dom.Entity(*args)[source]ΒΆ
- class domonic.dom.EntityReference(*args)[source]ΒΆ
The EntityReference interface represents a reference to an entity, either parsed or unparsed, in an Entity Node. Note that this is not a CharacterData node, and does not have any child nodes.
- class domonic.dom.HTMLAudioElement(*args, autoplay: Optional[bool] = None, controls=None, loop=None, muted=None, preload=None, src=None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLBodyElement(*args, aLink=None, background=None, bgColor=None, link=None, onload=None, onunload=None, text=None, vLink=None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLButtonElement(*args, disabled: Optional[bool] = None, form=None, formaction: Optional[str] = None, formenctype=None, formmethod=None, formnovalidate=None, formtarget=None, name=None, type=None, value=None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLCanvasElement(*args, width: Optional[int] = None, height: Optional[int] = None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLCollection(iterable=(), /)[source]ΒΆ
- class domonic.dom.HTMLFormElement(*args, action: Optional[str] = None, autocomplete=None, enctype: Optional[str] = None, method: Optional[str] = None, name: Optional[str] = None, novalidate: Optional[bool] = None, target=None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLIFrameElement(*args, src=None, name=None, sandbox=None, allowfullscreen=None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLImageElement(*args, alt=None, src=None, crossorigin=None, height=None, ismap=None, longdesc=None, sizes=None, srcset=None, usemap=None, width=None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLInputElement(*args, accept=None, alt=None, autocomplete=None, autofocus=None, checked=None, dirname=None, disabled=None, form=None, formaction=None, formenctype=None, formmethod=None, formnovalidate=None, formtarget=None, height=None, _list=None, _max=None, maxlength=None, _min=None, multiple=None, name=None, pattern=None, placeholder=None, readonly=None, required=None, size=None, src=None, step=None, type=None, value=None, width=None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLMetaElement(*args, charset=None, content=None, http_equiv=None, name=None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLMeterElement(*args, value=None, _min=None, _max=None, low=None, high=None, optimum=None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLOptionElement(*args, disabled=None, label=None, selected=None, value=None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLSelectElement(*args, autofocus: Optional[bool] = None, disabled: Optional[bool] = None, multiple: Optional[bool] = None, name: Optional[str] = None, required: Optional[bool] = None, size: Optional[int] = None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLTableElement(*args, align: Optional[str] = None, bgcolor=None, border=None, cellpadding=None, cellspacing=None, frame=None, rules=None, summary=None, width=None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLTextAreaElement(*args, autofocus=None, cols=None, disabled=None, form=None, maxlength=None, name=None, placeholder=None, readonly=None, required=None, rows=None, wrap=None, **kwargs)[source]ΒΆ
- class domonic.dom.HTMLVideoElement(*args, autoplay=None, controls=None, height=None, loop=None, muted=None, poster=None, preload=None, src=None, width=None, **kwargs)[source]ΒΆ
- class domonic.dom.Node(*args, **kwargs)[source]ΒΆ
An abstract base class upon which many other DOM API objects are based
- appendChild(aChild: Node) Node [source]ΒΆ
Adds a child to the current element. If item is a DocumentFragment, all its children are added.
- Parameters
item (Node) β The Node to add.
- property attribΒΆ
Returns the attributes of the current node as a dict not a NamedNodeMap
- property childrenΒΆ
Returns a collection of an elementβs child element (excluding text and comment nodes)
- compareDocumentPosition(otherElement) int [source]ΒΆ
An integer value representing otherNodeβs position relative to node as a bitmask combining the following constant properties of Node:
https://stackoverflow.com/questions/8334286/cross-browser-compare-document-position
- property firstChildΒΆ
Returns the first child node of an element
- insertBefore(new_node, reference_node=None)[source]ΒΆ
inserts a node before a reference node as a child of a specified parent node. this will remove the node from its previous parent node, if any.
# TODO - can throw value error if wrong ordered params. may be helpful to catch to say so.
- iter(tag=None)[source]ΒΆ
Creates a tree iterator with the current element as the root. The iterator iterates over this element and all elements below it, in document (depth first) order. If tag is not None or β*β, only elements whose tag equals tag are returned from the iterator. If the tree structure is modified during iteration, the result is undefined.
- property lastChildΒΆ
Returns the last child node of an element
- lookupNamespaceURI(ns: str)[source]ΒΆ
Returns the namespace URI for a given prefix
- Parameters
ns β prefix - i.e βxmlβ, βxlinkβ, βsvgβ, etc
- property nextSiblingΒΆ
[returns the next sibling of the current node.]
- property nodeNameΒΆ
Returns the name of a node
- property nodeValueΒΆ
Sets or returns the value of a node
- property ownerDocumentΒΆ
Returns the root element (document object) for an element
- property previousSiblingΒΆ
[returns the previous sibling of the current node.]
- property rootNodeΒΆ
[read-only property returns a Node object representing the topmost node in the tree, or the current node if itβs the topmost node in the tree]
- Returns
[the topmost Node in the tree]
- Return type
[Node]
- property tagΒΆ
Returns the tag name of the current node
- property tailΒΆ
Returns the text content of the current node
- property textΒΆ
Returns the text content of the current node
- property textContentΒΆ
Returns the text content of a node and its descendants
- class domonic.dom.NodeIterator(root, whatToShow=4294967295, filter=None, entityReferenceExpansion=False)[source]ΒΆ
[NodeIterator is an iterator object that iterates over the descendants of a node, in tree order.]
- class domonic.dom.NodeList(iterable=(), /)[source]ΒΆ
NodeList objects are collections of nodes
- entries() Iterable[Tuple[int, Node]] [source]ΒΆ
Returns an iterator, allowing code to go through all key/value pairs contained in the collection. (In this case, the keys are numbers starting from 0 and the values are nodes.
- item(index) Node [source]ΒΆ
Returns an item in the list by its index, or null if the index is out-of-bounds.
- class domonic.dom.ParentNode(*args, **kwargs)[source]ΒΆ
not tested yet
- property firstElementChildΒΆ
First Element child node.
- property lastElementChildΒΆ
Last Element child node.
- class domonic.dom.RadioNodeList(name: str)[source]ΒΆ
- property valueΒΆ
Returns the value of the first element in the collection, or null if there are no elements in the collection.
- class domonic.dom.ShadowRoot(host, mode='open')[source]ΒΆ
property on element that has hidden DOM
- class domonic.dom.Text(*args, **kwargs)[source]ΒΆ
Text Node
- property assignedSlotΒΆ
Returns the slot whose assignedNodes contains this node.
- property childNodesΒΆ
Returns a live NodeList containing all the children of this node
- property firstChildΒΆ
Returns the first child node of an element
- property nodeNameΒΆ
Returns the name of a node
- splitText(offset: int)[source]ΒΆ
Splits the Text node into two Text nodes at the specified offset, keeping both in the tree as siblings. The first node is returned, while the second node is discarded and exists outside the tree.
- property wholeTextΒΆ
Returns a DOMString containing all the text content of the node and its descendants.
- class domonic.dom.TreeWalker(node, whatToShow=4294967295, _filter=None, expandEntityReferences=False)[source]ΒΆ
The TreeWalker object represents the nodes of a document subtree and a position within them.
- firstChild()[source]ΒΆ
Moves the current Node to the first visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed.
- lastChild()[source]ΒΆ
Moves the current Node to the last visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, null is returned and the current node is not changed.
- nextNode()[source]ΒΆ
Moves the current Node to the next visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists, returns None and the current node is not changed. can be used in a while loop to iterate over all the nodes in the document order.
- nextSibling()[source]ΒΆ
Moves the current Node to its next sibling, if any, and returns the found sibling. If there is no such node, null is returned and the current node is not changed.
- parentNode()[source]ΒΆ
Moves the current Node to the first visible ancestor node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists, or if it is before that the root node defined at the object construction, returns null and the current node is not changed.
- previousNode()[source]ΒΆ
Moves the current Node to the previous visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists, or if it is before that the root node defined at the object construction, returns null and the current node is not changed.
- previousSibling()[source]ΒΆ
Moves the current Node to its previous sibling, if any, and returns the found sibling. If there is no such node, return null and the current node is not changed.
- property rootΒΆ
Returns a Node representing the root node as specified when the TreeWalker was created.
- treeΒΆ
Is a boolean value indicating, when discarding an entity reference its whole sub-tree must be discarded at the same time.
- domonic.dom.consoleΒΆ
# self.screen = type(βscreenβ, (DOM,), {βnameβ:βscreenβ})
domonic.javascriptΒΆ
- class domonic.javascript.Array(*args)[source]ΒΆ
javascript array
- at(index: int)[source]ΒΆ
[takes an integer value and returns the item at that index, allowing for positive and negative integers. Negative integers count back from the last item in the array.]
- concat(*args)[source]ΒΆ
[Joins two or more arrays, and returns a copy of the joined arrays]
- Returns
[returns a copy of the joined arrays]
- Return type
[list]
- copyWithin(target, start=0, end=None)[source]ΒΆ
Copies array elements within the array, from start to end
- entries()[source]ΒΆ
[Returns a key/value pair Array Iteration Object]
- Yields
[type] β [key/value pair]
- fill(value=None, start=None, end=None)[source]ΒΆ
[Fills elements of an array from a start index to an end index with a static value]
- filter(func)[source]ΒΆ
Creates a new array with every element in an array that pass a test i.e. even_numbers = someArr.filter( lambda x: x % 2 == 0 )
- findLastIndex(callback)[source]ΒΆ
[Returns the last index of an element in an array that passes a test]
- groupBy(callback) dict [source]ΒΆ
[Groups the elements of an array according to the result of calling a callback function on each element]
- Parameters
callback (callable) β [the callback recieves the following paramters(value, index, target)]
- Returns
[a dictionary of arrays]
- Return type
[dict]
- includes(value)[source]ΒΆ
[Check if an array contains the specified item
- Parameters
value ([any]) β [any value]
- Returns
[a boolean]
- Return type
[bool]
- lastIndexOf(value)[source]ΒΆ
Search the array for an element, starting at the end, and returns its position
- property lengthΒΆ
Sets or returns the number of elements in an array
- map(func)[source]ΒΆ
[Creates a new array with the result of calling a function for each array element]
- static of(*args)[source]ΒΆ
Creates a new Array instance with a variable number of arguments, regardless of number or type of the arguments.
- reduce(callback, initialValue=None)[source]ΒΆ
Reduces the array to a single value (going left-to-right) callback recieve theses parameters: previousValue, currentValue, currentIndex, array
- reduceRight(callback, initialValue=None)[source]ΒΆ
Reduces the array to a single value (going right-to-left) callback recieve theses parameters: previousValue, currentValue, currentIndex, array
- shift()[source]ΒΆ
[removes the first element from an array and returns that removed element]
- Returns
[the removed array element]
- Return type
[type]
- class domonic.javascript.Boolean(value=False)[source]ΒΆ
[Creates a Boolean Object. Warning this is NOT a boolean type. for that use Global.Boolean()]
- class domonic.javascript.Date(date=None, *args, formatter='python', **kwargs)[source]ΒΆ
javascript date
- UTC()[source]ΒΆ
Returns the number of milliseconds in a date since midnight of January 1, 1970, according to UTC time
- getDay()[source]ΒΆ
Returns the day of the week (from 0-6 : Sunday-Saturday)
- Returns
An integer number, between 0 and 6, corresponding to the day of the week for the given date, according to local time: 0 for Sunday, 1 for Monday, 2 for Tuesday, and so on
- Return type
- getTime()[source]ΒΆ
Returns A number representing the milliseconds elapsed between 1 January 1970 00:00:00 UTC and self.date
- getTimezoneOffset()[source]ΒΆ
Returns the difference, in minutes, between a date as evaluated in the UTC time zone, and the same date as evaluated in the local time zone
- static parse(date_string)[source]ΒΆ
Parses a date string and returns the number of milliseconds since January 1, 1970
- setFullYear(yearValue: int, monthValue: Optional[int] = None, dateValue: Optional[int] = None)[source]ΒΆ
Sets the year of a date object
- setHours(hoursValue: int, minutesValue: Optional[int] = None, secondsValue: Optional[int] = None, msValue: Optional[int] = None)[source]ΒΆ
Sets the hour of a date object
- Parameters
- Returns
milliseconds between epoch and updated date.
- Return type
- setMilliseconds(milliseconds: int)[source]ΒΆ
Sets the milliseconds of a date object
- Parameters
milliseconds (int) β Milliseconds to set i.e 123
- setMinutes(minutesValue: int, secondsValue: Optional[int] = None, msValue: Optional[int] = None)[source]ΒΆ
Set the minutes of a date object
- setSeconds(secondsValue: int, msValue: Optional[int] = None)[source]ΒΆ
Sets the seconds of a date object
- setTime(milliseconds: Optional[int] = None)[source]ΒΆ
Sets the date and time of a date object
- Parameters
milliseconds (_type_, optional) β _description_. Defaults to None.
- Returns
_description_
- Return type
_type_
- setUTCMilliseconds(milliseconds)[source]ΒΆ
Sets the milliseconds of a date object, according to universal time
- toLocaleDateString()[source]ΒΆ
Returns the date portion of a Date object as a string, using locale conventions
- class domonic.javascript.Function(func, *args, **kwargs)[source]ΒΆ
a Function object
- apply(thisArg=None, args=None, **kwargs)[source]ΒΆ
[calls a function with a given this value, and arguments provided as an array]
- bind(thisArg, *args, **kwargs)[source]ΒΆ
[creates a new function that, when called, has its this keyword set to the provided value, with a given sequence of arguments preceding any provided when the new function is called.]
- class domonic.javascript.Global[source]ΒΆ
javascript global methods
- static clearTimeout(timeoutID)[source]ΒΆ
[cancels a timer set with setTimeout()]
- Parameters
timeoutID ([str]) β [the identifier returned by setTimeout()]
- class domonic.javascript.Job(interval, execute, *args, **kwargs)[source]ΒΆ
- run()[source]ΒΆ
Method representing the threadβs activity.
You may override this method in a subclass. The standard run() method invokes the callable object passed to the objectβs constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.
- class domonic.javascript.Map(collection)[source]ΒΆ
Map holds key-value pairs and remembers the original insertion order of the keys.
- delete(key: str) bool [source]ΒΆ
Returns true if an element in the Map object existed and has been removed, or false if the element does not exist. Map.prototype.has(key) will return false afterwards.
- entries()[source]ΒΆ
Returns a new Iterator object that contains an array of [key, value] for each element in the Map object in insertion order.
- get(key: str, default=None)[source]ΒΆ
Returns the value associated to the key, or undefined if there is none.
- has(key: str) bool [source]ΒΆ
Returns a boolean asserting whether a value has been associated to the key in the Map object or not.
- keys()[source]ΒΆ
Returns a new Iterator object that contains the keys for each element in the Map object in insertion order.
- class domonic.javascript.Math(obj=None, *args, **kwargs)[source]ΒΆ
Math class that mirrors javascript implementation.
i.e. you can pass strings and it will also work, Math.abs(β-1β)
- class domonic.javascript.Number(x='', *args, **kwargs)[source]ΒΆ
javascript Number methods
- NEGATIVE_INFINITY = infΒΆ
Represents negative infinity (returned on overflow) Number
- POSITIVE_INFINITY = -infΒΆ
Represents infinity (returned on overflow) Number
- class domonic.javascript.Reflect[source]ΒΆ
The Reflect object provides the following static functions which have the same names as the proxy handler methods. Some of these methods are also the same as corresponding methods on Object, although they do have some subtle differences between them.
- static apply(target, thisArgument, argumentsList)[source]ΒΆ
Calls a target function with arguments as specified by the argumentsList parameter. See also Function.prototype.apply().
- static construct(target, argumentsList, newTarget)[source]ΒΆ
The new operator as a function. Equivalent to calling new target(β¦argumentsList). Also provides the option to specify a different prototype.
- static defineProperty(target, propertyKey, attributes)[source]ΒΆ
Similar to Object.defineProperty(). Returns a Boolean that is true if the property was successfully defined.
- static deleteProperty(target, propertyKey)[source]ΒΆ
The delete operator as a function. Equivalent to calling delete target[propertyKey].
- static get(target, propertyKey, receiver)[source]ΒΆ
Returns the value of the property. Works like getting a property from an object (target[propertyKey]) as a function.
- static getOwnPropertyDescriptor(target, propertyKey)[source]ΒΆ
Similar to Object.getOwnPropertyDescriptor(). Returns a property descriptor of the given property if it exists on the object, undefined otherwise.
- getPrototypeOf()ΒΆ
Returns the prototype (internal [[Prototype]] property) of the specified object.
- static has(target, propertyKey)[source]ΒΆ
Returns a Boolean indicating whether the target has the property. Either as own or inherited. Works like the in operator as a function.
- static ownKeys(target)[source]ΒΆ
Returns an array of the target objectβs own (not inherited) property keys.
- static preventExtensions(target)[source]ΒΆ
Similar to Object.preventExtensions(). Returns a Boolean that is true if the update was successful.
- class domonic.javascript.String(x='', *args, **kwargs)[source]ΒΆ
javascript String methods
- blink()[source]ΒΆ
[wraps the string in blink tags]
- Returns
[the string in blink tags]
- Return type
[str]
- bold()[source]ΒΆ
[wraps the string in bold tags]
- Returns
[the string in bold tags]
- Return type
[str]
- codePointAt(index: int)[source]ΒΆ
[Returns the Unicode code point at the specified index (position)]
- compile(pattern: str)[source]ΒΆ
Searches a string for a specified value, or a regular expression, and returns a new string where the specified values are replaced. only replaces first one.
- concat(*args, seperator: str = '') str [source]ΒΆ
[concatenates the string arguments to the calling string and returns a new string.]
- div(*args, **kwargs)[source]ΒΆ
[wraps the string in a div tag]
- Returns
[the string in a div tag]
- Return type
[str]
- endsWith(x: str, start: Optional[int] = None, end: Optional[int] = None) bool [source]ΒΆ
Checks whether a string ends with specified string/characters
- fixed()[source]ΒΆ
[wraps the string in fixed tags]
- Returns
[the string in fixed tags]
- Return type
[str]
- fromCharCode(*codes) str [source]ΒΆ
returns a string created from the specified sequence of UTF-16 code units
- includes(searchValue: str, position: int = 0) bool [source]ΒΆ
[returns true if the specified string is found within the calling String object,]
- indexOf(searchValue: str, fromIndex: int = 0)[source]ΒΆ
[returns the index within the calling String object of the first occurrence of the specified value, starting the search at fromIndex ]
- italics()[source]ΒΆ
[wraps the string in italics tags]
- Returns
[the string in italics tags]
- Return type
[str]
- lastIndexOf(searchValue: str, fromIndex: int = 0)[source]ΒΆ
returns the last index within the calling String object of the first occurrence of the specified value, starting the search at fromIndex
- localeCompare(comparisonString: str, locale: Optional[str] = None, *args) int [source]ΒΆ
method returns a number indicating whether a reference string comes before, or after, or is the same as the given string in sort order
- match(pattern: str)[source]ΒΆ
Searches a string for a specified value, or a regular expression, and returns a new string where the specified values are replaced. only replaces first one.
- matchAll(pattern: str)[source]ΒΆ
Searches a string for a specified value, or a regular expression, and returns a new string where the specified values are replaced. only replaces first one.
- padEnd(length: int, padChar: str = ' ') str [source]ΒΆ
[Pads the end of a string with a specified character (repeated, if needed) to create a new string.]
- padStart(length: int, padChar: str = ' ') str [source]ΒΆ
[Pads the start of a string with a specified character]
- repeat(count: int) str [source]ΒΆ
Returns a new string with a specified number of copies of an existing string
- replace(old: str, new) str [source]ΒΆ
Searches a string for a specified value, or a regular expression, and returns a new string where the specified values are replaced. only replaces first one.
- replaceAll(old: str, new: str)[source]ΒΆ
[returns a new string where the specified values are replaced. ES2021]
- search(searchValue: str, position: int = 0) bool [source]ΒΆ
[returns true if the specified string is found within the calling String object,] starting at the specified position. :param searchValue: [The string value to search for.] :type searchValue: str :param position: [the position to search from]. Defaults to 0. :type position: int, optional
- Returns
[a boolean value indicating whether the search value was found.]
- Return type
[type]
- slice(start: int = 0, end: Optional[int] = None) str [source]ΒΆ
Selects a part of an string, and returns the new string
- small()[source]ΒΆ
[wraps the string in small tags]
- Returns
[the string in small tags]
- Return type
[str]
- startsWith(x: str, start: Optional[int] = None, end: Optional[int] = None) bool [source]ΒΆ
Checks whether a string begins with specified characters
- strike()[source]ΒΆ
[wraps the string in strike tags]
- Returns
[the string in strike tags]
- Return type
[str]
- substr(start: int = 0, end: Optional[int] = None)[source]ΒΆ
Extracts the characters from a string, beginning at a specified start position, and through the specified number of character
- substring(start: int, end: Optional[int] = None) str [source]ΒΆ
Extracts the characters from a string, between two specified indices
- toLocaleLowerCase() str [source]ΒΆ
Converts a string to lowercase letters, according to the hostβs locale
- toLocaleUpperCase() str [source]ΒΆ
Converts a string to uppercase letters, according to the hostβs locale
- class domonic.javascript.Window(*args, **kwargs)[source]ΒΆ
window
- clearTimeout()ΒΆ
[cancels a timer set with setTimeout()]
- Parameters
timeoutID ([str]) β [the identifier returned by setTimeout()]
- static prompt(msg, default_text='')[source]ΒΆ
Displays a dialog box that prompts the visitor for input
- class domonic.javascript.Worker(script)[source]ΒΆ
[A background task that can be created via script, which can send messages back to its creator. Creating a worker is done by calling the Worker(βpath/to/worker/scriptβ) constructor.] TODO - JSWorker - Node :param object: [takes a path to a python script] :type object: [str]
- domonic.javascript.as_signed(value, bits)[source]ΒΆ
Converts an unsigned integer to a signed integer.
- domonic.javascript.clearTimeout(timeoutID)ΒΆ
[cancels a timer set with setTimeout()]
- Parameters
timeoutID ([str]) β [the identifier returned by setTimeout()]
- domonic.javascript.decodeURI(x)ΒΆ
Decodes a URI
- domonic.javascript.decodeURIComponent(x)ΒΆ
Decodes a URI component
- domonic.javascript.encodeURI(x)ΒΆ
Encodes a URI
- domonic.javascript.encodeURIComponent(x)ΒΆ
Encodes a URI component
- domonic.javascript.function(python_str: str) str [source]ΒΆ
[evals a string i.e.
sup = function(βββprint(hi)βββ) sup()
]
- Parameters
python_str ([str]) β [some valid python code as a string]
- domonic.javascript.setTimeout(callback, t, *args, **kwargs)ΒΆ
[sets a timer which executes a function or evaluates an expression after a specified delay]
domonic.terminalΒΆ
call command line functions in python 3
- exception domonic.terminal.TerminalException(error, message='An error message was recieved from terminal')[source]ΒΆ
raised if the terminal throws an exception
- class domonic.terminal.alias(*args, **kwargs)ΒΆ
- class domonic.terminal.apt(*args, **kwargs)ΒΆ
- class domonic.terminal.ar(*args, **kwargs)ΒΆ
- class domonic.terminal.asa(*args, **kwargs)ΒΆ
- class domonic.terminal.at(*args, **kwargs)ΒΆ
- class domonic.terminal.awk(*args, **kwargs)ΒΆ
- class domonic.terminal.banner(*args, **kwargs)ΒΆ
- class domonic.terminal.basename(*args, **kwargs)ΒΆ
- class domonic.terminal.bash(*args, **kwargs)ΒΆ
- class domonic.terminal.batch(*args, **kwargs)ΒΆ
- class domonic.terminal.bc(*args, **kwargs)ΒΆ
- class domonic.terminal.bg(*args, **kwargs)ΒΆ
- class domonic.terminal.bind(*args, **kwargs)ΒΆ
- class domonic.terminal.builtin(*args, **kwargs)ΒΆ
- class domonic.terminal.cal(*args, **kwargs)ΒΆ
- class domonic.terminal.caller(*args, **kwargs)ΒΆ
- class domonic.terminal.cat(*args, **kwargs)ΒΆ
- class domonic.terminal.cc(*args, **kwargs)ΒΆ
- class domonic.terminal.cd(*args, **kwargs)[source]ΒΆ
NOTE - βcdβ does not run on terminal - cd is pointless as session opens and closes - so is overridden to change dirs via pure python
- class domonic.terminal.cflow(*args, **kwargs)ΒΆ
- class domonic.terminal.chgrp(*args, **kwargs)ΒΆ
- class domonic.terminal.chmod(*args, **kwargs)ΒΆ
- class domonic.terminal.chown(*args, **kwargs)ΒΆ
- class domonic.terminal.cksum(*args, **kwargs)ΒΆ
- class domonic.terminal.comm(*args, **kwargs)ΒΆ
- class domonic.terminal.compgen(*args, **kwargs)ΒΆ
- class domonic.terminal.complete(*args, **kwargs)ΒΆ
- class domonic.terminal.compopt(*args, **kwargs)ΒΆ
- class domonic.terminal.compress(*args, **kwargs)ΒΆ
- class domonic.terminal.convert(*args, **kwargs)ΒΆ
- class domonic.terminal.cowsay(*args, **kwargs)ΒΆ
- class domonic.terminal.cp(*args, **kwargs)ΒΆ
- class domonic.terminal.cron(*args, **kwargs)ΒΆ
- class domonic.terminal.crontab(*args, **kwargs)ΒΆ
- class domonic.terminal.csplit(*args, **kwargs)ΒΆ
- class domonic.terminal.ctags(*args, **kwargs)ΒΆ
- class domonic.terminal.curl(*args, **kwargs)ΒΆ
- class domonic.terminal.cut(*args, **kwargs)ΒΆ
- class domonic.terminal.cxref(*args, **kwargs)ΒΆ
- class domonic.terminal.date(*args, **kwargs)ΒΆ
- class domonic.terminal.dd(*args, **kwargs)ΒΆ
- class domonic.terminal.declare(*args, **kwargs)ΒΆ
- class domonic.terminal.delta(*args, **kwargs)ΒΆ
- class domonic.terminal.df(*args, **kwargs)ΒΆ
- class domonic.terminal.diff(*args, **kwargs)ΒΆ
- class domonic.terminal.dirname(*args, **kwargs)ΒΆ
- class domonic.terminal.dirs(*args, **kwargs)ΒΆ
- class domonic.terminal.disown(*args, **kwargs)ΒΆ
- class domonic.terminal.du(*args, **kwargs)ΒΆ
- class domonic.terminal.echo(*args, **kwargs)ΒΆ
- class domonic.terminal.ed(*args, **kwargs)ΒΆ
- class domonic.terminal.enable(*args, **kwargs)ΒΆ
- class domonic.terminal.env(*args, **kwargs)ΒΆ
- class domonic.terminal.ex(*args, **kwargs)ΒΆ
- class domonic.terminal.exit(*args, **kwargs)ΒΆ
- class domonic.terminal.expand(*args, **kwargs)ΒΆ
- class domonic.terminal.export(*args, **kwargs)ΒΆ
- class domonic.terminal.expr(*args, **kwargs)ΒΆ
- class domonic.terminal.fc(*args, **kwargs)ΒΆ
- class domonic.terminal.ffmpeg(*args, **kwargs)ΒΆ
- class domonic.terminal.fg(*args, **kwargs)ΒΆ
- class domonic.terminal.figlet(*args, **kwargs)ΒΆ
- class domonic.terminal.file(*args, **kwargs)ΒΆ
- class domonic.terminal.find(*args, **kwargs)ΒΆ
- class domonic.terminal.finger(*args, **kwargs)ΒΆ
- class domonic.terminal.fold(*args, **kwargs)ΒΆ
- class domonic.terminal.fort77(*args, **kwargs)ΒΆ
- class domonic.terminal.fuser(*args, **kwargs)ΒΆ
- class domonic.terminal.gcc(*args, **kwargs)ΒΆ
- class domonic.terminal.gencat(*args, **kwargs)ΒΆ
- class domonic.terminal.get(*args, **kwargs)ΒΆ
- class domonic.terminal.getconf(*args, **kwargs)ΒΆ
- class domonic.terminal.getopts(*args, **kwargs)ΒΆ
- class domonic.terminal.git(*args, **kwargs)ΒΆ
- class domonic.terminal.grep(*args, **kwargs)ΒΆ
- class domonic.terminal.groupadd(*args, **kwargs)ΒΆ
- class domonic.terminal.groupdel(*args, **kwargs)ΒΆ
- class domonic.terminal.groups(*args, **kwargs)ΒΆ
- class domonic.terminal.gunzip(*args, **kwargs)ΒΆ
- class domonic.terminal.gzip(*args, **kwargs)ΒΆ
- class domonic.terminal.head(*args, **kwargs)ΒΆ
- class domonic.terminal.iconv(*args, **kwargs)ΒΆ
- class domonic.terminal.ifconfig(*args, **kwargs)ΒΆ
- class domonic.terminal.ipconfig(*args, **kwargs)ΒΆ
- class domonic.terminal.ipcrm(*args, **kwargs)ΒΆ
- class domonic.terminal.ipcs(*args, **kwargs)ΒΆ
- class domonic.terminal.jobs(*args, **kwargs)ΒΆ
- class domonic.terminal.join(*args, **kwargs)ΒΆ
- class domonic.terminal.jq(*args, **kwargs)ΒΆ
- class domonic.terminal.kill(*args, **kwargs)ΒΆ
- class domonic.terminal.killall(*args, **kwargs)ΒΆ
- class domonic.terminal.less(*args, **kwargs)ΒΆ
- class domonic.terminal.let(*args, **kwargs)ΒΆ
- class domonic.terminal.lex(*args, **kwargs)ΒΆ
- class domonic.terminal.link(*args, **kwargs)ΒΆ
- class domonic.terminal.ln(*args, **kwargs)ΒΆ
- class domonic.terminal.local(*args, **kwargs)ΒΆ
- class domonic.terminal.locale(*args, **kwargs)ΒΆ
- class domonic.terminal.localedef(*args, **kwargs)ΒΆ
- class domonic.terminal.logger(*args, **kwargs)ΒΆ
- class domonic.terminal.logname(*args, **kwargs)ΒΆ
- class domonic.terminal.logout(*args, **kwargs)ΒΆ
- class domonic.terminal.lp(*args, **kwargs)ΒΆ
- class domonic.terminal.ls(*args, **kwargs)ΒΆ
- class domonic.terminal.m4(*args, **kwargs)ΒΆ
- class domonic.terminal.mailx(*args, **kwargs)ΒΆ
- class domonic.terminal.make(*args, **kwargs)ΒΆ
- class domonic.terminal.man(*args, **kwargs)ΒΆ
- class domonic.terminal.mapfile(*args, **kwargs)ΒΆ
- class domonic.terminal.mesg(*args, **kwargs)ΒΆ
- class domonic.terminal.mkdir(*args, **kwargs)ΒΆ
- class domonic.terminal.mkfifo(*args, **kwargs)ΒΆ
- class domonic.terminal.mkfile(*args, **kwargs)ΒΆ
- class domonic.terminal.more(*args, **kwargs)ΒΆ
- class domonic.terminal.mv(*args, **kwargs)ΒΆ
- class domonic.terminal.nautilus(*args, **kwargs)ΒΆ
- class domonic.terminal.newgrp(*args, **kwargs)ΒΆ
- class domonic.terminal.nice(*args, **kwargs)ΒΆ
- class domonic.terminal.nl(*args, **kwargs)ΒΆ
- class domonic.terminal.nm(*args, **kwargs)ΒΆ
- class domonic.terminal.nmap(*args, **kwargs)ΒΆ
- class domonic.terminal.nohup(*args, **kwargs)ΒΆ
- class domonic.terminal.npm(*args, **kwargs)ΒΆ
- class domonic.terminal.od(*args, **kwargs)ΒΆ
- class domonic.terminal.passwd(*args, **kwargs)ΒΆ
- class domonic.terminal.paste(*args, **kwargs)ΒΆ
- class domonic.terminal.patch(*args, **kwargs)ΒΆ
- class domonic.terminal.pathchk(*args, **kwargs)ΒΆ
- class domonic.terminal.pax(*args, **kwargs)ΒΆ
- class domonic.terminal.ping(*args, **kwargs)ΒΆ
- class domonic.terminal.pip(*args, **kwargs)ΒΆ
- class domonic.terminal.popd(*args, **kwargs)ΒΆ
- class domonic.terminal.pr(*args, **kwargs)ΒΆ
- class domonic.terminal.printf(*args, **kwargs)ΒΆ
- class domonic.terminal.prs(*args, **kwargs)ΒΆ
- class domonic.terminal.ps(*args, **kwargs)ΒΆ
- class domonic.terminal.pushd(*args, **kwargs)ΒΆ
- class domonic.terminal.pwd(*args, **kwargs)ΒΆ
- class domonic.terminal.python(*args, **kwargs)ΒΆ
- class domonic.terminal.qalter(*args, **kwargs)ΒΆ
- class domonic.terminal.qdel(*args, **kwargs)ΒΆ
- class domonic.terminal.qhold(*args, **kwargs)ΒΆ
- class domonic.terminal.qmove(*args, **kwargs)ΒΆ
- class domonic.terminal.qmsg(*args, **kwargs)ΒΆ
- class domonic.terminal.qrerun(*args, **kwargs)ΒΆ
- class domonic.terminal.qrls(*args, **kwargs)ΒΆ
- class domonic.terminal.qselect(*args, **kwargs)ΒΆ
- class domonic.terminal.qsig(*args, **kwargs)ΒΆ
- class domonic.terminal.qstat(*args, **kwargs)ΒΆ
- class domonic.terminal.qsub(*args, **kwargs)ΒΆ
- class domonic.terminal.read(*args, **kwargs)ΒΆ
- class domonic.terminal.readarray(*args, **kwargs)ΒΆ
- class domonic.terminal.readonly(*args, **kwargs)ΒΆ
- class domonic.terminal.reboot(*args, **kwargs)ΒΆ
- class domonic.terminal.renice(*args, **kwargs)ΒΆ
- class domonic.terminal.rm(*args, **kwargs)ΒΆ
- class domonic.terminal.rmdel(*args, **kwargs)ΒΆ
- class domonic.terminal.rmdir(*args, **kwargs)ΒΆ
- class domonic.terminal.rsync(*args, **kwargs)ΒΆ
- class domonic.terminal.sact(*args, **kwargs)ΒΆ
- class domonic.terminal.say(*args, **kwargs)ΒΆ
- class domonic.terminal.sccs(*args, **kwargs)ΒΆ
- class domonic.terminal.scp(*args, **kwargs)ΒΆ
- class domonic.terminal.sed(*args, **kwargs)ΒΆ
- class domonic.terminal.sh(*args, **kwargs)ΒΆ
- class domonic.terminal.shift(*args, **kwargs)ΒΆ
- class domonic.terminal.shopt(*args, **kwargs)ΒΆ
- class domonic.terminal.shutdown(*args, **kwargs)ΒΆ
- class domonic.terminal.sleep(*args, **kwargs)ΒΆ
- class domonic.terminal.sort(*args, **kwargs)ΒΆ
- class domonic.terminal.source(*args, **kwargs)ΒΆ
- class domonic.terminal.split(*args, **kwargs)ΒΆ
- class domonic.terminal.ssh(*args, **kwargs)ΒΆ
- class domonic.terminal.strings(*args, **kwargs)ΒΆ
- class domonic.terminal.strip(*args, **kwargs)ΒΆ
- class domonic.terminal.stty(*args, **kwargs)ΒΆ
- class domonic.terminal.suspend(*args, **kwargs)ΒΆ
- class domonic.terminal.tabs(*args, **kwargs)ΒΆ
- class domonic.terminal.tail(*args, **kwargs)ΒΆ
- class domonic.terminal.talk(*args, **kwargs)ΒΆ
- class domonic.terminal.tar(*args, **kwargs)ΒΆ
- class domonic.terminal.tee(*args, **kwargs)ΒΆ
- class domonic.terminal.test(*args, **kwargs)ΒΆ
- class domonic.terminal.time(*args, **kwargs)ΒΆ
- class domonic.terminal.times(*args, **kwargs)ΒΆ
- class domonic.terminal.touch(*args, **kwargs)ΒΆ
- class domonic.terminal.tput(*args, **kwargs)ΒΆ
- class domonic.terminal.tr(*args, **kwargs)ΒΆ
- class domonic.terminal.trap(*args, **kwargs)ΒΆ
- class domonic.terminal.true(*args, **kwargs)ΒΆ
- class domonic.terminal.tsort(*args, **kwargs)ΒΆ
- class domonic.terminal.tty(*args, **kwargs)ΒΆ
- class domonic.terminal.typeset(*args, **kwargs)ΒΆ
- class domonic.terminal.ulimit(*args, **kwargs)ΒΆ
- class domonic.terminal.umask(*args, **kwargs)ΒΆ
- class domonic.terminal.unalias(*args, **kwargs)ΒΆ
- class domonic.terminal.uname(*args, **kwargs)ΒΆ
- class domonic.terminal.uncompress(*args, **kwargs)ΒΆ
- class domonic.terminal.unexpand(*args, **kwargs)ΒΆ
- class domonic.terminal.unget(*args, **kwargs)ΒΆ
- class domonic.terminal.uniq(*args, **kwargs)ΒΆ
- class domonic.terminal.unlink(*args, **kwargs)ΒΆ
- class domonic.terminal.unset(*args, **kwargs)ΒΆ
- class domonic.terminal.uptime(*args, **kwargs)ΒΆ
- class domonic.terminal.useradd(*args, **kwargs)ΒΆ
- class domonic.terminal.userdel(*args, **kwargs)ΒΆ
- class domonic.terminal.users(*args, **kwargs)ΒΆ
- class domonic.terminal.uucp(*args, **kwargs)ΒΆ
- class domonic.terminal.uudecode(*args, **kwargs)ΒΆ
- class domonic.terminal.uuencode(*args, **kwargs)ΒΆ
- class domonic.terminal.uustat(*args, **kwargs)ΒΆ
- class domonic.terminal.uux(*args, **kwargs)ΒΆ
- class domonic.terminal.val(*args, **kwargs)ΒΆ
- class domonic.terminal.wait(*args, **kwargs)ΒΆ
- class domonic.terminal.wc(*args, **kwargs)ΒΆ
- class domonic.terminal.wget(*args, **kwargs)ΒΆ
- class domonic.terminal.what(*args, **kwargs)ΒΆ
- class domonic.terminal.who(*args, **kwargs)ΒΆ
- class domonic.terminal.whoami(*args, **kwargs)ΒΆ
- class domonic.terminal.write(*args, **kwargs)ΒΆ
- class domonic.terminal.xargs(*args, **kwargs)ΒΆ
- class domonic.terminal.yacc(*args, **kwargs)ΒΆ
- class domonic.terminal.zcat(*args, **kwargs)ΒΆ
domonic.JSONΒΆ
- domonic.JSON.flatten(b, delim='__')[source]ΒΆ
# i.e. input = map( lambda x: JSON.flatten( x, β__β ), input )
domonic.CDNΒΆ
For quick reference when prototyping you can use the CDN package. (Donβt rely on a CDN package for production code. wget a local copy.)
TODO - integrity/cross origin/module?
- class domonic.CDN.CDN_CSS[source]ΒΆ
Preferably use version numbers if available. use LATEST if it always gets the latest
- BOOTSTRAP_5_ALPHA: str = 'https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js'ΒΆ
- class domonic.CDN.CDN_IMG[source]ΒΆ
CDN images
- static PLACEHOLDER(width: int = 100, height: int = 100, HTTP: str = '', seperator: str = '/') str [source]ΒΆ
to update do CDN_IMG.PLACEHOLDER_SERVICE = βplacebear.com/gβ usage : img(_src=CDN_IMG.PLACEHOLDER(300,100)) default HTTP is none, to let the browser decide # use optional seperator if the site uses x instead of slash img(_src=CDN_IMG.PLACEHOLDER(300,100,βxβ))
- class domonic.CDN.CDN_JS[source]ΒΆ
js libs
- BOOTSTRAP_5 = 'https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js'ΒΆ
latest
- BOOTSTRAP_5_ALPHA: str = 'https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js'ΒΆ
domonic.eventsΒΆ
https://developer.mozilla.org/en-US/docs/Web/Events
- class domonic.events.AnimationEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- animationNameΒΆ
Returns the name of the animation
- elapsedTimeΒΆ
Returns the number of seconds an animation has been running
- pseudoElementΒΆ
Returns the name of the pseudo-element of the animation
- class domonic.events.BeforeUnloadEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.ClipboardEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- clipboardDataΒΆ
Returns an object containing the data affected by the clipboard operation
- class domonic.events.CompositionEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.CustomEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.DOMContentLoadedEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- documentΒΆ
Returns the document that was loaded
- class domonic.events.DragEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- dataTransferΒΆ
Returns the data that is dragged/dropped
- class domonic.events.ErrorEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.Event(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
event
- domonic.events.EventDispatcherΒΆ
legacy alias
- class domonic.events.EventTarget(*args, **kwargs)[source]ΒΆ
EventTarget is a class you can extend to give your obj event dispatching abilities
- class domonic.events.ExtendableEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- extendableΒΆ
Returns whether the event is extendable or not
- class domonic.events.FetchEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- clientIdΒΆ
Returns the client ID of the fetch request
- property isReloadΒΆ
Returns whether the request is a reload or not
- requestΒΆ
Returns the request object
- class domonic.events.FocusEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.GamePadEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.HashChangeEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.InputEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- dataΒΆ
Returns the inserted characters
- dataTransferΒΆ
Returns an object containing information about the inserted/deleted data
- getTargetRanges()[source]ΒΆ
Returns an array containing target ranges that will be affected by the insertion/deletion
- inputTypeΒΆ
Returns the type of the change (i.e βinsertingβ or βdeletingβ)
- isComposingΒΆ
Returns whether the state of the event is composing or not
- class domonic.events.KeyboardEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
keyboard events
- class domonic.events.MessageEvent(_type, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- dataΒΆ
Returns the data of the message
- lastEventIdΒΆ
Returns the last event id of the message
- originΒΆ
Returns the origin of the message
- portsΒΆ
Returns the ports of the message
- sourceΒΆ
Returns the source of the message
- class domonic.events.MouseEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
mouse events
- class domonic.events.PageTransitionEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- persistedΒΆ
Returns whether the webpage was cached by the browser
- class domonic.events.PointerEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.PopStateEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- stateΒΆ
Returns an object containing a copy of the history entries
- class domonic.events.ProgressEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.PromiseRejectionEvent(_type, options=None, *args, **kwargs)[source]ΒΆ
-
- isRejectedΒΆ
Returns whether the promise was rejected or not
- promiseΒΆ
Returns the promise that was rejected
- reasonΒΆ
Returns the reason of the rejection
- class domonic.events.SVGEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.SecurityPolicyViolationEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- blockedURIΒΆ
Returns the blocked URI
- frameΒΆ
Returns the frame that violated the policy
- isFrameAncestorΒΆ
Returns whether the frame is an ancestor of the frame that violated the policy
- isMainFrameΒΆ
Returns whether the frame is the main frame
- originalPolicyΒΆ
Returns the original policy
- violatedDirectiveΒΆ
Returns the violated directive
- class domonic.events.StorageEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- keyΒΆ
Returns the key of the changed storage item
- newValueΒΆ
Returns the new value of the changed storage item
- oldValueΒΆ
Returns the old value of the changed storage item
- storageAreaΒΆ
Returns an object representing the affected storage object
- urlΒΆ
Returns the URL of the changed itemβs document
- class domonic.events.SubmitEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.SyncEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- lastChanceΒΆ
Returns whether the sync event is the last chance or not
- tagΒΆ
Returns the tag of the sync event
- class domonic.events.TimerEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.TouchEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
- class domonic.events.TransitionEvent(_type: str, options: Optional[dict] = None, *args, **kwargs)[source]ΒΆ
-
- elapsedTimeΒΆ
Returns the number of seconds a transition has been running
- propertyNameΒΆ
Returns the name of the transition
- pseudoElementΒΆ
Returns the name of the pseudo-element of the transition
domonic.styleΒΆ
# TODO - should this be moved to the webapi in a future revision?
- class domonic.style.CSSColorProfileRule[source]ΒΆ
The CSSColorProfileRule interface represents an @color-profile rule.
- class domonic.style.CSSConditionRule[source]ΒΆ
The CSSConditionRule interface represents a condition rule.
- class domonic.style.CSSCounterStyleRule[source]ΒΆ
The CSSCounterStyleRule interface represents a @counter-style rule.
- class domonic.style.CSSDocumentRule[source]ΒΆ
The CSSDocumentRule interface represents an @document rule.
- class domonic.style.CSSFontFaceRule[source]ΒΆ
The CSSFontFaceRule interface represents a @font-face rule in a CSS style sheet.
- class domonic.style.CSSFontFeatureValuesRule[source]ΒΆ
The CSSFontFeatureValuesRule interface represents a @font-feature-values rule.
- class domonic.style.CSSGroupingRule[source]ΒΆ
The CSSGroupingRule interface represents a @grouping rule.
- class domonic.style.CSSImportRule[source]ΒΆ
The CSSImportRule interface represents an @import rule in a CSS style sheet.
- class domonic.style.CSSKeyframeRule[source]ΒΆ
The CSSKeyframeRule interface represents a single @keyframes at-rule.
- class domonic.style.CSSKeyframesRule[source]ΒΆ
The CSSKeyframesRule interface represents a @keyframes at-rule.
- class domonic.style.CSSMediaRule[source]ΒΆ
The CSSMediaRule interface represents a @media rule in a CSS style sheet.
- class domonic.style.CSSNamespaceRule[source]ΒΆ
The CSSNamespaceRule interface represents an @namespace rule in a CSS style sheet.
- class domonic.style.CSSPageRule[source]ΒΆ
The CSSPageRule interface represents a @page rule in a CSS style sheet.
- class domonic.style.CSSRule[source]ΒΆ
The CSSRule interface represents a single CSS rule. There are several types of rules which inherit properties from CSSRule.
CSSFontFeatureValuesRule CSSViewportRule
- property cssTextΒΆ
16pt }β or β@import βurlββ. To access or modify parts of the rule (e.g. the value of βfont-sizeβ in the example) use the properties on the specialized interface for the ruleβs type.
- Type
Represents the textual representation of the rule, e.g. βh1,h2 { font-size
- class domonic.style.CSSRuleList(iterable=(), /)[source]ΒΆ
A CSSRuleList represents an ordered collection of read-only CSSRule objects. While the CSSRuleList object is read-only, and cannot be directly modified, it is considered a live object, as the content can change over time.
- class domonic.style.CSSStyleDeclaration(parentNode=None, *args, **kwargs)[source]ΒΆ
The CSSStyleDeclaration interface represents an object that is a CSS declaration block, and exposes style information and various style-related methods and properties.
A CSSStyleDeclaration object can be exposed using three different APIs:
Via HTMLElement.style, which deals with the inline styles of a single element (e.g., <div style=ββ¦β>). Via the CSSStyleSheet API. For example, document.styleSheets[0].cssRules[0].style returns a CSSStyleDeclaration object on the first CSS rule in the documentβs first stylesheet. Via Window.getComputedStyle(), which exposes the CSSStyleDeclaration object as a read-only interface.
- getPropertyCSSValue()[source]ΒΆ
Only supported via getComputedStyle in Firefox. Returns the property value as a CSSPrimitiveValue or null for shorthand properties.
- getPropertyValue(propertyName: str) str [source]ΒΆ
Returns the value of the property with the specified name.
- item(index: int) str [source]ΒΆ
Returns a CSS property name by its index, or the empty string if the index is out-of-bounds. An alternative to accessing nodeList[i] (which instead returns undefined when i is out-of-bounds). This is mostly useful for non-JavaScript DOM implementations.
- property lengthΒΆ
The number of properties. See the item() method below.
- class domonic.style.CSSStyleRule[source]ΒΆ
The CSSStyleRule interface represents a single style rule in a CSS style sheet.
- property cssTextΒΆ
Returns the textual representation of the rule.
- class domonic.style.CSSStyleSheet[source]ΒΆ
Creates a new CSSStyleSheet object.
- addRule(selectorText: str, style: str, index: int)[source]ΒΆ
Adds a new rule to the stylesheet given the selector to which the style applies and the style block to apply to the matching elements. This differs from insertRule(), which takes the textual representation of the entire rule as a single string.
- deleteRule(index: int)[source]ΒΆ
Deletes the rule at the specified index into the stylesheetβs rule list.
- insertRule(rule: str, index: Optional[int] = None)[source]ΒΆ
Inserts a new rule at the specified position in the stylesheet, given the textual representation of the rule.
- removeRule(index: int)[source]ΒΆ
Functionally identical to deleteRule(); removes the rule at the specified index from the stylesheetβs rule list.
- class domonic.style.CSSSupportsRule[source]ΒΆ
The CSSSupportsRule interface represents a @supports at-rule.
- class domonic.style.MediaList(iterable=(), /)[source]ΒΆ
The MediaList interface represents a list of media. It is used in the @media at-rule.
- class domonic.style.Style(parent_node=None)[source]ΒΆ
[ js syntax styles ] #Β TODO - just add normal float? # TODO - consider camel case for hyphen params? # TODO - not json serialisable due to the decorators.
- property alignContentΒΆ
Sets or returns the alignment between the lines inside a flexible container when the items do not use all available space
- property alignItemsΒΆ
Sets or returns the alignment for items inside a flexible container
- property alignSelfΒΆ
Sets or returns the alignment for selected items inside a flexible container
- property animationΒΆ
shorthand property for all the animation properties below, except the animationPlayState property
- property animationDelayΒΆ
Sets or returns when the animation will start
- property animationDirectionΒΆ
Sets or returns whether or not the animation should play in reverse on alternate cycles
- property animationDurationΒΆ
Sets or returns how many seconds or milliseconds an animation takes to complete one cycle
- property animationFillModeΒΆ
Sets or returns what values are applied by the animation outside the time it is executing
- property animationIterationCountΒΆ
Sets or returns the number of times an animation should be played
- property animationNameΒΆ
Sets or returns a name for the @keyframes animation
- property animationPlayStateΒΆ
Sets or returns whether the animation is running or paused
- property animationTimingFunctionΒΆ
Sets or returns the speed curve of the animation
- property backfaceVisibilityΒΆ
Sets or returns whether or not an element should be visible when not facing the screen
- property backgroundΒΆ
Sets or returns all the background properties in one declaration
- property backgroundAttachmentΒΆ
Sets or returns whether a background-image is fixed or scrolls with the page
- property backgroundClipΒΆ
Sets or returns the painting area of the background
- property backgroundColorΒΆ
Sets or returns the background-color of an element
- property backgroundImageΒΆ
Sets or returns the background-image for an element
- property backgroundOriginΒΆ
Sets or returns the positioning area of the background images
- property backgroundPositionΒΆ
Sets or returns the starting position of a background-image
- property backgroundRepeatΒΆ
Sets or returns how to repeat (tile) a background-image
- property backgroundSizeΒΆ
Sets or returns the size of the background image
- property borderΒΆ
Sets or returns borderWidth, borderStyle, and borderColor in one declaration
- property borderBottomΒΆ
Sets or returns all the borderBottom properties in one declaration
- property borderBottomColorΒΆ
Sets or returns the color of the bottom border 1
- property borderBottomLeftRadiusΒΆ
Sets or returns the shape of the border of the bottom-left corner
- property borderBottomRightRadiusΒΆ
Sets or returns the shape of the border of the bottom-right corner
- property borderBottomStyleΒΆ
Sets or returns the style of the bottom border
- property borderBottomWidthΒΆ
Sets or returns the width of the bottom border
- property borderCollapseΒΆ
Sets or returns whether the table border should be collapsed into a single border, or not
- property borderColorΒΆ
Sets or returns the color of an elementβs border (can have up to four values)
- property borderImageΒΆ
horthand property for setting or returning all the borderImage properties
- property borderImageOutsetΒΆ
Sets or returns the amount by which the border image area extends beyond the border box
- property borderImageRepeatΒΆ
Sets or returns whether the image-border should be repeated, rounded or stretched
- property borderImageSliceΒΆ
Sets or returns the inward offsets of the image-border
- property borderImageSourceΒΆ
Sets or returns the image to be used as a border
- property borderImageWidthΒΆ
Sets or returns the widths of the image-border
- property borderLeftΒΆ
Sets or returns all the borderLeft properties in one declaration
- property borderLeftColorΒΆ
Sets or returns the color of the left border
- property borderLeftStyleΒΆ
Sets or returns the style of the left border
- property borderLeftWidthΒΆ
Sets or returns the width of the left border
- property borderRadiusΒΆ
A shorthand property for setting or returning all the four borderRadius properties
- property borderRightΒΆ
Sets or returns all the borderRight properties in one declaration
- property borderRightColorΒΆ
Sets or returns the color of the right border
- property borderRightStyleΒΆ
Sets or returns the style of the right border
- property borderRightWidthΒΆ
Sets or returns the width of the right border
- property borderSpacingΒΆ
Sets or returns the space between cells in a table
- property borderStyleΒΆ
Sets or returns the style of an elementβs border (can have up to four values)
- property borderTopΒΆ
Sets or returns all the borderTop properties in one declaration
- property borderTopColorΒΆ
Sets or returns the color of the top border
- property borderTopLeftRadiusΒΆ
Sets or returns the shape of the border of the top-left corner
- property borderTopRightRadiusΒΆ
Sets or returns the shape of the border of the top-right corner
- property borderTopStyleΒΆ
Sets or returns the style of the top border
- property borderTopWidthΒΆ
Sets or returns the width of the top border
- property borderWidthΒΆ
Sets or returns the width of an elementβs border (can have up to four values)
- property bottomΒΆ
Sets or returns the bottom position of a positioned element
- property boxDecorationBreakΒΆ
Sets or returns the behaviour of the background and border of an element at page-break, or, for in-line elements, at line-break.
- property boxShadowΒΆ
ttaches one or more drop-shadows to the box
- property boxSizingΒΆ
llows you to define certain elements to fit an area in a certain way
Sets or returns the position of the table caption
- property clearΒΆ
Sets or returns the position of the element relative to floating objects
- property clipΒΆ
Sets or returns which part of a positioned element is visible
- property colorΒΆ
Sets or returns the color of the text
- property columnCountΒΆ
Sets or returns the number of columns an element should be divided into
- property columnFillΒΆ
Sets or returns how to fill columns
- property columnGapΒΆ
Sets or returns the gap between the columns
- property columnRuleΒΆ
shorthand property for setting or returning all the columnRule properties
- property columnRuleColorΒΆ
Sets or returns the color of the rule between columns
- property columnRuleStyleΒΆ
Sets or returns the style of the rule between columns
- property columnRuleWidthΒΆ
Sets or returns the width of the rule between columns
- property columnSpanΒΆ
Sets or returns how many columns an element should span across
- property columnWidthΒΆ
Sets or returns the width of the columns
- property columnsΒΆ
horthand property for setting or returning columnWidth and columnCount
- property contentΒΆ
after pseudo-elements, to insert generated content
- Type
d with the
- Type
before and
- property counterIncrementΒΆ
Increments one or more counters
- property counterResetΒΆ
Creates or resets one or more counters
- property cssFloatΒΆ
Sets or returns the horizontal alignment of an element
- property cursorΒΆ
Sets or returns the type of cursor to display for the mouse pointer
- property directionΒΆ
Sets or returns the text direction
- property displayΒΆ
Sets or returns an elementβs display type
- property emptyCellsΒΆ
Sets or returns whether to show the border and background of empty cells, or not
- property filterΒΆ
Sets or returns image filters (visual effects, like blur and saturation)
- property flexΒΆ
Sets or returns the length of the item, relative to the rest
- property flexBasisΒΆ
Sets or returns the initial length of a flexible item
- property flexDirectionΒΆ
Sets or returns the direction of the flexible items
- property flexFlowΒΆ
A shorthand property for the flexDirection and the flexWrap properties
- property flexGrowΒΆ
Sets or returns how much the item will grow relative to the rest
- property flexShrinkΒΆ
Sets or returns how the item will shrink relative to the rest
- property flexWrapΒΆ
Sets or returns whether the flexible items should wrap or not
- property fontΒΆ
Sets or returns fontStyle, fontVariant, fontWeight, fontSize, lineHeight, and fontFamily in one declaration
- property fontFamilyΒΆ
Sets or returns the font family for text
- property fontSizeΒΆ
Sets or returns the font size of the text
- property fontSizeAdjustΒΆ
eserves the readability of text when font fallback occurs
- property fontStretchΒΆ
ects a normal, condensed, or expanded face from a font family
- property fontStyleΒΆ
Sets or returns whether the style of the font is normal, italic or oblique
- property fontVariantΒΆ
Sets or returns whether the font should be displayed in small capital letters
- property fontWeightΒΆ
Sets or returns the boldness of the font
- property hangingPunctuationΒΆ
ecifies whether a punctuation character may be placed outside the line box
- property heightΒΆ
Sets or returns the height of an element
- property hyphensΒΆ
Sets how to split words to improve the layout of paragraphs
- property iconΒΆ
Provides the author the ability to style an element with an iconic equivalent
- property imageOrientationΒΆ
Specifies a rotation in the right or clockwise direction that a user agent applies to an image
- property isolationΒΆ
efines whether an element must create a new stacking content
- property justifyContentΒΆ
Sets or returns the alignment between the items inside a flexible container when the items do not use all available space.
- property leftΒΆ
Sets or returns the left position of a positioned element
- property letterSpacingΒΆ
Sets or returns the space between characters in a text
- property lineHeightΒΆ
Sets or returns the distance between lines in a text
- property listStyleΒΆ
Sets or returns listStyleImage, listStylePosition, and listStyleType in one declaration
- property listStyleImageΒΆ
Sets or returns an image as the list-item marker
- property listStylePositionΒΆ
Sets or returns the position of the list-item marker
- property listStyleTypeΒΆ
Sets or returns the list-item marker type
- property marginΒΆ
Sets or returns the margins of an element (can have up to four values)
- property marginBottomΒΆ
Sets or returns the bottom margin of an element
- property marginLeftΒΆ
Sets or returns the left margin of an element
- property marginRightΒΆ
Sets or returns the right margin of an element
- property marginTopΒΆ
Sets or returns the top margin of an element
- property maxHeightΒΆ
Sets or returns the maximum height of an element
- property maxWidthΒΆ
Sets or returns the maximum width of an element
- property minHeightΒΆ
Sets or returns the minimum height of an element
- property minWidthΒΆ
Sets or returns the minimum width of an element
Sets or returns where to navigate when using the arrow-down navigation key
Sets or returns the tabbing order for an element
Sets or returns where to navigate when using the arrow-left navigation key
Sets or returns where to navigate when using the arrow-right navigation key
Sets or returns where to navigate when using the arrow-up navigation key
- property objectFitΒΆ
pecifies how the contents of a replaced element should be fitted to the box established by its used height and width
- property objectPositionΒΆ
ecifies the alignment of the replaced element inside its box
- property opacityΒΆ
Sets or returns the opacity level for an element
- property orderΒΆ
Sets or returns the order of the flexible item, relative to the rest
- property orphansΒΆ
Sets or returns the minimum number of lines for an element that must be left at the bottom of a page when a page break occurs inside an element
- property outlineΒΆ
Sets or returns all the outline properties in one declaration
- property outlineColorΒΆ
Sets or returns the color of the outline around a element
- property outlineOffsetΒΆ
ffsets an outline, and draws it beyond the border edge
- property outlineStyleΒΆ
Sets or returns the style of the outline around an element
- property outlineWidthΒΆ
Sets or returns the width of the outline around an element
- property overflowΒΆ
Sets or returns what to do with content that renders outside the element box
- property overflowXΒΆ
pecifies what to do with the left/right edges of the content, if it overflows the elementβs content area
- property overflowYΒΆ
pecifies what to do with the top/bottom edges of the content, if it overflows the elementβs content area
- property paddingΒΆ
Sets or returns the padding of an element (can have up to four values)
- property paddingBottomΒΆ
Sets or returns the bottom padding of an element
- property paddingLeftΒΆ
Sets or returns the left padding of an element
- property paddingRightΒΆ
Sets or returns the right padding of an element
- property paddingTopΒΆ
Sets or returns the top padding of an element
- property pageBreakAfterΒΆ
Sets or returns the page-break behavior after an element
- property pageBreakBeforeΒΆ
Sets or returns the page-break behavior before an element
- property pageBreakInsideΒΆ
Sets or returns the page-break behavior inside an element
- property perspectiveΒΆ
Sets or returns the perspective on how 3D elements are viewed
- property perspectiveOriginΒΆ
Sets or returns the bottom position of 3D elements
- property positionΒΆ
Sets or returns the type of positioning method used for an element (static, relative, absolute or fixed)
- property quotesΒΆ
Sets or returns the type of quotation marks for embedded quotations
- property resizeΒΆ
Sets or returns whether or not an element is resizable by the user
- property rightΒΆ
Sets or returns the right position of a positioned element
- property tabSizeΒΆ
Sets or returns the length of the tab-character
- property tableLayoutΒΆ
Sets or returns the way to lay out table cells, rows, and columns
- property textAlignΒΆ
Sets or returns the horizontal alignment of text
- property textAlignLastΒΆ
Sets or returns how the last line of a block or a line right before a forced line break is aligned when text-align is justify
- property textDecorationΒΆ
Sets or returns the decoration of a text
- property textDecorationColorΒΆ
Sets or returns the color of the text-decoration
- property textDecorationLineΒΆ
Sets or returns the type of line in a text-decoration
- property textDecorationStyleΒΆ
Sets or returns the style of the line in a text decoration
- property textIndentΒΆ
Sets or returns the indentation of the first line of text
- property textJustifyΒΆ
Sets or returns the justification method used when text-align is justify
- property textOverflowΒΆ
Sets or returns what should happen when text overflows the containing element
- property textShadowΒΆ
Sets or returns the shadow effect of a text
- property textTransformΒΆ
Sets or returns the capitalization of a text
- property topΒΆ
Sets or returns the top position of a positioned element
- property transformΒΆ
pplies a 2D or 3D transformation to an element
- property transformOriginΒΆ
Sets or returns the position of transformed elements
- property transformStyleΒΆ
Sets or returns how nested elements are rendered in 3D space
- property transitionΒΆ
shorthand property for setting or returning the four transition properties
- property transitionDelayΒΆ
Sets or returns when the transition effect will start
- property transitionDurationΒΆ
Sets or returns how many seconds or milliseconds a transition effect takes to complete
- property transitionPropertyΒΆ
Sets or returns the CSS property that the transition effect is for
- property transitionTimingFunctionΒΆ
Sets or returns the speed curve of the transition effect
- property unicodeBidiΒΆ
Sets or returns whether the text should be overridden to support multiple languages in the same document
- property userSelectΒΆ
Sets or returns whether the text of an element can be selected or not
- property verticalAlignΒΆ
Sets or returns the vertical alignment of the content in an element
- property visibilityΒΆ
Sets or returns whether an element should be visible
- property whiteSpaceΒΆ
Sets or returns how to handle tabs, line breaks and whitespace in a text 1
- property widowsΒΆ
Sets or returns the minimum number of lines for an element that must be visible at the top of a page
- property widthΒΆ
Sets or returns the width of an element
- property wordBreakΒΆ
Sets or returns line breaking rules for non-CJK scripts
- property wordSpacingΒΆ
Sets or returns the spacing between words in a text
- property wordWrapΒΆ
Allows long, unbreakable words to be broken and wrap to the next line
- property zIndexΒΆ
Sets or returns the stack order of a positioned element
- class domonic.style.StyleSheet[source]ΒΆ
An object implementing the StyleSheet interface represents a single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface.
- class domonic.style.StyleSheetList(iterable=(), /)[source]ΒΆ
An instance of this object can be returned by Document.styleSheets. it can be iterated over in a standard for loop over its indices, or converted to an Array.
- item(index)[source]ΒΆ
Returns the CSSStyleSheet object at the index passed in, or null if no item exists for that index.
- property lengthΒΆ
Returns the number of CSSStyleSheet objects in the collection.
domonic.utilsΒΆ
snippets etc
- class domonic.utils.Utils[source]ΒΆ
-
- static chunks(iterable, size: int, format=<built-in function iter>)[source]ΒΆ
Iterate over any iterable (list, set, file, stream, strings, whatever), of ANY size
- static clean(lst: list) list [source]ΒΆ
[removes falsy values (False, None, 0 and ββ) from a list ]
- static dictify(arr: list) dict [source]ΒΆ
[turns a list into a dictionary where the list items are the keys]
- static digits(text: str = '') str [source]ΒΆ
[takes a string of mix of digits and letters and returns a string of digits]
- static has_internet(url: str = 'http://www.google.com/', timeout: int = 5) bool [source]ΒΆ
[check if you have internet connection]
- Parameters
url (str, optional) β [the url to check]. Defaults to βhttp://www.google.com/β.
timeout (int, optional) β [the timeout]. Defaults to 5.
- Returns
[True if you have internet]
- Return type
[bool]
- static init_assets(dir: str = 'assets') None [source]ΒΆ
[creates an assets directory with nested js/css/img dirs]
- Parameters
dir (str, optional) β [default directory name]. Defaults to βassetsβ.
- static is_linux() bool [source]ΒΆ
[check if the system is a linux]
- Returns
[description]
- Return type
[bool]
- static is_mac() bool [source]ΒΆ
[check if the system is a mac]
- Returns
[True if the system is a mac]
- Return type
[bool]
- static is_nix() bool [source]ΒΆ
[check if the system is a nix based system]
- Returns
[True if it is a nix based system]
- Return type
[bool]
- static is_windows() bool [source]ΒΆ
[check if the system is a windows]
- Returns
[True if windows]
- Return type
[bool]
- static permutations(word: str) list [source]ΒΆ
[provides all the possible permutations of a given word]
- static replace_between(content: str, match: str, replacement: str, start: int = 0, end: int = 0)[source]ΒΆ
[replace some text but only between certain indexes]
- Parameters
- Returns
[the new string]
- Return type
[str]
- static to_dictionary(keys: list, values: list) dict [source]ΒΆ
[take a list of keys and values and returns a dict]
- static truncate(text: str = '', length: int = 0) str [source]ΒΆ
[truncates a string and appends 3 dots]
domonic.decoratorsΒΆ
- domonic.decorators.as_json(func)[source]ΒΆ
decorate any function to return json instead of a python obj note - used by JSON.py
- domonic.decorators.called(before=None, error: Optional[Callable[[Exception], None]] = None)[source]ΒΆ
Decorator to call a function before and after a function call.
- domonic.decorators.el(element='div', string: bool = False)[source]ΒΆ
[wraps the results of a function in an element]
- domonic.decorators.iife(before=None, error: Optional[Callable[[Exception], None]] = None)ΒΆ
Decorator to call a function before and after a function call.
domonic.svgΒΆ
Generate SVG with python 3
WARNING - totally not tested. except circle. I just assumed it would workβ¦
# https://www.w3.org/TR/SVG2/eltindex.html
- class domonic.svg.altGlyph(*args, **kwargs)ΒΆ
- class domonic.svg.altGlyphDef(*args, **kwargs)ΒΆ
- class domonic.svg.altGlyphItem(*args, **kwargs)ΒΆ
- class domonic.svg.animate(*args, **kwargs)ΒΆ
- class domonic.svg.animateColor(*args, **kwargs)ΒΆ
- class domonic.svg.animateMotion(*args, **kwargs)ΒΆ
- class domonic.svg.animateTransform(*args, **kwargs)ΒΆ
- class domonic.svg.circle(*args, **kwargs)ΒΆ
- class domonic.svg.clipPath(*args, **kwargs)ΒΆ
- class domonic.svg.cursor(*args, **kwargs)ΒΆ
- class domonic.svg.defs(*args, **kwargs)ΒΆ
- class domonic.svg.desc(*args, **kwargs)ΒΆ
- class domonic.svg.discard(*args, **kwargs)ΒΆ
- class domonic.svg.ellipse(*args, **kwargs)ΒΆ
- class domonic.svg.feBlend(*args, **kwargs)ΒΆ
- class domonic.svg.feColorMatrix(*args, **kwargs)ΒΆ
- class domonic.svg.feComponentTransfer(*args, **kwargs)ΒΆ
- class domonic.svg.feComposite(*args, **kwargs)ΒΆ
- class domonic.svg.feConvolveMatrix(*args, **kwargs)ΒΆ
- class domonic.svg.feDiffuseLighting(*args, **kwargs)ΒΆ
- class domonic.svg.feDisplacementMap(*args, **kwargs)ΒΆ
- class domonic.svg.feDistantLight(*args, **kwargs)ΒΆ
- class domonic.svg.feDropShadow(*args, **kwargs)ΒΆ
- class domonic.svg.feFlood(*args, **kwargs)ΒΆ
- class domonic.svg.feFuncA(*args, **kwargs)ΒΆ
- class domonic.svg.feFuncB(*args, **kwargs)ΒΆ
- class domonic.svg.feFuncG(*args, **kwargs)ΒΆ
- class domonic.svg.feFuncR(*args, **kwargs)ΒΆ
- class domonic.svg.feGaussianBlur(*args, **kwargs)ΒΆ
- class domonic.svg.feImage(*args, **kwargs)ΒΆ
- class domonic.svg.feMerge(*args, **kwargs)ΒΆ
- class domonic.svg.feMergeNode(*args, **kwargs)ΒΆ
- class domonic.svg.feMorphology(*args, **kwargs)ΒΆ
- class domonic.svg.feOffset(*args, **kwargs)ΒΆ
- class domonic.svg.fePointLight(*args, **kwargs)ΒΆ
- class domonic.svg.feSpecularLighting(*args, **kwargs)ΒΆ
- class domonic.svg.feSpotLight(*args, **kwargs)ΒΆ
- class domonic.svg.feTile(*args, **kwargs)ΒΆ
- class domonic.svg.feTurbulence(*args, **kwargs)ΒΆ
- class domonic.svg.font(*args, **kwargs)ΒΆ
- class domonic.svg.foreignObject(*args, **kwargs)ΒΆ
- class domonic.svg.g(*args, **kwargs)ΒΆ
- class domonic.svg.glyph(*args, **kwargs)ΒΆ
- class domonic.svg.glyphRef(*args, **kwargs)ΒΆ
- class domonic.svg.hatch(*args, **kwargs)ΒΆ
- class domonic.svg.hatchpath(*args, **kwargs)ΒΆ
- class domonic.svg.hkern(*args, **kwargs)ΒΆ
- class domonic.svg.image(*args, **kwargs)ΒΆ
- class domonic.svg.line(*args, **kwargs)ΒΆ
- class domonic.svg.linearGradient(*args, **kwargs)ΒΆ
- class domonic.svg.marker(*args, **kwargs)ΒΆ
- class domonic.svg.mask(*args, **kwargs)ΒΆ
- class domonic.svg.metadata(*args, **kwargs)ΒΆ
- class domonic.svg.mpath(*args, **kwargs)ΒΆ
- class domonic.svg.path(*args, **kwargs)ΒΆ
- class domonic.svg.pattern(*args, **kwargs)ΒΆ
- class domonic.svg.polygon(*args, **kwargs)ΒΆ
- class domonic.svg.polyline(*args, **kwargs)ΒΆ
- class domonic.svg.radialGradient(*args, **kwargs)ΒΆ
- class domonic.svg.rect(*args, **kwargs)ΒΆ
- class domonic.svg.solidcolor(*args, **kwargs)ΒΆ
- class domonic.svg.stop(*args, **kwargs)ΒΆ
- class domonic.svg.svg(*args, **kwargs)ΒΆ
- class domonic.svg.switch(*args, **kwargs)ΒΆ
- class domonic.svg.symbol(*args, **kwargs)ΒΆ
- class domonic.svg.text(*args, **kwargs)ΒΆ
- class domonic.svg.textPath(*args, **kwargs)ΒΆ
- class domonic.svg.title(*args, **kwargs)ΒΆ
- class domonic.svg.tref(*args, **kwargs)ΒΆ
- class domonic.svg.tspan(*args, **kwargs)ΒΆ
- class domonic.svg.unknown(*args, **kwargs)ΒΆ
- class domonic.svg.use(*args, **kwargs)ΒΆ
- class domonic.svg.view(*args, **kwargs)ΒΆ
- class domonic.svg.vkern(*args, **kwargs)ΒΆ
- class domonic.lerpy.tween.Tween(target=None, values=None, duration=0, equations=None, delay=0, loop=False)[source]ΒΆ
Tween is a complex lerp but you donβt have do the math cos robert penner did already. Just pass an easing equation from the easing package
i.e
twn = Tween(someObj, { βxβ:10, βyβ:5, βzβ:3}, 6, Linear.easeIn )
will tween the objects properties over the given time using Linear.easeIn
domonic.x3dΒΆ
Generate x3d with python 3
- class domonic.xml.x3d.Anchor(*args, **kwargs)ΒΆ
- domonic.xml.x3d.AppearanceΒΆ
alias of
appearance
- class domonic.xml.x3d.Arc2D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ArcClose2D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.AudioClip(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Background(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.BallJoint(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Billboard(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.BinaryGeometry(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.BlendMode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.BlendedVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Block(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.BoundaryEnhancementVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.BufferAccessor(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.BufferGeometry(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.BufferView(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CADAssembly(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CADFace(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CADLayer(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CADPart(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CartoonVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Circle2D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ClipPlane(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CollidableShape(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Collision(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CollisionCollection(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CollisionSensor(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Color(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ColorChaser(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ColorDamper(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ColorInterpolator(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ColorMaskMode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ColorRGBA(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CommonSurfaceShader(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ComposedCubeMapTexture(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ComposedShader(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ComposedTexture3D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ComposedVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Cone(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Coordinate(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CoordinateDamper(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CoordinateDouble(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CoordinateInterpolator(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Cylinder(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.CylinderSensor(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.DepthMode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.DirectionalLight(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Dish(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Disk2D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.DoubleAxisHingeJoint(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.DynamicLOD(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.EdgeEnhancementVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ElevationGrid(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Environment(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Extrusion(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Field(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.FloatVertexAttribute(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Fog(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.FontStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.GeneratedCubeMapTexture(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.GeoCoordinate(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.GeoElevationGrid(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.GeoLOD(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.GeoLocation(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.GeoMetadata(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.GeoOrigin(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.GeoPositionInterpolator(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.GeoTransform(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.GeoViewpoint(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Group(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.HAnimDisplacer(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.HAnimHumanoid(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.HAnimJoint(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.HAnimSegment(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.HAnimSite(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ImageTexture(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ImageTexture3D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ImageTextureAtlas(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.IndexedFaceSet(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.IndexedLineSet(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.IndexedQuadSet(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.IndexedTriangleSet(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.IndexedTriangleStripSet(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.IsoSurfaceVolumeData(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.LOD(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.LineProperties(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.LineSet(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MPRPlane(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MPRVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MatrixTextureTransform(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MatrixTransform(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Mesh(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MetadataBoolean(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MetadataDouble(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MetadataFloat(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MetadataInteger(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MetadataSet(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MetadataString(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MotorJoint(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MovieTexture(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MultiTexture(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.MultiTextureCoordinate(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Normal(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.NormalInterpolator(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Nozzle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.OpacityMapVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.OrientationChaser(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.OrientationDamper(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.OrientationInterpolator(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.OrthoViewpoint(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Param(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ParticleSet(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PhysicalEnvironmentLight(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PhysicalMaterial(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PixelTexture(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PixelTexture3D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PlaneSensor(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PointLight(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PointSet(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Polyline2D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Polypoint2D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PopGeometry(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PopGeometryLevel(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PositionChaser(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PositionChaser2D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PositionDamper(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PositionDamper2D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PositionInterpolator(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.PositionInterpolator2D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ProjectionVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Pyramid(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.QuadSet(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.RadarVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Rectangle2D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.RectangularTorus(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.RefinementTexture(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.RemoteSelectionGroup(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.RenderedTexture(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.RigidBody(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.RigidBodyCollection(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Route(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ScalarChaser(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ScalarDamper(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ScalarInterpolator(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.SegmentedVolumeData(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ShadedVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.ShaderPart(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.SilhouetteEnhancementVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.SingleAxisHingeJoint(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.SliderJoint(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.SlopedCylinder(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Snout(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.SolidOfRevolution(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Sound(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.SphereSegment(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.SphereSensor(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.SplinePositionInterpolator(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.SpotLight(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.StaticGroup(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.StippleVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.SurfaceShaderTexture(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Switch(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.TexCoordDamper2D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Text(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Texture(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.TextureCoordinate(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.TextureCoordinate3D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.TextureCoordinateGenerator(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.TextureProperties(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.TextureTransform(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.TextureTransform3D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.TextureTransformMatrix3D(*args, **kwargs)ΒΆ
- domonic.xml.x3d.TimeSensorΒΆ
alias of
timeSensor
- class domonic.xml.x3d.ToneMappedVolumeStyle(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Torus(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.TouchSensor(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.TriangleSet(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.TriangleSet2D(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.TwoSidedMaterial(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Uniform(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.UniversalJoint(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Viewfrustum(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.Viewpoint(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.VolumeData(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.WorldInfo(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DAppearanceChildNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DAppearanceNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DBackgroundNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DBinaryContainerGeometryNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DBindableNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DBoundedObject(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DChaserNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DChildNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DColorNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DComposableVolumeRenderStyleNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DComposedGeometryNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DCoordinateNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DDamperNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DDragSensorNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DEnvironmentNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DEnvironmentTextureNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DFogNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DFollowerNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DFontStyleNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DGeometricPropertyNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DGeometryNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DGroupingNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DInfoNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DInterpolatorNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DLODNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DLightNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DMaterialNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DMetadataObject(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DNBodyCollidableNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DPlanarGeometryNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DPointingDeviceSensorNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DRigidJointNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DSensorNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DShaderNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DShapeNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DSoundNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DSoundSourceNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DSpatialGeometryNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DTexture3DNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DTextureCoordinateNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DTextureNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DTextureTransformNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DTimeDependentNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DTouchSensorNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DTransformNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DVertexAttributeNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DViewpointNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DVolumeDataNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.X3DVolumeRenderStyleNode(*args, **kwargs)ΒΆ
- class domonic.xml.x3d.appearance(*args, **kwargs)ΒΆ
- domonic.xml.x3d.arcClose2DΒΆ
alias of
ArcClose2D
- domonic.xml.x3d.backgroundΒΆ
alias of
Background
- domonic.xml.x3d.binaryGeometryΒΆ
alias of
BinaryGeometry
- domonic.xml.x3d.blendedVolumeStyleΒΆ
alias of
BlendedVolumeStyle
- domonic.xml.x3d.boundaryEnhancementVolumeStyleΒΆ
alias of
BoundaryEnhancementVolumeStyle
- class domonic.xml.x3d.box(*args, **kwargs)ΒΆ
- domonic.xml.x3d.bufferAccessorΒΆ
alias of
BufferAccessor
- domonic.xml.x3d.bufferGeometryΒΆ
alias of
BufferGeometry
- domonic.xml.x3d.bufferViewΒΆ
alias of
BufferView
- domonic.xml.x3d.cADAssemblyΒΆ
alias of
CADAssembly
- domonic.xml.x3d.cartoonVolumeStyleΒΆ
alias of
CartoonVolumeStyle
- domonic.xml.x3d.collidableShapeΒΆ
alias of
CollidableShape
- domonic.xml.x3d.collisionCollectionΒΆ
alias of
CollisionCollection
- domonic.xml.x3d.collisionSensorΒΆ
alias of
CollisionSensor
- domonic.xml.x3d.colorChaserΒΆ
alias of
ColorChaser
- domonic.xml.x3d.colorDamperΒΆ
alias of
ColorDamper
- domonic.xml.x3d.colorInterpolatorΒΆ
alias of
ColorInterpolator
- domonic.xml.x3d.colorMaskModeΒΆ
alias of
ColorMaskMode
- domonic.xml.x3d.commonSurfaceShaderΒΆ
alias of
CommonSurfaceShader
- domonic.xml.x3d.composedCubeMapTextureΒΆ
alias of
ComposedCubeMapTexture
- domonic.xml.x3d.composedShaderΒΆ
alias of
ComposedShader
- domonic.xml.x3d.composedTexture3DΒΆ
alias of
ComposedTexture3D
- domonic.xml.x3d.composedVolumeStyleΒΆ
alias of
ComposedVolumeStyle
- domonic.xml.x3d.coordinateΒΆ
alias of
Coordinate
- domonic.xml.x3d.coordinateDamperΒΆ
alias of
CoordinateDamper
- domonic.xml.x3d.coordinateDoubleΒΆ
alias of
CoordinateDouble
- domonic.xml.x3d.coordinateInterpolatorΒΆ
alias of
CoordinateInterpolator
- domonic.xml.x3d.cylinderSensorΒΆ
alias of
CylinderSensor
- domonic.xml.x3d.directionalLightΒΆ
alias of
DirectionalLight
- domonic.xml.x3d.doubleAxisHingeJointΒΆ
alias of
DoubleAxisHingeJoint
- domonic.xml.x3d.dynamicLODΒΆ
alias of
DynamicLOD
- domonic.xml.x3d.edgeEnhancementVolumeStyleΒΆ
alias of
EdgeEnhancementVolumeStyle
- domonic.xml.x3d.elevationGridΒΆ
alias of
ElevationGrid
- domonic.xml.x3d.environmentΒΆ
alias of
Environment
- domonic.xml.x3d.floatVertexAttributeΒΆ
alias of
FloatVertexAttribute
- domonic.xml.x3d.generatedCubeMapTextureΒΆ
alias of
GeneratedCubeMapTexture
- domonic.xml.x3d.geoCoordinateΒΆ
alias of
GeoCoordinate
- domonic.xml.x3d.geoElevationGridΒΆ
alias of
GeoElevationGrid
- domonic.xml.x3d.geoLocationΒΆ
alias of
GeoLocation
- domonic.xml.x3d.geoMetadataΒΆ
alias of
GeoMetadata
- domonic.xml.x3d.geoPositionInterpolatorΒΆ
alias of
GeoPositionInterpolator
- domonic.xml.x3d.geoTransformΒΆ
alias of
GeoTransform
- domonic.xml.x3d.geoViewpointΒΆ
alias of
GeoViewpoint
- domonic.xml.x3d.hAnimDisplacerΒΆ
alias of
HAnimDisplacer
- domonic.xml.x3d.hAnimHumanoidΒΆ
alias of
HAnimHumanoid
- domonic.xml.x3d.hAnimJointΒΆ
alias of
HAnimJoint
- domonic.xml.x3d.hAnimSegmentΒΆ
alias of
HAnimSegment
- domonic.xml.x3d.imageTextureΒΆ
alias of
ImageTexture
- domonic.xml.x3d.imageTexture3DΒΆ
alias of
ImageTexture3D
- domonic.xml.x3d.imageTextureAtlasΒΆ
alias of
ImageTextureAtlas
- domonic.xml.x3d.indexedFaceSetΒΆ
alias of
IndexedFaceSet
- domonic.xml.x3d.indexedLineSetΒΆ
alias of
IndexedLineSet
- domonic.xml.x3d.indexedQuadSetΒΆ
alias of
IndexedQuadSet
- domonic.xml.x3d.indexedTriangleSetΒΆ
alias of
IndexedTriangleSet
- domonic.xml.x3d.indexedTriangleStripSetΒΆ
alias of
IndexedTriangleStripSet
- class domonic.xml.x3d.inline(*args, **kwargs)ΒΆ
- domonic.xml.x3d.isoSurfaceVolumeDataΒΆ
alias of
IsoSurfaceVolumeData
- domonic.xml.x3d.linePropertiesΒΆ
alias of
LineProperties
- domonic.xml.x3d.mPRVolumeStyleΒΆ
alias of
MPRVolumeStyle
- class domonic.xml.x3d.material(*args, **kwargs)ΒΆ
- domonic.xml.x3d.matrixTextureTransformΒΆ
alias of
MatrixTextureTransform
- domonic.xml.x3d.matrixTransformΒΆ
alias of
MatrixTransform
- domonic.xml.x3d.metadataBooleanΒΆ
alias of
MetadataBoolean
- domonic.xml.x3d.metadataDoubleΒΆ
alias of
MetadataDouble
- domonic.xml.x3d.metadataFloatΒΆ
alias of
MetadataFloat
- domonic.xml.x3d.metadataIntegerΒΆ
alias of
MetadataInteger
- domonic.xml.x3d.metadataSetΒΆ
alias of
MetadataSet
- domonic.xml.x3d.metadataStringΒΆ
alias of
MetadataString
- domonic.xml.x3d.motorJointΒΆ
alias of
MotorJoint
- domonic.xml.x3d.movieTextureΒΆ
alias of
MovieTexture
- domonic.xml.x3d.multiTextureΒΆ
alias of
MultiTexture
- domonic.xml.x3d.multiTextureCoordinateΒΆ
alias of
MultiTextureCoordinate
alias of
NavigationInfo
- domonic.xml.x3d.normalInterpolatorΒΆ
alias of
NormalInterpolator
- domonic.xml.x3d.opacityMapVolumeStyleΒΆ
alias of
OpacityMapVolumeStyle
- domonic.xml.x3d.orientationChaserΒΆ
alias of
OrientationChaser
- domonic.xml.x3d.orientationDamperΒΆ
alias of
OrientationDamper
- domonic.xml.x3d.orientationInterpolatorΒΆ
alias of
OrientationInterpolator
- domonic.xml.x3d.orthoViewpointΒΆ
alias of
OrthoViewpoint
- domonic.xml.x3d.particleSetΒΆ
alias of
ParticleSet
- domonic.xml.x3d.physicalEnvironmentLightΒΆ
alias of
PhysicalEnvironmentLight
- domonic.xml.x3d.physicalMaterialΒΆ
alias of
PhysicalMaterial
- domonic.xml.x3d.pixelTextureΒΆ
alias of
PixelTexture
- domonic.xml.x3d.pixelTexture3DΒΆ
alias of
PixelTexture3D
- class domonic.xml.x3d.plane(*args, **kwargs)ΒΆ
- domonic.xml.x3d.planeSensorΒΆ
alias of
PlaneSensor
- domonic.xml.x3d.pointLightΒΆ
alias of
PointLight
- domonic.xml.x3d.polyline2DΒΆ
alias of
Polyline2D
- domonic.xml.x3d.polypoint2DΒΆ
alias of
Polypoint2D
- domonic.xml.x3d.popGeometryΒΆ
alias of
PopGeometry
- domonic.xml.x3d.popGeometryLevelΒΆ
alias of
PopGeometryLevel
- domonic.xml.x3d.positionChaserΒΆ
alias of
PositionChaser
- domonic.xml.x3d.positionChaser2DΒΆ
alias of
PositionChaser2D
- domonic.xml.x3d.positionDamperΒΆ
alias of
PositionDamper
- domonic.xml.x3d.positionDamper2DΒΆ
alias of
PositionDamper2D
- domonic.xml.x3d.positionInterpolatorΒΆ
alias of
PositionInterpolator
- domonic.xml.x3d.positionInterpolator2DΒΆ
alias of
PositionInterpolator2D
- domonic.xml.x3d.projectionVolumeStyleΒΆ
alias of
ProjectionVolumeStyle
- domonic.xml.x3d.radarVolumeStyleΒΆ
alias of
RadarVolumeStyle
- domonic.xml.x3d.rectangle2DΒΆ
alias of
Rectangle2D
- domonic.xml.x3d.rectangularTorusΒΆ
alias of
RectangularTorus
- domonic.xml.x3d.refinementTextureΒΆ
alias of
RefinementTexture
- domonic.xml.x3d.remoteSelectionGroupΒΆ
alias of
RemoteSelectionGroup
- domonic.xml.x3d.renderedTextureΒΆ
alias of
RenderedTexture
- domonic.xml.x3d.rigidBodyCollectionΒΆ
alias of
RigidBodyCollection
- domonic.xml.x3d.scalarChaserΒΆ
alias of
ScalarChaser
- domonic.xml.x3d.scalarDamperΒΆ
alias of
ScalarDamper
- domonic.xml.x3d.scalarInterpolatorΒΆ
alias of
ScalarInterpolator
- class domonic.xml.x3d.scene(*args, **kwargs)ΒΆ
- domonic.xml.x3d.segmentedVolumeDataΒΆ
alias of
SegmentedVolumeData
- domonic.xml.x3d.shadedVolumeStyleΒΆ
alias of
ShadedVolumeStyle
- domonic.xml.x3d.shaderPartΒΆ
alias of
ShaderPart
- class domonic.xml.x3d.shape(*args, **kwargs)ΒΆ
- domonic.xml.x3d.silhouetteEnhancementVolumeStyleΒΆ
alias of
SilhouetteEnhancementVolumeStyle
- domonic.xml.x3d.singleAxisHingeJointΒΆ
alias of
SingleAxisHingeJoint
- domonic.xml.x3d.sliderJointΒΆ
alias of
SliderJoint
- domonic.xml.x3d.slopedCylinderΒΆ
alias of
SlopedCylinder
- domonic.xml.x3d.solidOfRevolutionΒΆ
alias of
SolidOfRevolution
- class domonic.xml.x3d.sphere(*args, **kwargs)ΒΆ
- domonic.xml.x3d.sphereSegmentΒΆ
alias of
SphereSegment
- domonic.xml.x3d.sphereSensorΒΆ
alias of
SphereSensor
- domonic.xml.x3d.splinePositionInterpolatorΒΆ
alias of
SplinePositionInterpolator
- domonic.xml.x3d.staticGroupΒΆ
alias of
StaticGroup
- domonic.xml.x3d.stippleVolumeStyleΒΆ
alias of
StippleVolumeStyle
- domonic.xml.x3d.surfaceShaderTextureΒΆ
alias of
SurfaceShaderTexture
- domonic.xml.x3d.texCoordDamper2DΒΆ
alias of
TexCoordDamper2D
- domonic.xml.x3d.textureCoordinateΒΆ
alias of
TextureCoordinate
- domonic.xml.x3d.textureCoordinate3DΒΆ
alias of
TextureCoordinate3D
- domonic.xml.x3d.textureCoordinateGeneratorΒΆ
alias of
TextureCoordinateGenerator
- domonic.xml.x3d.texturePropertiesΒΆ
alias of
TextureProperties
- domonic.xml.x3d.textureTransformΒΆ
alias of
TextureTransform
- domonic.xml.x3d.textureTransform3DΒΆ
alias of
TextureTransform3D
- domonic.xml.x3d.textureTransformMatrix3DΒΆ
alias of
TextureTransformMatrix3D
- class domonic.xml.x3d.timeSensor(*args, **kwargs)ΒΆ
- domonic.xml.x3d.toneMappedVolumeStyleΒΆ
alias of
ToneMappedVolumeStyle
- domonic.xml.x3d.touchSensorΒΆ
alias of
TouchSensor
- class domonic.xml.x3d.transform(*args, **kwargs)ΒΆ
- domonic.xml.x3d.triangleSetΒΆ
alias of
TriangleSet
- domonic.xml.x3d.triangleSet2DΒΆ
alias of
TriangleSet2D
- domonic.xml.x3d.twoSidedMaterialΒΆ
alias of
TwoSidedMaterial
- domonic.xml.x3d.universalJointΒΆ
alias of
UniversalJoint
- domonic.xml.x3d.viewfrustumΒΆ
alias of
Viewfrustum
- domonic.xml.x3d.volumeDataΒΆ
alias of
VolumeData
- domonic.xml.x3d.x3DAppearanceChildNodeΒΆ
alias of
X3DAppearanceChildNode
- domonic.xml.x3d.x3DAppearanceNodeΒΆ
alias of
X3DAppearanceNode
- domonic.xml.x3d.x3DBackgroundNodeΒΆ
alias of
X3DBackgroundNode
- domonic.xml.x3d.x3DBinaryContainerGeometryNodeΒΆ
alias of
X3DBinaryContainerGeometryNode
- domonic.xml.x3d.x3DBindableNodeΒΆ
alias of
X3DBindableNode
- domonic.xml.x3d.x3DBoundedObjectΒΆ
alias of
X3DBoundedObject
- domonic.xml.x3d.x3DChaserNodeΒΆ
alias of
X3DChaserNode
- domonic.xml.x3d.x3DChildNodeΒΆ
alias of
X3DChildNode
- domonic.xml.x3d.x3DColorNodeΒΆ
alias of
X3DColorNode
- domonic.xml.x3d.x3DComposableVolumeRenderStyleNodeΒΆ
alias of
X3DComposableVolumeRenderStyleNode
- domonic.xml.x3d.x3DComposedGeometryNodeΒΆ
alias of
X3DComposedGeometryNode
- domonic.xml.x3d.x3DCoordinateNodeΒΆ
alias of
X3DCoordinateNode
- domonic.xml.x3d.x3DDamperNodeΒΆ
alias of
X3DDamperNode
- domonic.xml.x3d.x3DDragSensorNodeΒΆ
alias of
X3DDragSensorNode
- domonic.xml.x3d.x3DEnvironmentNodeΒΆ
alias of
X3DEnvironmentNode
- domonic.xml.x3d.x3DEnvironmentTextureNodeΒΆ
alias of
X3DEnvironmentTextureNode
- domonic.xml.x3d.x3DFogNodeΒΆ
alias of
X3DFogNode
- domonic.xml.x3d.x3DFollowerNodeΒΆ
alias of
X3DFollowerNode
- domonic.xml.x3d.x3DFontStyleNodeΒΆ
alias of
X3DFontStyleNode
- domonic.xml.x3d.x3DGeometricPropertyNodeΒΆ
alias of
X3DGeometricPropertyNode
- domonic.xml.x3d.x3DGeometryNodeΒΆ
alias of
X3DGeometryNode
- domonic.xml.x3d.x3DGroupingNodeΒΆ
alias of
X3DGroupingNode
- domonic.xml.x3d.x3DInfoNodeΒΆ
alias of
X3DInfoNode
- domonic.xml.x3d.x3DInterpolatorNodeΒΆ
alias of
X3DInterpolatorNode
- domonic.xml.x3d.x3DLODNodeΒΆ
alias of
X3DLODNode
- domonic.xml.x3d.x3DLightNodeΒΆ
alias of
X3DLightNode
- domonic.xml.x3d.x3DMaterialNodeΒΆ
alias of
X3DMaterialNode
- domonic.xml.x3d.x3DMetadataObjectΒΆ
alias of
X3DMetadataObject
- domonic.xml.x3d.x3DNBodyCollidableNodeΒΆ
alias of
X3DNBodyCollidableNode
alias of
X3DNavigationInfoNode
- domonic.xml.x3d.x3DPlanarGeometryNodeΒΆ
alias of
X3DPlanarGeometryNode
- domonic.xml.x3d.x3DPointingDeviceSensorNodeΒΆ
alias of
X3DPointingDeviceSensorNode
- domonic.xml.x3d.x3DRigidJointNodeΒΆ
alias of
X3DRigidJointNode
- domonic.xml.x3d.x3DSensorNodeΒΆ
alias of
X3DSensorNode
- domonic.xml.x3d.x3DShaderNodeΒΆ
alias of
X3DShaderNode
- domonic.xml.x3d.x3DShapeNodeΒΆ
alias of
X3DShapeNode
- domonic.xml.x3d.x3DSoundNodeΒΆ
alias of
X3DSoundNode
- domonic.xml.x3d.x3DSoundSourceNodeΒΆ
alias of
X3DSoundSourceNode
- domonic.xml.x3d.x3DSpatialGeometryNodeΒΆ
alias of
X3DSpatialGeometryNode
- domonic.xml.x3d.x3DTexture3DNodeΒΆ
alias of
X3DTexture3DNode
- domonic.xml.x3d.x3DTextureCoordinateNodeΒΆ
alias of
X3DTextureCoordinateNode
- domonic.xml.x3d.x3DTextureNodeΒΆ
alias of
X3DTextureNode
- domonic.xml.x3d.x3DTextureTransformNodeΒΆ
alias of
X3DTextureTransformNode
- domonic.xml.x3d.x3DTimeDependentNodeΒΆ
alias of
X3DTimeDependentNode
- domonic.xml.x3d.x3DTouchSensorNodeΒΆ
alias of
X3DTouchSensorNode
- domonic.xml.x3d.x3DTransformNodeΒΆ
alias of
X3DTransformNode
- domonic.xml.x3d.x3DVertexAttributeNodeΒΆ
alias of
X3DVertexAttributeNode
- domonic.xml.x3d.x3DViewpointNodeΒΆ
alias of
X3DViewpointNode
- domonic.xml.x3d.x3DVolumeDataNodeΒΆ
alias of
X3DVolumeDataNode
- domonic.xml.x3d.x3DVolumeRenderStyleNodeΒΆ
alias of
X3DVolumeRenderStyleNode
- class domonic.xml.x3d.x3d(*args, **kwargs)ΒΆ
domonic.geomΒΆ
written by.ai
domonic.sitemapΒΆ
generate or load sitemaps
warning - when using image and video tags from this package they will be namespaced i.e <image:image> and <video:video> so iβd advise to only import them within the def that you use them in to avoid conflict with html.image
- class domonic.xml.sitemap.changefreq(*args, **kwargs)ΒΆ
- class domonic.xml.sitemap.lastmod(*args, **kwargs)ΒΆ
- class domonic.xml.sitemap.loc(*args, **kwargs)ΒΆ
- class domonic.xml.sitemap.priority(*args, **kwargs)ΒΆ
- class domonic.xml.sitemap.sitemap(*args, **kwargs)ΒΆ
- domonic.xml.sitemap.sitemap_format(self, *args, **kwargs)[source]ΒΆ
attempts to prettify the output of the sitemap.
- domonic.xml.sitemap.sitemap_from_urls(urls)[source]ΒΆ
Create a sitemap from a list of urls.add()
Note: This wonβt allow you to add priority or changefreq of the urls. or add images etc tho u could loop the nodes afterwards and do that.
WARNING: thereβs a difference between a sitemap index and a sitemap. make sure you know what you want.
- class domonic.xml.sitemap.sitemapindex(*args, **kwargs)ΒΆ
- domonic.xml.sitemap.sitemapindex_from_urls(urls)[source]ΒΆ
Create a sitemap index from a list of urls.
WARNING: thereβs a difference between a sitemap index and a sitemap. make sure you know what you want.
# i.e
# <?xml version=β1.0β encoding=βUTF-8β?> # <sitemapindex xmlns=βhttp://www.sitemaps.org/schemas/sitemap/0.9β> # <sitemap> # <loc>https://xyz.com/sitemap1.xml</loc> # <lastmod>2021-07-08T13:12:16+00:00</lastmod> # </sitemap> # </sitemapindex>
- class domonic.xml.sitemap.url(*args, **kwargs)ΒΆ
- class domonic.xml.sitemap.urlset(*args, **kwargs)ΒΆ
domonic.webapi.urlΒΆ
https://developer.mozilla.org/en-US/docs/Web/API/URL
# TODO - move the unit tests for this class from javascript to webapi # TODO - untested
- class domonic.webapi.url.URL(url: str = '', *args, **kwargs)[source]ΒΆ
a-tag extends from URL
- property hashΒΆ
β hash Sets or returns the anchor part (#) of a URL
- class domonic.webapi.url.URLSearchParams(paramString)[source]ΒΆ
[utility methods to work with the query string of a URL]
- delete(key)[source]ΒΆ
Deletes the given search parameter, and its associated value, from the list of all search parameters.
- entries()[source]ΒΆ
Returns an iterator allowing iteration through all key/value pairs contained in this object.
- forEach(func)[source]ΒΆ
Allows iteration through all values contained in this object via a callback function.
- keys()[source]ΒΆ
Returns an iterator allowing iteration through all keys of the key/value pairs contained in this object.