Domonic: autodocs

domonic

  • Generate HTML using python 3
  • DOM-like API in python 3
  • JS-like API in python 3
  • Call Terminal commands using python 3 (this one requires a nix machine)

domonic.html

Generate HTML using python 3

exception domonic.html.TemplateError(error, message='Templating error: ')[source]
class domonic.html.a(*args, **kwargs)
class domonic.html.abbr(*args, **kwargs)
class domonic.html.address(*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, **kwargs)
class domonic.html.b(*args, **kwargs)
class domonic.html.base(*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, **kwargs)
class domonic.html.br(*args, **kwargs)
class domonic.html.button(*args, **kwargs)
class domonic.html.canvas(*args, **kwargs)
class domonic.html.caption(*args, **kwargs)
class domonic.html.cite(*args, **kwargs)
class domonic.html.closed_tag(*args, **kwargs)[source]
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(content='')[source]
Parameters:content (str) – Message to be rendered inside the comment tag
Returns:“<!– {self.content} –>
Return type:str
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.div(*args, **kwargs)
class domonic.html.dl(*args, **kwargs)
class domonic.html.doctype[source]
Returns:<!DOCTYPE html>
Return type:str
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.figcaption(*args, **kwargs)
class domonic.html.figure(*args, **kwargs)
class domonic.html.font(*args, **kwargs)
class domonic.html.footer(*args, **kwargs)
class domonic.html.form(*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, **kwargs)
class domonic.html.input(*args, **kwargs)
class domonic.html.ins(*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)
domonic.html.main

alias of domonic.html.command

class domonic.html.mark(*args, **kwargs)
class domonic.html.menu(*args, **kwargs)
class domonic.html.meta(*args, **kwargs)
class domonic.html.meter(*args, **kwargs)
class domonic.html.nav(*args, **kwargs)
class domonic.html.noscript(*args, **kwargs)
class domonic.html.ol(*args, **kwargs)
class domonic.html.optgroup(*args, **kwargs)
class domonic.html.option(*args, **kwargs)
class domonic.html.output(*args, **kwargs)
class domonic.html.p(*args, **kwargs)
class domonic.html.param(*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)
domonic.html.render(inp, outp='')[source]

Renders the input to string or to a file.

Parameters:
  • inp (obj) – A domonic tag. For example div()
  • outp (str) – An optional output filename
Returns:

A HTML rendered string

Return type:

str

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, **kwargs)
class domonic.html.small(*args, **kwargs)
class domonic.html.source(*args, **kwargs)
class domonic.html.span(*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, **kwargs)
class domonic.html.tag(*args, **kwargs)[source]

The class from which all html tags extend

class domonic.html.tbody(*args, **kwargs)
class domonic.html.td(*args, **kwargs)
class domonic.html.textarea(*args, **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, **kwargs)
class domonic.html.wbr(*args, **kwargs)

domonic.dom

methods on the dom

class domonic.dom.Document(*args, **kwargs)[source]

Baseclass for the html tag

anchors()[source]

Returns a collection of all <a> elements in the document that have a name attribute

applets()[source]

Returns a collection of all <applet> elements in the document

body

returns the document’s body (the <body> element)

characterSet

Returns the character encoding for the document

charset

Use characterSet instead.

Type:Returns the character encoding for the document. Deprecated
static createAttribute(name)[source]

Creates an attribute node

static createComment(message)[source]

Creates a Comment node with the specified text

static createElement(_type)[source]

Creates an Element node - WARNING THIS WILL NOT CREATE A ‘DOMONIC ELEMENT’ (yet), so it wont have features

static createEvent(event_type=None)[source]

Creates a new event

doctype()[source]

Returns the Document Type Declaration associated with the document

domain()[source]

Returns the domain name of the server that loaded the document

embeds()[source]

Returns a collection of all <embed> elements the document

forms

Returns a collection of all <form> elements in the document

getElementById()[source]

Returns the element that has the ID attribute with the specified value

getElementsByClassName()[source]

Returns a NodeList containing all elements with the specified class name

getElementsByName()[source]

Returns a NodeList containing all elements with a specified name

head()[source]

Returns the <head> element of the document

images

Returns a collection of all <img> elements in the document

implementation

Returns the DOMImplementation object that handles this document

Returns a collection of all <a> and <area> elements in the document that have a href attribute

normalize()[source]

Removes empty Text nodes, and joins adjacent nodes

normalizeDocument()[source]

Removes empty Text nodes, and joins adjacent nodes

querySelector()[source]

Returns the first element that matches a specified CSS selector(s) in the document

querySelectorAll()[source]

Returns a static NodeList containing all elements that matches a specified CSS selector(s) in the document

renameNode(node, namespaceURI, nodename)[source]

Renames the specified node

scripts

Returns a collection of <script> elements in the document

title

Sets or returns the title of the document

write(html: str = '') → None[source]

Writes HTML expressions or JavaScript code to a document

writeln(html: str = '') → None[source]

Same as write(), but adds a newline character after each statement

class domonic.dom.Element(*args, **kwargs)[source]

Baseclass for all html tags

attributes

Returns a List of an element’s attributes

blur()[source]

Removes focus from an element

classList

Returns the value of the classList attribute of an element

className

Sets or returns the value of the className attribute of an element

click()[source]

Simulates a mouse-click on an element

clientHeight

Returns the height of an element, including padding

clientLeft

Returns the width of the left border of an element

clientTop

Returns the width of the top border of an element

clientWidth

Returns the width of an element, including padding

compareDocumentPosition()[source]

Compares the document position of two elements

contentEditable()[source]

Sets or returns whether the content of an element is editable or not

dir()[source]

Sets or returns the value of the dir attribute of an element

exitFullscreen()[source]

Cancels an element in fullscreen mode

firstElementChild()[source]

Returns the first child element of an element

focus()[source]

Gives focus to an element

getAttribute(attribute: str) → str[source]

Returns the specified attribute value of an element node

getAttributeNode(attribute: str) → str[source]

Returns the specified attribute node

getBoundingClientRect()[source]

Returns the size of an element and its position relative to the viewport

getElementsByClassName()[source]

Returns a collection of all child elements with the specified class name

getElementsByTagName(tag: str) → List[T][source]

Returns a collection of all child elements with the specified tag name

hasAttribute(attribute: str) → str[source]

Returns true if an element has the specified attribute, otherwise false

hasAttributes() → bool[source]

Returns true if an element has any attributes, otherwise false

id

Sets or returns the value of the id attribute of an element

innerHTML

Sets or returns the content of an element

innerText()[source]

Sets or returns the text content of a node and its descendants

insertAdjacentElement()[source]

Inserts a HTML element at the specified position relative to the current element

insertAdjacentHTML()[source]

Inserts a HTML formatted text at the specified position relative to the current element

insertAdjacentText()[source]

Inserts text into the specified position relative to the current element

isContentEditable()[source]

Returns true if the content of an element is editable, otherwise false

isDefaultNamespace()[source]

Returns true if a specified namespaceURI is the default, otherwise false

lang()[source]

Sets or returns the value of the lang attribute of an element

lastElementChild()[source]

Returns the last child element of an element

namespaceURI()[source]

Returns the namespace URI of an element

nextElementSibling

Returns the next element at the same node tree level

nextSibling

Returns the next node at the same node tree level

normalize()[source]

Joins adjacent text nodes and removes empty text nodes in an element

offsetHeight()[source]

Returns the height of an element, including padding, border and scrollbar

offsetLeft()[source]

Returns the horizontal offset position of an element

offsetParent()[source]

Returns the offset container of an element

offsetTop()[source]

Returns the vertical offset position of an element

offsetWidth()[source]

Returns the width of an element, including padding, border and scrollbar

ownerDocument()[source]

Returns the root element (document object) for an element

parentElement

Returns the parent element node of an element

previousElementSibling

Returns the previous element at the same node tree level

previousSibling

Returns the previous node at the same node tree level

querySelector()[source]

Returns the first child element that matches a specified CSS selector(s) of an element

querySelectorAll()[source]

Returns all child elements that matches a specified CSS selector(s) of an element

remove()[source]

Removes the element from the DOM

removeAttribute(attribute: str)[source]

Removes a specified attribute from an element

removeAttributeNode(attribute)[source]

Removes a specified attribute node, and returns the removed node

requestFullscreen()[source]

Shows an element in fullscreen mode

scrollHeight()[source]

Returns the entire height of an element, including padding

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

scrollWidth()[source]

Returns the entire width of an element, including padding

setAttribute(attribute, value)[source]

Sets or changes the specified attribute, to the specified value

setAttributeNode(attr)[source]

Sets or changes the specified attribute node

style

returns the value of the style attribute of an element

textContent

Sets or returns the textual content of a node and its descendants

title

Sets or returns the value of the title attribute of an element

toString()[source]

Converts an element to a string

class domonic.dom.EventTarget(*args, **kwargs)[source]

Baseclass for Node

class domonic.dom.Node(*args, **kwargs)[source]

Element extends from Node

appendChild(item)[source]

Adds a new child node, to an element, as the last child node

childElementCount

Returns the number of child elements an element has

childNodes

Returns a collection of an element’s child nodes (including text and comment nodes)

children

Returns a collection of an element’s child element (excluding text and comment nodes)

cloneNode(deep=True)[source]

Returns a copy.

contains(node)[source]

Check whether a node is a descendant of a given node

firstChild

Returns the first child node of an element

hasChildNodes

Returns true if an element has any child nodes, otherwise false

insertBefore(new_node, reference_node)[source]

