openpyxl.descriptors.nested module

Generic serialisable classes

class openpyxl.descriptors.nested.EmptyTag(*args, **kw)[source]

Bases: Nested, Bool

Boolean if a tag exists or not.

from_tree(node)[source]
to_tree(tagname=None, value=None, namespace=None)[source]
class openpyxl.descriptors.nested.Nested(name=None, **kw)[source]

Bases: Descriptor

attribute = 'val'
from_tree(node)[source]
nested = True
to_tree(tagname=None, value=None, namespace=None)[source]
class openpyxl.descriptors.nested.NestedBool(*args, **kw)[source]

Bases: NestedValue, Bool

from_tree(node)[source]
class openpyxl.descriptors.nested.NestedFloat(*args, **kw)[source]

Bases: NestedValue, Float

class openpyxl.descriptors.nested.NestedInteger(*args, **kw)[source]

Bases: NestedValue, Integer

class openpyxl.descriptors.nested.NestedMinMax(**kw)[source]

Bases: Nested, MinMax

class openpyxl.descriptors.nested.NestedNoneSet(name=None, **kw)[source]

Bases: Nested, NoneSet

class openpyxl.descriptors.nested.NestedSet(name=None, **kw)[source]

Bases: Nested, Set

class openpyxl.descriptors.nested.NestedString(*args, **kw)[source]

Bases: NestedValue, String

class openpyxl.descriptors.nested.NestedText(*args, **kw)[source]

Bases: NestedValue

Represents any nested tag with the value as the contents of the tag

from_tree(node)[source]
to_tree(tagname=None, value=None, namespace=None)[source]
class openpyxl.descriptors.nested.NestedValue(*args, **kw)[source]

Bases: Nested, Convertible

Nested tag storing the value on the ‘val’ attribute