inserts a node before a reference node as a child of a specified parent node.

isEqualNode(node)[source]

Checks if two elements are equal

isSameNode(node)[source]

Checks if two elements are the same node

lastChild

Returns the last child node of an element

nodeName

Returns the name of a node

nodeType

Returns the node type of a node

nodeValue

Sets or returns the value of a node

removeChild(node)[source]

removes a child node from the DOM and returns the removed node.

replaceChild(newChild, oldChild)[source]

Replaces a child node within the given (parent) node.

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]
class domonic.dom.ParentNode(*args, **kwargs)[source]

not tested yet

class domonic.dom.ShadowRoot(host, mode='open')[source]

property on element that has hidden DOM

caretPositionFromPoint()[source]

Returns a CaretPosition object containing the DOM node containing the caret, and caret’s character offset within that node.

elementFromPoint()[source]

Returns the topmost element at the specified coordinates.

elementsFromPoint()[source]

Returns an array of all elements at the specified coordinates.

getSelection()[source]

Returns a Selection object representing the range of text selected by the user, or the current position of the caret.

domonic.dom.document

alias of domonic.dom.Document

domonic.javascript

class domonic.javascript.Array(*args)[source]

javascript array

concat(value)[source]

Joins two or more arrays, and returns a copy of the joined arrays

copyWithin()[source]

Copies array elements within the array, to and from specified positions

entries()[source]

Returns a key/value pair Array Iteration Object

every(test)[source]

Checks if every element in an array pass a test

fill()[source]

Fill the elements in an array with a static value

filter(func)[source]

Creates a new array with every element in an array that pass a test even_numbers = someArr.filter( lambda x: x % 2 == 0 )

find()[source]

Returns the value of the first element in an array that pass a test

findIndex()[source]

Returns the index of the first element in an array that pass a test

forEach()[source]

Calls a function for each array element

includes(value)[source]

Check if an array contains the specified element

indexOf(value)[source]

Search the array for an element and returns its position

isArray()[source]

Checks whether an object is an array

join(value)[source]

Joins all elements of an array into a string

keys()[source]

Returns a Array Iteration Object, containing the keys of the original array

lastIndexOf(value)[source]

Search the array for an element, starting at the end, and returns its position

length

Sets or returns the number of elements in an array

map()[source]

Creates a new array with the result of calling a function for each array element

pop()[source]

Removes the last element of an array, and returns that element

push(value)[source]

Adds new elements to the end of an array, and returns the new length

reduce()[source]

Reduce the values of an array to a single value (going left-to-right)

reduceRight()[source]

Reduce the values of an array to a single value (going right-to-left)

reverse()[source]

Reverses the order of the elements in an array

shift()[source]

removes the first element from an array and returns that removed element

slice(start, stop, step=1)[source]

Selects a part of an array, and returns the new array

some()[source]

Checks if any of the elements in an array pass a test

sort()[source]

Sorts the elements of an array

splice(start, delete_count=None, *items)[source]

Selects a part of an array, and returns the new array

toString()[source]

Converts an array to a string, and returns the result

unshift(*args)[source]

Adds new elements to the beginning of an array, and returns the new length

class domonic.javascript.Date(date: str = None, formatter='python')[source]

javascript date

UTC()[source]

Returns the number of milliseconds in a date since midnight of January 1, 1970, according to UTC time

getDate()[source]

Returns the day of the month (from 1-31)

getDay()[source]

Returns the day of the week (from 0-6)

getFullYear()[source]

Returns the year

getHours()[source]

Returns the hour (from 0-23)

getMilliseconds()[source]

Returns the milliseconds (from 0-999)

getMinutes()[source]

Returns the minutes (from 0-59)

getMonth()[source]

Returns the month (from 0-11)

getSeconds()[source]

Returns the seconds (from 0-59)

getTime()[source]

Returns the number of milliseconds since midnight Jan 1 1970, and a specified date

getUTCDate()[source]

Returns the day of the month, according to universal time (from 1-31)

getUTCDay()[source]

Returns the day of the week, according to universal time (from 0-6)

getUTCFullYear()[source]

Returns the year, according to universal time

getUTCHours()[source]

Returns the hour, according to universal time (from 0-23)

getUTCMilliseconds()[source]

Returns the milliseconds, according to universal time (from 0-999)

getUTCMinutes()[source]

Returns the minutes, according to universal time (from 0-59)

getUTCMonth()[source]

Returns the month, according to universal time (from 0-11)

getUTCSeconds()[source]

Returns the seconds, according to universal time (from 0-59)

getYear()[source]

Deprecated. Use the getFullYear() method instead

now()[source]

Returns the number of milliseconds since midnight Jan 1, 1970

parse(date_string)[source]

Parses a date string and returns the number of milliseconds since January 1, 1970

setDate(day)[source]

Sets the day of the month of a date object

setFullYear(year)[source]

Sets the year of a date object

setHours(hours)[source]

Sets the hour of a date object

setMilliseconds(milliseconds)[source]

Sets the milliseconds of a date object

setMinutes(minutes)[source]

Set the minutes of a date object

setMonth(month)[source]

Sets the month of a date object

setSeconds(seconds)[source]

Sets the seconds of a date object

setTime()[source]

Sets a date to a specified number of milliseconds after/before January 1, 1970

setUTCDate(day)[source]

Sets the day of the month of a date object, according to universal time

setUTCFullYear(year)[source]

Sets the year of a date object, according to universal time

setUTCHours(hour)[source]

Sets the hour of a date object, according to universal time

setUTCMilliseconds(milliseconds)[source]

Sets the milliseconds of a date object, according to universal time

setUTCMinutes(minutes)[source]

Set the minutes of a date object, according to universal time

setUTCMonth(month)[source]

Sets the month of a date object, according to universal time

setUTCSeconds(seconds)[source]

Set the seconds of a date object, according to universal time

setYear(year)[source]

Deprecated. Use the setFullYear() method instead

toDateString()[source]

Converts the date portion of a Date object into a readable string

toGMTString()[source]

Deprecated. Use the toUTCString() method instead

toISOString()[source]

Returns the date as a string, using the ISO standard

toJSON()[source]

Returns the date as a string, formatted as a JSON date

toLocaleDateString()[source]

Returns the date portion of a Date object as a string, using locale conventions

toLocaleString()[source]

Converts a Date object to a string, using locale conventions

toLocaleTimeString()[source]

Returns the time portion of a Date object as a string, using locale conventions

toTimeString()[source]

Converts the time portion of a Date object to a string

toUTCString()[source]

Converts a Date object to a string, according to universal time

class domonic.javascript.Global[source]

javascript global methods

NaN()[source]

“Not-a-Number” value

static Number(x)[source]

Converts an object’s value to a number

static String(x)[source]

Converts an object’s value to a string

static decodeURI(x)[source]

Decodes a URI

static decodeURIComponent(x)[source]

Decodes a URI component

static encodeURI(x)[source]

Encodes a URI

static encodeURIComponent(x)[source]

Encodes a URI component

static isFinite()[source]

Determines whether a value is a finite, legal number

static isNaN(x)[source]

Determines whether a value is an illegal number

static parseFloat(x)[source]

Parses a string and returns a floating point number

static parseInt(x)[source]

Parses a string and returns an integer

undefined()[source]

Indicates that a variable has not been assigned a value

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.Math[source]

Math class that mirrors javascript implementation

class domonic.javascript.Navigator(*args, **kwargs)[source]

navigator

class domonic.javascript.Number(x='', *args, **kwargs)[source]

javascript Number methods

isInteger()[source]

Checks whether a value is an integer

isSafeInteger()[source]

Checks whether a value is a safe integer

toExponential(num)[source]

Converts a number into an exponential notation

toFixed(num)[source]

Formats a number with x numbers of digits after the decimal point

toPrecision(num)[source]

Formats a number to x length

exception domonic.javascript.ProgramKilled[source]
class domonic.javascript.Screen[source]

screen

availHeight()[source]

Returns the height of the screen (excluding the Windows Taskbar)

availWidth()[source]

Returns the width of the screen (excluding the Windows Taskbar)

colorDepth()[source]

Returns the colorDepth

height()[source]

Returns the total height of the screen

pixelDepth()[source]

Returns the pixelDepth

width()[source]

Returns the total width of the screen

class domonic.javascript.String(x='', *args, **kwargs)[source]

javascript string method

charAt(index)[source]

Returns the character at the specified index (position)

charCodeAt(index)[source]

Returns the Unicode of the character at the specified index

endsWith(x, start, end)[source]

Checks whether a string ends with specified string/characters

fromCharCode(code)[source]

Converts Unicode values to characters

repeat(count)[source]

Returns a new string with a specified number of copies of an existing string

replace(old, new)[source]

Searches a string for a specified value, or a regular expression, and returns a new string where the specified values are replaced

startsWith(x, start, end)[source]

Checks whether a string begins with specified characters

substring()[source]

Extracts the characters from a string, between two specified indices

toLowerCase()[source]

Converts a string to lowercase letters

toUpperCase()[source]

Converts a string to uppercase letters

trim()[source]

Removes whitespace from both ends of a string

class domonic.javascript.URL(url: str = '', *args, **kwargs)[source]

a tag extends from URL

hash

” hash Sets or returns the anchor part (#) of a URL

class domonic.javascript.Window(*args, **kwargs)[source]

window

static alert(msg)[source]

Displays an alert box with a message and an OK button

static prompt(msg, default_text='')[source]

Displays a dialog box that prompts the visitor for input

static setTimeout(function, t, *args, **kwargs)[source]

Calls a function or evaluates an expression after a specified number of milliseconds

class domonic.javascript.js_object[source]
valueOf()[source]

Returns the primitive value of an array Array, Boolean, Date, Number, String

domonic.javascript.window

alias of domonic.javascript.Window

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.command(*args, **kwargs)[source]

wrapper class for all terminal commands

static run(cmd)[source]

runs any command on the terminal

Parameters:cmd (str) – The command you want to run on the terminal
Returns:the response as a string
Return type:str
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.history(*args, **kwargs)[source]
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.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.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

class domonic.JSON.JSON[source]

A class containing JSON utils

static csv2json(csv_filepath, json_filepath=None)[source]

convert a CSV to JSON.

static csvify(arr, outfile='data.csv')[source]

takes a json array and dumps a csv file

Parameters:
  • arr (list) – the json array
  • outfile (list) – the output file
Returns:

a csv file

Return type:

str

static flatten(b, delim='__')[source]

# i.e. input = map( lambda x: JSON.flatten( x, “__” ), input )

static tablify(arr)[source]

takes a json array and returns a html table # TODO - reverse. table to json

Parameters:arr (list) – the json array
Returns:a html table
Return type:str
domonic.JSON.return_json(func)[source]

decorate any function to return json instead of a python obj

domonic.CDN

Refs to some useful .js and .css libs.

use for prototyping. wget anything in later and create your own local references once ur happy

TODO - integrity/cross origin/module?

WARNING/NOTE - dont use. this isn’t released or documented. just ideas atm…

class domonic.CDN.CDN_CSS[source]

Preferably use version numbers if available. user LATEST if it always gets the latest

class domonic.CDN.CDN_IMG[source]

CDN images

static PLACEHOLDER(width=100, height=100, HTTP='', seperator='/')[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]

You will need to append the lib version number if you add any libs here # obvious candidates… https://github.com/sorrycc/awesome-javascript

domonic.events

dom events

class domonic.events.AnimationEvent(*args, **kwargs)[source]
animationName = None

Returns the name of the animation

elapsedTime = None

Returns the number of seconds an animation has been running

pseudoElement = None

Returns the name of the pseudo-element of the animation

class domonic.events.ClipboardEvent(*args, **kwargs)[source]
clipboardData = None

Returns an object containing the data affected by the clipboard operation

class domonic.events.CustomEvent(*args, **kwargs)[source]
class domonic.events.DragEvent(*args, **kwargs)[source]
dataTransfer = None

Returns the data that is dragged/dropped

class domonic.events.Event(_type=None, *args, **kwargs)[source]

event

class domonic.events.FocusEvent(*args, **kwargs)[source]
class domonic.events.HashChangeEvent(*args, **kwargs)[source]
newURL = None

Returns the URL of the document, after the hash has been changed

class domonic.events.InputEvent(*args, **kwargs)[source]
data = None

Returns the inserted characters

class domonic.events.KeyboardEvent(*args, **kwargs)[source]

keyboard events

class domonic.events.MouseEvent(*args, **kwargs)[source]

mouse events

class domonic.events.PageTransitionEvent(*args, **kwargs)[source]
PAGESHOW = 'onpageshow'

PageTransitionEvent

persisted = None

Returns whether the webpage was cached by the browser

class domonic.events.PopStateEvent(*args, **kwargs)[source]
state = None

Returns an object containing a copy of the history entries

class domonic.events.ProgressEvent(*args, **kwargs)[source]

CustomEvent

class domonic.events.StorageEvent(*args, **kwargs)[source]
key = None

Returns the key of the changed storage item

newValue = None

Returns the new value of the changed storage item

oldValue = None

Returns the old value of the changed storage item

storageArea = None

Returns an object representing the affected storage object

url = None

Returns the URL of the changed item’s document

class domonic.events.TouchEvent(*args, **kwargs)[source]
altKey = None

Returns whether the “ALT” key was pressed when the touch event was triggered

changedTouches = None

Returns a list of all the touch objects whose state changed between the previous touch and this touch

ctrlKey = None

Returns whether the “CTRL” key was pressed when the touch event was triggered

metaKey = None

Returns whether the “meta” key was pressed when the touch event was triggered

shiftKey = None

Returns whether the “SHIFT” key was pressed when the touch event was triggered

targetTouches = None

Returns a list of all the touch objects that are in contact with the surface and where the touchstart event occured on the same target element as the current target element

touches = None

Returns a list of all the touch objects that are currently in contact with the surface

class domonic.events.TransitionEvent(*args, **kwargs)[source]
TRANSITIONEND = 'ontransitionend'

TransitionEvent

elapsedTime = None

Returns the number of seconds a transition has been running

propertyName = None

Returns the name of the transition

pseudoElement = None

Returns the name of the pseudo-element of the transition

class domonic.events.UiEvent(*args, **kwargs)[source]
class domonic.events.WheelEvent(*args, **kwargs)[source]
deltaMode = None

Returns a number that represents the unit of measurements for delta values (pixels, lines or pages)

deltaX = None

Returns the horizontal scroll amount of a mouse wheel (x-axis)

deltaY = None

Returns the vertical scroll amount of a mouse wheel (y-axis)

deltaZ = None

Returns the scroll amount of a mouse wheel for the z-axis

domonic.style

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.

alignContent

Sets or returns the alignment between the lines inside a flexible container when the items do not use all available space 3

alignItems

Sets or returns the alignment for items inside a flexible container 3

alignSelf

Sets or returns the alignment for selected items inside a flexible container 3

animation

shorthand property for all the animation properties below, except the animationPlayState property 3

animationDelay

Sets or returns when the animation will start 3

animationDirection

Sets or returns whether or not the animation should play in reverse on alternate cycles 3

animationDuration

Sets or returns how many seconds or milliseconds an animation takes to complete one cycle 3

animationFillMode

Sets or returns what values are applied by the animation outside the time it is executing 3

animationIterationCount

Sets or returns the number of times an animation should be played 3

animationName

Sets or returns a name for the @keyframes animation 3

animationPlayState

Sets or returns whether the animation is running or paused 3

animationTimingFunction

Sets or returns the speed curve of the animation 3

backfaceVisibility

Sets or returns whether or not an element should be visible when not facing the screen 3

background

Sets or returns all the background properties in one declaration 1

backgroundAttachment

Sets or returns whether a background-image is fixed or scrolls with the page 1

backgroundClip

Sets or returns the painting area of the background 3

backgroundColor

Sets or returns the background-color of an element 1

backgroundImage

Sets or returns the background-image for an element 1

backgroundOrigin

Sets or returns the positioning area of the background images 3

backgroundPosition

Sets or returns the starting position of a background-image 1

backgroundRepeat

Sets or returns how to repeat (tile) a background-image 1

backgroundSize

Sets or returns the size of the background image 3

border

Sets or returns borderWidth, borderStyle, and borderColor in one declaration 1

borderBottom

Sets or returns all the borderBottom properties in one declaration 1

borderBottomColor

Sets or returns the color of the bottom border 1

borderBottomLeftRadius

Sets or returns the shape of the border of the bottom-left corner 3

borderBottomRightRadius

Sets or returns the shape of the border of the bottom-right corner 3

borderBottomStyle

Sets or returns the style of the bottom border 1

borderBottomWidth

Sets or returns the width of the bottom border 1

borderCollapse

Sets or returns whether the table border should be collapsed into a single border, or not 2

borderColor

Sets or returns the color of an element’s border (can have up to four values) 1

borderImage

horthand property for setting or returning all the borderImage properties 3

borderImageOutset

Sets or returns the amount by which the border image area extends beyond the border box 3

borderImageRepeat

Sets or returns whether the image-border should be repeated, rounded or stretched 3

borderImageSlice

Sets or returns the inward offsets of the image-border 3

borderImageSource

Sets or returns the image to be used as a border 3

borderImageWidth

Sets or returns the widths of the image-border 3

borderLeft

Sets or returns all the borderLeft properties in one declaration 1

borderLeftColor

Sets or returns the color of the left border 1

borderLeftStyle

Sets or returns the style of the left border 1

borderLeftWidth

Sets or returns the width of the left border 1

borderRadius

A shorthand property for setting or returning all the four borderRadius properties 3

borderRight

Sets or returns all the borderRight properties in one declaration 1

borderRightColor

Sets or returns the color of the right border 1

borderRightStyle

Sets or returns the style of the right border 1

borderRightWidth

Sets or returns the width of the right border 1

borderSpacing

Sets or returns the space between cells in a table 2

borderStyle

Sets or returns the style of an element’s border (can have up to four values) 1

borderTop

Sets or returns all the borderTop properties in one declaration 1

borderTopColor

Sets or returns the color of the top border 1

borderTopLeftRadius

Sets or returns the shape of the border of the top-left corner 3

borderTopRightRadius

Sets or returns the shape of the border of the top-right corner 3

borderTopStyle

Sets or returns the style of the top border 1

borderTopWidth

Sets or returns the width of the top border 1

borderWidth

Sets or returns the width of an element’s border (can have up to four values) 1

bottom

Sets or returns the bottom position of a positioned element 2

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. 3

boxShadow

ttaches one or more drop-shadows to the box 3

boxSizing

llows you to define certain elements to fit an area in a certain way 3

captionSide

Sets or returns the position of the table caption 2

clear

Sets or returns the position of the element relative to floating objects 1

clip

Sets or returns which part of a positioned element is visible 2

color

Sets or returns the color of the text 1

columnCount

Sets or returns the number of columns an element should be divided into 3

columnFill

Sets or returns how to fill columns 3

columnGap

Sets or returns the gap between the columns 3

columnRule

shorthand property for setting or returning all the columnRule properties 3

columnRuleColor

Sets or returns the color of the rule between columns 3

columnRuleStyle

Sets or returns the style of the rule between columns 3

columnRuleWidth

Sets or returns the width of the rule between columns 3

columnSpan

Sets or returns how many columns an element should span across 3

columnWidth

Sets or returns the width of the columns 3

columns

horthand property for setting or returning columnWidth and columnCount 3

content

after pseudo-elements, to insert generated content 2

Type:d with the
Type:before and
counterIncrement

Increments one or more counters 2

counterReset

Creates or resets one or more counters 2

cssFloat

Sets or returns the horizontal alignment of an element 1

cursor

Sets or returns the type of cursor to display for the mouse pointer 2

direction

Sets or returns the text direction 2

display

Sets or returns an element’s display type 1

emptyCells

Sets or returns whether to show the border and background of empty cells, or not 2

filter

Sets or returns image filters (visual effects, like blur and saturation) 3

flex

Sets or returns the length of the item, relative to the rest 3

flexBasis

Sets or returns the initial length of a flexible item 3

flexDirection

Sets or returns the direction of the flexible items 3

flexFlow

A shorthand property for the flexDirection and the flexWrap properties 3

flexGrow

Sets or returns how much the item will grow relative to the rest 3

flexShrink

Sets or returns how the item will shrink relative to the rest 3

flexWrap

Sets or returns whether the flexible items should wrap or not 3

font

Sets or returns fontStyle, fontVariant, fontWeight, fontSize, lineHeight, and fontFamily in one declaration 1

fontFamily

Sets or returns the font family for text 1

fontSize

Sets or returns the font size of the text 1

fontSizeAdjust

eserves the readability of text when font fallback occurs 3

fontStretch

ects a normal, condensed, or expanded face from a font family 3

fontStyle

Sets or returns whether the style of the font is normal, italic or oblique 1

fontVariant

Sets or returns whether the font should be displayed in small capital letters 1

fontWeight

Sets or returns the boldness of the font 1

hangingPunctuation

ecifies whether a punctuation character may be placed outside the line box 3

height

Sets or returns the height of an element 1

hyphens

Sets how to split words to improve the layout of paragraphs 3

icon

Provides the author the ability to style an element with an iconic equivalent 3

imageOrientation

Specifies a rotation in the right or clockwise direction that a user agent applies to an image 3

isolation

efines whether an element must create a new stacking content 3

justifyContent

Sets or returns the alignment between the items inside a flexible container when the items do not use all available space. 3

left

Sets or returns the left position of a positioned element 2

letterSpacing

Sets or returns the space between characters in a text 1

lineHeight

Sets or returns the distance between lines in a text 1

listStyle

Sets or returns listStyleImage, listStylePosition, and listStyleType in one declaration 1

listStyleImage

Sets or returns an image as the list-item marker 1

listStylePosition

Sets or returns the position of the list-item marker 1

listStyleType

Sets or returns the list-item marker type 1

margin

Sets or returns the margins of an element (can have up to four values) 1

marginBottom

Sets or returns the bottom margin of an element 1

marginLeft

Sets or returns the left margin of an element 1

marginRight

Sets or returns the right margin of an element 1

marginTop

Sets or returns the top margin of an element 1

maxHeight

Sets or returns the maximum height of an element 2

maxWidth

Sets or returns the maximum width of an element 2

minHeight

Sets or returns the minimum height of an element 2

minWidth

Sets or returns the minimum width of an element 2

navDown

Sets or returns where to navigate when using the arrow-down navigation key 3

navIndex

Sets or returns the tabbing order for an element 3

navLeft

Sets or returns where to navigate when using the arrow-left navigation key 3

navRight

Sets or returns where to navigate when using the arrow-right navigation key 3

navUp

Sets or returns where to navigate when using the arrow-up navigation key 3

objectFit

pecifies how the contents of a replaced element should be fitted to the box established by its used height and width 3

objectPosition

ecifies the alignment of the replaced element inside its box 3

opacity

Sets or returns the opacity level for an element 3

order

Sets or returns the order of the flexible item, relative to the rest 3

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 2

outline

Sets or returns all the outline properties in one declaration 2

outlineColor

Sets or returns the color of the outline around a element 2

outlineOffset

ffsets an outline, and draws it beyond the border edge 3

outlineStyle

Sets or returns the style of the outline around an element 2

outlineWidth

Sets or returns the width of the outline around an element 2

overflow

Sets or returns what to do with content that renders outside the element box 2

overflowX

pecifies what to do with the left/right edges of the content, if it overflows the element’s content area 3

overflowY

pecifies what to do with the top/bottom edges of the content, if it overflows the element’s content area 3

padding

Sets or returns the padding of an element (can have up to four values) 1

paddingBottom

Sets or returns the bottom padding of an element 1

paddingLeft

Sets or returns the left padding of an element 1

paddingRight

Sets or returns the right padding of an element 1

paddingTop

Sets or returns the top padding of an element 1

pageBreakAfter

Sets or returns the page-break behavior after an element 2

pageBreakBefore

Sets or returns the page-break behavior before an element 2

pageBreakInside

Sets or returns the page-break behavior inside an element 2

perspective

Sets or returns the perspective on how 3D elements are viewed 3

perspectiveOrigin

Sets or returns the bottom position of 3D elements 3

position

Sets or returns the type of positioning method used for an element (static, relative, absolute or fixed) 2

quotes

Sets or returns the type of quotation marks for embedded quotations 2

resize

Sets or returns whether or not an element is resizable by the user 3

right

Sets or returns the right position of a positioned element 2

tabSize

Sets or returns the length of the tab-character 3

tableLayout

Sets or returns the way to lay out table cells, rows, and columns 2

textAlign

Sets or returns the horizontal alignment of text 1

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” 3

textDecoration

Sets or returns the decoration of a text 1

textDecorationColor

Sets or returns the color of the text-decoration 3

textDecorationLine

Sets or returns the type of line in a text-decoration 3

textDecorationStyle

Sets or returns the style of the line in a text decoration 3

textIndent

Sets or returns the indentation of the first line of text 1

textJustify

Sets or returns the justification method used when text-align is “justify” 3

textOverflow

Sets or returns what should happen when text overflows the containing element 3

textShadow

Sets or returns the shadow effect of a text 3

textTransform

Sets or returns the capitalization of a text 1

top

Sets or returns the top position of a positioned element 2

transform

pplies a 2D or 3D transformation to an element 3

transformOrigin

Sets or returns the position of transformed elements 3

transformStyle

Sets or returns how nested elements are rendered in 3D space 3

transition

shorthand property for setting or returning the four transition properties 3

transitionDelay

Sets or returns when the transition effect will start 3

transitionDuration

Sets or returns how many seconds or milliseconds a transition effect takes to complete 3

transitionProperty

Sets or returns the CSS property that the transition effect is for 3

transitionTimingFunction

Sets or returns the speed curve of the transition effect 3

unicodeBidi

Sets or returns whether the text should be overridden to support multiple languages in the same document 2

userSelect

Sets or returns whether the text of an element can be selected or not 2

verticalAlign

Sets or returns the vertical alignment of the content in an element 1

visibility

Sets or returns whether an element should be visible 2

whiteSpace

Sets or returns how to handle tabs, line breaks and whitespace in a text 1

widows

Sets or returns the minimum number of lines for an element that must be visible at the top of a page 2

width

Sets or returns the width of an element 1

wordBreak

Sets or returns line breaking rules for non-CJK scripts 3

wordSpacing

Sets or returns the spacing between words in a text 1

wordWrap

Allows long, unbreakable words to be broken and wrap to the next line 3

zIndex

Sets or returns the stack order of a positioned element 2

domonic.utils

snippets etc

class domonic.utils.Utils[source]

utils

static case_camel(s: str)[source]

case_camel(‘camel-case’) > ‘camelCase’

static case_kebab(s: str)[source]

kebab(‘camelCase’) # ‘camel-case’

static case_snake(s: str)[source]

snake(‘camelCase’) # ‘camel_case’

static chunk(list, size)[source]

chunk a list into batches

static chunks(iterable, size, format=<built-in function iter>)[source]

Iterate over any iterable (list, set, file, stream, strings, whatever), of ANY size

static clean(lst)[source]

removes falsy values (False, None, 0 and “”) from a list

static dictify(arr)[source]

turns a list into a dictionary where the list items are the keys

static squash(the_list)[source]

turns a 2d array into a flat one

static untitle(str)[source]

fooBar

static url2file(url)[source]

gen a safe filename from a url

domonic.decorators

domonic.decorators.check(f)[source]

logs entry and exit of a function

domonic.decorators.instead(f, somethingelse)[source]

what to return if it fails

domonic.decorators.log(logger, level='info')[source]

@log(logging.getLogger(‘main’), level=’warning’)

domonic.decorators.silence(*args, **kwargs)[source]

stop a function from doing anything

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.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)

domonic.x3d

Generate x3d with python 3

class domonic.x3d.Anchor(*args, **kwargs)
domonic.x3d.Appearance

alias of domonic.x3d.appearance

class domonic.x3d.Arc2D(*args, **kwargs)
class domonic.x3d.ArcClose2D(*args, **kwargs)
class domonic.x3d.AudioClip(*args, **kwargs)
class domonic.x3d.Background(*args, **kwargs)
class domonic.x3d.BallJoint(*args, **kwargs)
class domonic.x3d.Billboard(*args, **kwargs)
class domonic.x3d.BinaryGeometry(*args, **kwargs)
class domonic.x3d.BlendMode(*args, **kwargs)
class domonic.x3d.BlendedVolumeStyle(*args, **kwargs)
class domonic.x3d.Block(*args, **kwargs)
class domonic.x3d.BoundaryEnhancementVolumeStyle(*args, **kwargs)
domonic.x3d.Box

alias of domonic.x3d.box

class domonic.x3d.BufferAccessor(*args, **kwargs)
class domonic.x3d.BufferGeometry(*args, **kwargs)
class domonic.x3d.BufferView(*args, **kwargs)
class domonic.x3d.CADAssembly(*args, **kwargs)
class domonic.x3d.CADFace(*args, **kwargs)
class domonic.x3d.CADLayer(*args, **kwargs)
class domonic.x3d.CADPart(*args, **kwargs)
class domonic.x3d.CartoonVolumeStyle(*args, **kwargs)
class domonic.x3d.Circle2D(*args, **kwargs)
class domonic.x3d.ClipPlane(*args, **kwargs)
class domonic.x3d.CollidableShape(*args, **kwargs)
class domonic.x3d.Collision(*args, **kwargs)
class domonic.x3d.CollisionCollection(*args, **kwargs)
class domonic.x3d.CollisionSensor(*args, **kwargs)
class domonic.x3d.Color(*args, **kwargs)
class domonic.x3d.ColorChaser(*args, **kwargs)
class domonic.x3d.ColorDamper(*args, **kwargs)
class domonic.x3d.ColorInterpolator(*args, **kwargs)
class domonic.x3d.ColorMaskMode(*args, **kwargs)
class domonic.x3d.ColorRGBA(*args, **kwargs)
class domonic.x3d.CommonSurfaceShader(*args, **kwargs)
class domonic.x3d.ComposedCubeMapTexture(*args, **kwargs)
class domonic.x3d.ComposedShader(*args, **kwargs)
class domonic.x3d.ComposedTexture3D(*args, **kwargs)
class domonic.x3d.ComposedVolumeStyle(*args, **kwargs)
class domonic.x3d.Cone(*args, **kwargs)
class domonic.x3d.Coordinate(*args, **kwargs)
class domonic.x3d.CoordinateDamper(*args, **kwargs)
class domonic.x3d.CoordinateDouble(*args, **kwargs)
class domonic.x3d.CoordinateInterpolator(*args, **kwargs)
class domonic.x3d.Cylinder(*args, **kwargs)
class domonic.x3d.CylinderSensor(*args, **kwargs)
class domonic.x3d.DepthMode(*args, **kwargs)
class domonic.x3d.DirectionalLight(*args, **kwargs)
class domonic.x3d.Dish(*args, **kwargs)
class domonic.x3d.Disk2D(*args, **kwargs)
class domonic.x3d.DoubleAxisHingeJoint(*args, **kwargs)
class domonic.x3d.DynamicLOD(*args, **kwargs)
class domonic.x3d.EdgeEnhancementVolumeStyle(*args, **kwargs)
class domonic.x3d.ElevationGrid(*args, **kwargs)
class domonic.x3d.Environment(*args, **kwargs)
class domonic.x3d.Extrusion(*args, **kwargs)
class domonic.x3d.Field(*args, **kwargs)
class domonic.x3d.FloatVertexAttribute(*args, **kwargs)
class domonic.x3d.Fog(*args, **kwargs)
class domonic.x3d.FontStyle(*args, **kwargs)
class domonic.x3d.GeneratedCubeMapTexture(*args, **kwargs)
class domonic.x3d.GeoCoordinate(*args, **kwargs)
class domonic.x3d.GeoElevationGrid(*args, **kwargs)
class domonic.x3d.GeoLOD(*args, **kwargs)
class domonic.x3d.GeoLocation(*args, **kwargs)
class domonic.x3d.GeoMetadata(*args, **kwargs)
class domonic.x3d.GeoOrigin(*args, **kwargs)
class domonic.x3d.GeoPositionInterpolator(*args, **kwargs)
class domonic.x3d.GeoTransform(*args, **kwargs)
class domonic.x3d.GeoViewpoint(*args, **kwargs)
class domonic.x3d.Group(*args, **kwargs)
class domonic.x3d.HAnimDisplacer(*args, **kwargs)
class domonic.x3d.HAnimHumanoid(*args, **kwargs)
class domonic.x3d.HAnimJoint(*args, **kwargs)
class domonic.x3d.HAnimSegment(*args, **kwargs)
class domonic.x3d.HAnimSite(*args, **kwargs)
class domonic.x3d.ImageTexture(*args, **kwargs)
class domonic.x3d.ImageTexture3D(*args, **kwargs)
class domonic.x3d.ImageTextureAtlas(*args, **kwargs)
class domonic.x3d.IndexedFaceSet(*args, **kwargs)
class domonic.x3d.IndexedLineSet(*args, **kwargs)
class domonic.x3d.IndexedQuadSet(*args, **kwargs)
class domonic.x3d.IndexedTriangleSet(*args, **kwargs)
class domonic.x3d.IndexedTriangleStripSet(*args, **kwargs)
domonic.x3d.Inline

alias of domonic.x3d.inline

class domonic.x3d.IsoSurfaceVolumeData(*args, **kwargs)
class domonic.x3d.LOD(*args, **kwargs)
class domonic.x3d.LineProperties(*args, **kwargs)
class domonic.x3d.LineSet(*args, **kwargs)
class domonic.x3d.MPRPlane(*args, **kwargs)
class domonic.x3d.MPRVolumeStyle(*args, **kwargs)
domonic.x3d.Material

alias of domonic.x3d.material

class domonic.x3d.MatrixTextureTransform(*args, **kwargs)
class domonic.x3d.MatrixTransform(*args, **kwargs)
class domonic.x3d.Mesh(*args, **kwargs)
class domonic.x3d.MetadataBoolean(*args, **kwargs)
class domonic.x3d.MetadataDouble(*args, **kwargs)
class domonic.x3d.MetadataFloat(*args, **kwargs)
class domonic.x3d.MetadataInteger(*args, **kwargs)
class domonic.x3d.MetadataSet(*args, **kwargs)
class domonic.x3d.MetadataString(*args, **kwargs)
class domonic.x3d.MotorJoint(*args, **kwargs)
class domonic.x3d.MovieTexture(*args, **kwargs)
class domonic.x3d.MultiTexture(*args, **kwargs)
class domonic.x3d.MultiTextureCoordinate(*args, **kwargs)
class domonic.x3d.NavigationInfo(*args, **kwargs)
class domonic.x3d.Normal(*args, **kwargs)
class domonic.x3d.NormalInterpolator(*args, **kwargs)
class domonic.x3d.Nozzle(*args, **kwargs)
class domonic.x3d.OpacityMapVolumeStyle(*args, **kwargs)
class domonic.x3d.OrientationChaser(*args, **kwargs)
class domonic.x3d.OrientationDamper(*args, **kwargs)
class domonic.x3d.OrientationInterpolator(*args, **kwargs)
class domonic.x3d.OrthoViewpoint(*args, **kwargs)
class domonic.x3d.Param(*args, **kwargs)
class domonic.x3d.ParticleSet(*args, **kwargs)
class domonic.x3d.PhysicalEnvironmentLight(*args, **kwargs)
class domonic.x3d.PhysicalMaterial(*args, **kwargs)
class domonic.x3d.PixelTexture(*args, **kwargs)
class domonic.x3d.PixelTexture3D(*args, **kwargs)
domonic.x3d.Plane

alias of domonic.x3d.plane

class domonic.x3d.PlaneSensor(*args, **kwargs)
class domonic.x3d.PointLight(*args, **kwargs)
class domonic.x3d.PointSet(*args, **kwargs)
class domonic.x3d.Polyline2D(*args, **kwargs)
class domonic.x3d.Polypoint2D(*args, **kwargs)
class domonic.x3d.PopGeometry(*args, **kwargs)
class domonic.x3d.PopGeometryLevel(*args, **kwargs)
class domonic.x3d.PositionChaser(*args, **kwargs)
class domonic.x3d.PositionChaser2D(*args, **kwargs)
class domonic.x3d.PositionDamper(*args, **kwargs)
class domonic.x3d.PositionDamper2D(*args, **kwargs)
class domonic.x3d.PositionInterpolator(*args, **kwargs)
class domonic.x3d.PositionInterpolator2D(*args, **kwargs)
class domonic.x3d.ProjectionVolumeStyle(*args, **kwargs)
class domonic.x3d.Pyramid(*args, **kwargs)
class domonic.x3d.QuadSet(*args, **kwargs)
class domonic.x3d.RadarVolumeStyle(*args, **kwargs)
class domonic.x3d.Rectangle2D(*args, **kwargs)
class domonic.x3d.RectangularTorus(*args, **kwargs)
class domonic.x3d.RefinementTexture(*args, **kwargs)
class domonic.x3d.RemoteSelectionGroup(*args, **kwargs)
class domonic.x3d.RenderedTexture(*args, **kwargs)
class domonic.x3d.RigidBody(*args, **kwargs)
class domonic.x3d.RigidBodyCollection(*args, **kwargs)
class domonic.x3d.Route(*args, **kwargs)
class domonic.x3d.ScalarChaser(*args, **kwargs)
class domonic.x3d.ScalarDamper(*args, **kwargs)
class domonic.x3d.ScalarInterpolator(*args, **kwargs)
domonic.x3d.Scene

alias of domonic.x3d.scene

class domonic.x3d.SegmentedVolumeData(*args, **kwargs)
class domonic.x3d.ShadedVolumeStyle(*args, **kwargs)
class domonic.x3d.ShaderPart(*args, **kwargs)
domonic.x3d.Shape

alias of domonic.x3d.shape

class domonic.x3d.SilhouetteEnhancementVolumeStyle(*args, **kwargs)
class domonic.x3d.SingleAxisHingeJoint(*args, **kwargs)
class domonic.x3d.SliderJoint(*args, **kwargs)
class domonic.x3d.SlopedCylinder(*args, **kwargs)
class domonic.x3d.Snout(*args, **kwargs)
class domonic.x3d.SolidOfRevolution(*args, **kwargs)
class domonic.x3d.Sound(*args, **kwargs)
domonic.x3d.Sphere

alias of domonic.x3d.sphere

class domonic.x3d.SphereSegment(*args, **kwargs)
class domonic.x3d.SphereSensor(*args, **kwargs)
class domonic.x3d.SplinePositionInterpolator(*args, **kwargs)
class domonic.x3d.SpotLight(*args, **kwargs)
class domonic.x3d.StaticGroup(*args, **kwargs)
class domonic.x3d.StippleVolumeStyle(*args, **kwargs)
class domonic.x3d.SurfaceShaderTexture(*args, **kwargs)
class domonic.x3d.Switch(*args, **kwargs)
class domonic.x3d.TexCoordDamper2D(*args, **kwargs)
class domonic.x3d.Text(*args, **kwargs)
class domonic.x3d.Texture(*args, **kwargs)
class domonic.x3d.TextureCoordinate(*args, **kwargs)
class domonic.x3d.TextureCoordinate3D(*args, **kwargs)
class domonic.x3d.TextureCoordinateGenerator(*args, **kwargs)
class domonic.x3d.TextureProperties(*args, **kwargs)
class domonic.x3d.TextureTransform(*args, **kwargs)
class domonic.x3d.TextureTransform3D(*args, **kwargs)
class domonic.x3d.TextureTransformMatrix3D(*args, **kwargs)
domonic.x3d.TimeSensor

alias of domonic.x3d.timeSensor

class domonic.x3d.ToneMappedVolumeStyle(*args, **kwargs)
class domonic.x3d.Torus(*args, **kwargs)
class domonic.x3d.TouchSensor(*args, **kwargs)
domonic.x3d.Transform

alias of domonic.x3d.transform

class domonic.x3d.TriangleSet(*args, **kwargs)
class domonic.x3d.TriangleSet2D(*args, **kwargs)
class domonic.x3d.TwoSidedMaterial(*args, **kwargs)
class domonic.x3d.Uniform(*args, **kwargs)
class domonic.x3d.UniversalJoint(*args, **kwargs)
class domonic.x3d.Viewfrustum(*args, **kwargs)
class domonic.x3d.Viewpoint(*args, **kwargs)
class domonic.x3d.VolumeData(*args, **kwargs)
class domonic.x3d.WorldInfo(*args, **kwargs)
domonic.x3d.X3D

alias of domonic.x3d.x3d

class domonic.x3d.X3DAppearanceChildNode(*args, **kwargs)
class domonic.x3d.X3DAppearanceNode(*args, **kwargs)
class domonic.x3d.X3DBackgroundNode(*args, **kwargs)
class domonic.x3d.X3DBinaryContainerGeometryNode(*args, **kwargs)
class domonic.x3d.X3DBindableNode(*args, **kwargs)
class domonic.x3d.X3DBoundedObject(*args, **kwargs)
class domonic.x3d.X3DChaserNode(*args, **kwargs)
class domonic.x3d.X3DChildNode(*args, **kwargs)
class domonic.x3d.X3DColorNode(*args, **kwargs)
class domonic.x3d.X3DComposableVolumeRenderStyleNode(*args, **kwargs)
class domonic.x3d.X3DComposedGeometryNode(*args, **kwargs)
class domonic.x3d.X3DCoordinateNode(*args, **kwargs)
class domonic.x3d.X3DDamperNode(*args, **kwargs)
class domonic.x3d.X3DDragSensorNode(*args, **kwargs)
class domonic.x3d.X3DEnvironmentNode(*args, **kwargs)
class domonic.x3d.X3DEnvironmentTextureNode(*args, **kwargs)
class domonic.x3d.X3DFogNode(*args, **kwargs)
class domonic.x3d.X3DFollowerNode(*args, **kwargs)
class domonic.x3d.X3DFontStyleNode(*args, **kwargs)
class domonic.x3d.X3DGeometricPropertyNode(*args, **kwargs)
class domonic.x3d.X3DGeometryNode(*args, **kwargs)
class domonic.x3d.X3DGroupingNode(*args, **kwargs)
class domonic.x3d.X3DInfoNode(*args, **kwargs)
class domonic.x3d.X3DInterpolatorNode(*args, **kwargs)
class domonic.x3d.X3DLODNode(*args, **kwargs)
class domonic.x3d.X3DLightNode(*args, **kwargs)
class domonic.x3d.X3DMaterialNode(*args, **kwargs)
class domonic.x3d.X3DMetadataObject(*args, **kwargs)
class domonic.x3d.X3DNBodyCollidableNode(*args, **kwargs)
class domonic.x3d.X3DNavigationInfoNode(*args, **kwargs)
class domonic.x3d.X3DNode(*args, **kwargs)
class domonic.x3d.X3DPlanarGeometryNode(*args, **kwargs)
class domonic.x3d.X3DPointingDeviceSensorNode(*args, **kwargs)
class domonic.x3d.X3DRigidJointNode(*args, **kwargs)
class domonic.x3d.X3DSensorNode(*args, **kwargs)
class domonic.x3d.X3DShaderNode(*args, **kwargs)
class domonic.x3d.X3DShapeNode(*args, **kwargs)
class domonic.x3d.X3DSoundNode(*args, **kwargs)
class domonic.x3d.X3DSoundSourceNode(*args, **kwargs)
class domonic.x3d.X3DSpatialGeometryNode(*args, **kwargs)
class domonic.x3d.X3DTexture3DNode(*args, **kwargs)
class domonic.x3d.X3DTextureCoordinateNode(*args, **kwargs)
class domonic.x3d.X3DTextureNode(*args, **kwargs)
class domonic.x3d.X3DTextureTransformNode(*args, **kwargs)
class domonic.x3d.X3DTimeDependentNode(*args, **kwargs)
class domonic.x3d.X3DTouchSensorNode(*args, **kwargs)
class domonic.x3d.X3DTransformNode(*args, **kwargs)
class domonic.x3d.X3DVertexAttributeNode(*args, **kwargs)
class domonic.x3d.X3DViewpointNode(*args, **kwargs)
class domonic.x3d.X3DVolumeDataNode(*args, **kwargs)
class domonic.x3d.X3DVolumeRenderStyleNode(*args, **kwargs)
domonic.x3d.anchor

alias of domonic.x3d.Anchor

class domonic.x3d.appearance(*args, **kwargs)
domonic.x3d.arc2D

alias of domonic.x3d.Arc2D

domonic.x3d.arcClose2D

alias of domonic.x3d.ArcClose2D

domonic.x3d.audioClip

alias of domonic.x3d.AudioClip

domonic.x3d.background

alias of domonic.x3d.Background

domonic.x3d.ballJoint

alias of domonic.x3d.BallJoint

domonic.x3d.billboard

alias of domonic.x3d.Billboard

domonic.x3d.binaryGeometry

alias of domonic.x3d.BinaryGeometry

domonic.x3d.blendMode

alias of domonic.x3d.BlendMode

domonic.x3d.blendedVolumeStyle

alias of domonic.x3d.BlendedVolumeStyle

domonic.x3d.block

alias of domonic.x3d.Block

domonic.x3d.boundaryEnhancementVolumeStyle

alias of domonic.x3d.BoundaryEnhancementVolumeStyle

class domonic.x3d.box(*args, **kwargs)
domonic.x3d.bufferAccessor

alias of domonic.x3d.BufferAccessor

domonic.x3d.bufferGeometry

alias of domonic.x3d.BufferGeometry

domonic.x3d.bufferView

alias of domonic.x3d.BufferView

domonic.x3d.cADAssembly

alias of domonic.x3d.CADAssembly

domonic.x3d.cADFace

alias of domonic.x3d.CADFace

domonic.x3d.cADLayer

alias of domonic.x3d.CADLayer

domonic.x3d.cADPart

alias of domonic.x3d.CADPart

domonic.x3d.cartoonVolumeStyle

alias of domonic.x3d.CartoonVolumeStyle

domonic.x3d.circle2D

alias of domonic.x3d.Circle2D

domonic.x3d.clipPlane

alias of domonic.x3d.ClipPlane

domonic.x3d.collidableShape

alias of domonic.x3d.CollidableShape

domonic.x3d.collision

alias of domonic.x3d.Collision

domonic.x3d.collisionCollection

alias of domonic.x3d.CollisionCollection

domonic.x3d.collisionSensor

alias of domonic.x3d.CollisionSensor

domonic.x3d.color

alias of domonic.x3d.Color

domonic.x3d.colorChaser

alias of domonic.x3d.ColorChaser

domonic.x3d.colorDamper

alias of domonic.x3d.ColorDamper

domonic.x3d.colorInterpolator

alias of domonic.x3d.ColorInterpolator

domonic.x3d.colorMaskMode

alias of domonic.x3d.ColorMaskMode

domonic.x3d.colorRGBA

alias of domonic.x3d.ColorRGBA

domonic.x3d.commonSurfaceShader

alias of domonic.x3d.CommonSurfaceShader

domonic.x3d.composedCubeMapTexture

alias of domonic.x3d.ComposedCubeMapTexture

domonic.x3d.composedShader

alias of domonic.x3d.ComposedShader

domonic.x3d.composedTexture3D

alias of domonic.x3d.ComposedTexture3D

domonic.x3d.composedVolumeStyle

alias of domonic.x3d.ComposedVolumeStyle

domonic.x3d.cone

alias of domonic.x3d.Cone

domonic.x3d.coordinate

alias of domonic.x3d.Coordinate

domonic.x3d.coordinateDamper

alias of domonic.x3d.CoordinateDamper

domonic.x3d.coordinateDouble

alias of domonic.x3d.CoordinateDouble

domonic.x3d.coordinateInterpolator

alias of domonic.x3d.CoordinateInterpolator

domonic.x3d.cylinder

alias of domonic.x3d.Cylinder

domonic.x3d.cylinderSensor

alias of domonic.x3d.CylinderSensor

domonic.x3d.depthMode

alias of domonic.x3d.DepthMode

domonic.x3d.directionalLight

alias of domonic.x3d.DirectionalLight

domonic.x3d.dish

alias of domonic.x3d.Dish

domonic.x3d.disk2D

alias of domonic.x3d.Disk2D

domonic.x3d.doubleAxisHingeJoint

alias of domonic.x3d.DoubleAxisHingeJoint

domonic.x3d.dynamicLOD

alias of domonic.x3d.DynamicLOD

domonic.x3d.edgeEnhancementVolumeStyle

alias of domonic.x3d.EdgeEnhancementVolumeStyle

domonic.x3d.elevationGrid

alias of domonic.x3d.ElevationGrid

domonic.x3d.environment

alias of domonic.x3d.Environment

domonic.x3d.extrusion

alias of domonic.x3d.Extrusion

domonic.x3d.field

alias of domonic.x3d.Field

domonic.x3d.floatVertexAttribute

alias of domonic.x3d.FloatVertexAttribute

domonic.x3d.fog

alias of domonic.x3d.Fog

domonic.x3d.fontStyle

alias of domonic.x3d.FontStyle

domonic.x3d.generatedCubeMapTexture

alias of domonic.x3d.GeneratedCubeMapTexture

domonic.x3d.geoCoordinate

alias of domonic.x3d.GeoCoordinate

domonic.x3d.geoElevationGrid

alias of domonic.x3d.GeoElevationGrid

domonic.x3d.geoLOD

alias of domonic.x3d.GeoLOD

domonic.x3d.geoLocation

alias of domonic.x3d.GeoLocation

domonic.x3d.geoMetadata

alias of domonic.x3d.GeoMetadata

domonic.x3d.geoOrigin

alias of domonic.x3d.GeoOrigin

domonic.x3d.geoPositionInterpolator

alias of domonic.x3d.GeoPositionInterpolator

domonic.x3d.geoTransform

alias of domonic.x3d.GeoTransform

domonic.x3d.geoViewpoint

alias of domonic.x3d.GeoViewpoint

domonic.x3d.group

alias of domonic.x3d.Group

domonic.x3d.hAnimDisplacer

alias of domonic.x3d.HAnimDisplacer

domonic.x3d.hAnimHumanoid

alias of domonic.x3d.HAnimHumanoid

domonic.x3d.hAnimJoint

alias of domonic.x3d.HAnimJoint

domonic.x3d.hAnimSegment

alias of domonic.x3d.HAnimSegment

domonic.x3d.hAnimSite

alias of domonic.x3d.HAnimSite

domonic.x3d.imageTexture

alias of domonic.x3d.ImageTexture

domonic.x3d.imageTexture3D

alias of domonic.x3d.ImageTexture3D

domonic.x3d.imageTextureAtlas

alias of domonic.x3d.ImageTextureAtlas

domonic.x3d.indexedFaceSet

alias of domonic.x3d.IndexedFaceSet

domonic.x3d.indexedLineSet

alias of domonic.x3d.IndexedLineSet

domonic.x3d.indexedQuadSet

alias of domonic.x3d.IndexedQuadSet

domonic.x3d.indexedTriangleSet

alias of domonic.x3d.IndexedTriangleSet

domonic.x3d.indexedTriangleStripSet

alias of domonic.x3d.IndexedTriangleStripSet

class domonic.x3d.inline(*args, **kwargs)
domonic.x3d.isoSurfaceVolumeData

alias of domonic.x3d.IsoSurfaceVolumeData

domonic.x3d.lOD

alias of domonic.x3d.LOD

domonic.x3d.lineProperties

alias of domonic.x3d.LineProperties

domonic.x3d.lineSet

alias of domonic.x3d.LineSet

domonic.x3d.mPRPlane

alias of domonic.x3d.MPRPlane

domonic.x3d.mPRVolumeStyle

alias of domonic.x3d.MPRVolumeStyle

class domonic.x3d.material(*args, **kwargs)
domonic.x3d.matrixTextureTransform

alias of domonic.x3d.MatrixTextureTransform

domonic.x3d.matrixTransform

alias of domonic.x3d.MatrixTransform

domonic.x3d.mesh

alias of domonic.x3d.Mesh

domonic.x3d.metadataBoolean

alias of domonic.x3d.MetadataBoolean

domonic.x3d.metadataDouble

alias of domonic.x3d.MetadataDouble

domonic.x3d.metadataFloat

alias of domonic.x3d.MetadataFloat

domonic.x3d.metadataInteger

alias of domonic.x3d.MetadataInteger

domonic.x3d.metadataSet

alias of domonic.x3d.MetadataSet

domonic.x3d.metadataString

alias of domonic.x3d.MetadataString

domonic.x3d.motorJoint

alias of domonic.x3d.MotorJoint

domonic.x3d.movieTexture

alias of domonic.x3d.MovieTexture

domonic.x3d.multiTexture

alias of domonic.x3d.MultiTexture

domonic.x3d.multiTextureCoordinate

alias of domonic.x3d.MultiTextureCoordinate

domonic.x3d.navigationInfo

alias of domonic.x3d.NavigationInfo

domonic.x3d.normal

alias of domonic.x3d.Normal

domonic.x3d.normalInterpolator

alias of domonic.x3d.NormalInterpolator

domonic.x3d.nozzle

alias of domonic.x3d.Nozzle

domonic.x3d.opacityMapVolumeStyle

alias of domonic.x3d.OpacityMapVolumeStyle

domonic.x3d.orientationChaser

alias of domonic.x3d.OrientationChaser

domonic.x3d.orientationDamper

alias of domonic.x3d.OrientationDamper

domonic.x3d.orientationInterpolator

alias of domonic.x3d.OrientationInterpolator

domonic.x3d.orthoViewpoint

alias of domonic.x3d.OrthoViewpoint

domonic.x3d.param

alias of domonic.x3d.Param

domonic.x3d.particleSet

alias of domonic.x3d.ParticleSet

domonic.x3d.physicalEnvironmentLight

alias of domonic.x3d.PhysicalEnvironmentLight

domonic.x3d.physicalMaterial

alias of domonic.x3d.PhysicalMaterial

domonic.x3d.pixelTexture

alias of domonic.x3d.PixelTexture

domonic.x3d.pixelTexture3D

alias of domonic.x3d.PixelTexture3D

class domonic.x3d.plane(*args, **kwargs)
domonic.x3d.planeSensor

alias of domonic.x3d.PlaneSensor

domonic.x3d.pointLight

alias of domonic.x3d.PointLight

domonic.x3d.pointSet

alias of domonic.x3d.PointSet

domonic.x3d.polyline2D

alias of domonic.x3d.Polyline2D

domonic.x3d.polypoint2D

alias of domonic.x3d.Polypoint2D

domonic.x3d.popGeometry

alias of domonic.x3d.PopGeometry

domonic.x3d.popGeometryLevel

alias of domonic.x3d.PopGeometryLevel

domonic.x3d.positionChaser

alias of domonic.x3d.PositionChaser

domonic.x3d.positionChaser2D

alias of domonic.x3d.PositionChaser2D

domonic.x3d.positionDamper

alias of domonic.x3d.PositionDamper

domonic.x3d.positionDamper2D

alias of domonic.x3d.PositionDamper2D

domonic.x3d.positionInterpolator

alias of domonic.x3d.PositionInterpolator

domonic.x3d.positionInterpolator2D

alias of domonic.x3d.PositionInterpolator2D

domonic.x3d.projectionVolumeStyle

alias of domonic.x3d.ProjectionVolumeStyle

domonic.x3d.pyramid

alias of domonic.x3d.Pyramid

domonic.x3d.quadSet

alias of domonic.x3d.QuadSet

domonic.x3d.radarVolumeStyle

alias of domonic.x3d.RadarVolumeStyle

domonic.x3d.rectangle2D

alias of domonic.x3d.Rectangle2D

domonic.x3d.rectangularTorus

alias of domonic.x3d.RectangularTorus

domonic.x3d.refinementTexture

alias of domonic.x3d.RefinementTexture

domonic.x3d.remoteSelectionGroup

alias of domonic.x3d.RemoteSelectionGroup

domonic.x3d.renderedTexture

alias of domonic.x3d.RenderedTexture

domonic.x3d.rigidBody

alias of domonic.x3d.RigidBody

domonic.x3d.rigidBodyCollection

alias of domonic.x3d.RigidBodyCollection

domonic.x3d.route

alias of domonic.x3d.Route

domonic.x3d.scalarChaser

alias of domonic.x3d.ScalarChaser

domonic.x3d.scalarDamper

alias of domonic.x3d.ScalarDamper

domonic.x3d.scalarInterpolator

alias of domonic.x3d.ScalarInterpolator

class domonic.x3d.scene(*args, **kwargs)
domonic.x3d.segmentedVolumeData

alias of domonic.x3d.SegmentedVolumeData

domonic.x3d.shadedVolumeStyle

alias of domonic.x3d.ShadedVolumeStyle

domonic.x3d.shaderPart

alias of domonic.x3d.ShaderPart

class domonic.x3d.shape(*args, **kwargs)
domonic.x3d.silhouetteEnhancementVolumeStyle

alias of domonic.x3d.SilhouetteEnhancementVolumeStyle

domonic.x3d.singleAxisHingeJoint

alias of domonic.x3d.SingleAxisHingeJoint

domonic.x3d.sliderJoint

alias of domonic.x3d.SliderJoint

domonic.x3d.slopedCylinder

alias of domonic.x3d.SlopedCylinder

domonic.x3d.snout

alias of domonic.x3d.Snout

domonic.x3d.solidOfRevolution

alias of domonic.x3d.SolidOfRevolution

domonic.x3d.sound

alias of domonic.x3d.Sound

class domonic.x3d.sphere(*args, **kwargs)
domonic.x3d.sphereSegment

alias of domonic.x3d.SphereSegment

domonic.x3d.sphereSensor

alias of domonic.x3d.SphereSensor

domonic.x3d.splinePositionInterpolator

alias of domonic.x3d.SplinePositionInterpolator

domonic.x3d.spotLight

alias of domonic.x3d.SpotLight

domonic.x3d.staticGroup

alias of domonic.x3d.StaticGroup

domonic.x3d.stippleVolumeStyle

alias of domonic.x3d.StippleVolumeStyle

domonic.x3d.surfaceShaderTexture

alias of domonic.x3d.SurfaceShaderTexture

domonic.x3d.switch

alias of domonic.x3d.Switch

domonic.x3d.texCoordDamper2D

alias of domonic.x3d.TexCoordDamper2D

domonic.x3d.text

alias of domonic.x3d.Text

domonic.x3d.texture

alias of domonic.x3d.Texture

domonic.x3d.textureCoordinate

alias of domonic.x3d.TextureCoordinate

domonic.x3d.textureCoordinate3D

alias of domonic.x3d.TextureCoordinate3D

domonic.x3d.textureCoordinateGenerator

alias of domonic.x3d.TextureCoordinateGenerator

domonic.x3d.textureProperties

alias of domonic.x3d.TextureProperties

domonic.x3d.textureTransform

alias of domonic.x3d.TextureTransform

domonic.x3d.textureTransform3D

alias of domonic.x3d.TextureTransform3D

domonic.x3d.textureTransformMatrix3D

alias of domonic.x3d.TextureTransformMatrix3D

class domonic.x3d.timeSensor(*args, **kwargs)
domonic.x3d.toneMappedVolumeStyle

alias of domonic.x3d.ToneMappedVolumeStyle

domonic.x3d.torus

alias of domonic.x3d.Torus

domonic.x3d.touchSensor

alias of domonic.x3d.TouchSensor

class domonic.x3d.transform(*args, **kwargs)
domonic.x3d.triangleSet

alias of domonic.x3d.TriangleSet

domonic.x3d.triangleSet2D

alias of domonic.x3d.TriangleSet2D

domonic.x3d.twoSidedMaterial

alias of domonic.x3d.TwoSidedMaterial

domonic.x3d.uniform

alias of domonic.x3d.Uniform

domonic.x3d.universalJoint

alias of domonic.x3d.UniversalJoint

domonic.x3d.viewfrustum

alias of domonic.x3d.Viewfrustum

domonic.x3d.viewpoint

alias of domonic.x3d.Viewpoint

domonic.x3d.volumeData

alias of domonic.x3d.VolumeData

domonic.x3d.worldInfo

alias of domonic.x3d.WorldInfo

domonic.x3d.x3DAppearanceChildNode

alias of domonic.x3d.X3DAppearanceChildNode

domonic.x3d.x3DAppearanceNode

alias of domonic.x3d.X3DAppearanceNode

domonic.x3d.x3DBackgroundNode

alias of domonic.x3d.X3DBackgroundNode

domonic.x3d.x3DBinaryContainerGeometryNode

alias of domonic.x3d.X3DBinaryContainerGeometryNode

domonic.x3d.x3DBindableNode

alias of domonic.x3d.X3DBindableNode

domonic.x3d.x3DBoundedObject

alias of domonic.x3d.X3DBoundedObject

domonic.x3d.x3DChaserNode

alias of domonic.x3d.X3DChaserNode

domonic.x3d.x3DChildNode

alias of domonic.x3d.X3DChildNode

domonic.x3d.x3DColorNode

alias of domonic.x3d.X3DColorNode

domonic.x3d.x3DComposableVolumeRenderStyleNode

alias of domonic.x3d.X3DComposableVolumeRenderStyleNode

domonic.x3d.x3DComposedGeometryNode

alias of domonic.x3d.X3DComposedGeometryNode

domonic.x3d.x3DCoordinateNode

alias of domonic.x3d.X3DCoordinateNode

domonic.x3d.x3DDamperNode

alias of domonic.x3d.X3DDamperNode

domonic.x3d.x3DDragSensorNode

alias of domonic.x3d.X3DDragSensorNode

domonic.x3d.x3DEnvironmentNode

alias of domonic.x3d.X3DEnvironmentNode

domonic.x3d.x3DEnvironmentTextureNode

alias of domonic.x3d.X3DEnvironmentTextureNode

domonic.x3d.x3DFogNode

alias of domonic.x3d.X3DFogNode

domonic.x3d.x3DFollowerNode

alias of domonic.x3d.X3DFollowerNode

domonic.x3d.x3DFontStyleNode

alias of domonic.x3d.X3DFontStyleNode

domonic.x3d.x3DGeometricPropertyNode

alias of domonic.x3d.X3DGeometricPropertyNode

domonic.x3d.x3DGeometryNode

alias of domonic.x3d.X3DGeometryNode

domonic.x3d.x3DGroupingNode

alias of domonic.x3d.X3DGroupingNode

domonic.x3d.x3DInfoNode

alias of domonic.x3d.X3DInfoNode

domonic.x3d.x3DInterpolatorNode

alias of domonic.x3d.X3DInterpolatorNode

domonic.x3d.x3DLODNode

alias of domonic.x3d.X3DLODNode

domonic.x3d.x3DLightNode

alias of domonic.x3d.X3DLightNode

domonic.x3d.x3DMaterialNode

alias of domonic.x3d.X3DMaterialNode

domonic.x3d.x3DMetadataObject

alias of domonic.x3d.X3DMetadataObject

domonic.x3d.x3DNBodyCollidableNode

alias of domonic.x3d.X3DNBodyCollidableNode

domonic.x3d.x3DNavigationInfoNode

alias of domonic.x3d.X3DNavigationInfoNode

domonic.x3d.x3DNode

alias of domonic.x3d.X3DNode

domonic.x3d.x3DPlanarGeometryNode

alias of domonic.x3d.X3DPlanarGeometryNode

domonic.x3d.x3DPointingDeviceSensorNode

alias of domonic.x3d.X3DPointingDeviceSensorNode

domonic.x3d.x3DRigidJointNode

alias of domonic.x3d.X3DRigidJointNode

domonic.x3d.x3DSensorNode

alias of domonic.x3d.X3DSensorNode

domonic.x3d.x3DShaderNode

alias of domonic.x3d.X3DShaderNode

domonic.x3d.x3DShapeNode

alias of domonic.x3d.X3DShapeNode

domonic.x3d.x3DSoundNode

alias of domonic.x3d.X3DSoundNode

domonic.x3d.x3DSoundSourceNode

alias of domonic.x3d.X3DSoundSourceNode

domonic.x3d.x3DSpatialGeometryNode

alias of domonic.x3d.X3DSpatialGeometryNode

domonic.x3d.x3DTexture3DNode

alias of domonic.x3d.X3DTexture3DNode

domonic.x3d.x3DTextureCoordinateNode

alias of domonic.x3d.X3DTextureCoordinateNode

domonic.x3d.x3DTextureNode

alias of domonic.x3d.X3DTextureNode

domonic.x3d.x3DTextureTransformNode

alias of domonic.x3d.X3DTextureTransformNode

domonic.x3d.x3DTimeDependentNode

alias of domonic.x3d.X3DTimeDependentNode

domonic.x3d.x3DTouchSensorNode

alias of domonic.x3d.X3DTouchSensorNode

domonic.x3d.x3DTransformNode

alias of domonic.x3d.X3DTransformNode

domonic.x3d.x3DVertexAttributeNode

alias of domonic.x3d.X3DVertexAttributeNode

domonic.x3d.x3DViewpointNode

alias of domonic.x3d.X3DViewpointNode

domonic.x3d.x3DVolumeDataNode

alias of domonic.x3d.X3DVolumeDataNode

domonic.x3d.x3DVolumeRenderStyleNode

alias of domonic.x3d.X3DVolumeRenderStyleNode

class domonic.x3d.x3d(*args, **kwargs)