syside.BuildState

class BuildState

Bases: enum.IntEnum

Document build state

Initialization

Initialize self. See help(type(self)) for accurate signature.

none = 0

Document has only been created

Changed = 1

Document content has changed

Parsed = 2

Document content was parsed

Indexed = 3

Document global and local exports have been indexed

Built = 4

Model has been built and linked

Validated = 5

Model has been validated

__abs__()

abs(self)

__add__()

Return self+value.

__and__()

Return self&value.

__bool__()

True if self else False

__ceil__()

Ceiling of an Integral returns itself.

__delattr__()

Implement delattr(self, name).

__dir__()

Default dir() implementation.

__divmod__()

Return divmod(self, value).

__eq__()

Return self==value.

__float__()

float(self)

__floor__()

Flooring an Integral returns itself.

__floordiv__()

Return self//value.

__format__()

Convert to a string according to format_spec.

__ge__()

Return self>=value.

__getattribute__()

Return getattr(self, name).

__getnewargs__()
__getstate__()

Helper for pickle.

__gt__()

Return self>value.

__hash__()

Return hash(self).

__index__()

Return self converted to an integer, if self is suitable for use as an index into a list.

__int__()

int(self)

__invert__()

~self

__le__()

Return self<=value.

__lshift__()

Return self<<value.

__lt__()

Return self<value.

__mod__()

Return self%value.

__mul__()

Return self*value.

__ne__()

Return self!=value.

__neg__()

-self

__new__()

Create and return a new object. See help(type) for accurate signature.

__or__()

Return self|value.

__pos__()

+self

__pow__()

Return pow(self, value, mod).

__radd__()

Return value+self.

__rand__()

Return value&self.

__rdivmod__()

Return divmod(value, self).

__reduce__()

Helper for pickle.

__reduce_ex__()

Helper for pickle.

__repr__()

Return repr(self).

__rfloordiv__()

Return value//self.

__rlshift__()

Return value<<self.

__rmod__()

Return value%self.

__rmul__()

Return value*self.

__ror__()

Return value|self.

__round__()

Rounding an Integral returns itself.

Rounding with an ndigits argument also returns an integer.

__rpow__()

Return pow(value, self, mod).

__rrshift__()

Return value>>self.

__rshift__()

Return self>>value.

__rsub__()

Return value-self.

__rtruediv__()

Return value/self.

__rxor__()

Return value^self.

__setattr__()

Implement setattr(self, name, value).

__sizeof__()

Returns size in memory, in bytes.

__str__()

Return str(self).

__sub__()

Return self-value.

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

__truediv__()

Return self/value.

__trunc__()

Truncating an Integral returns itself.

__xor__()

Return self^value.

as_integer_ratio()

Return a pair of integers, whose ratio is equal to the original int.

The ratio is in lowest terms and has a positive denominator.

>>> (10).as_integer_ratio()
(10, 1)
>>> (-10).as_integer_ratio()
(-10, 1)
>>> (0).as_integer_ratio()
(0, 1)
bit_count()

Number of ones in the binary representation of the absolute value of self.

Also known as the population count.

>>> bin(13)
'0b1101'
>>> (13).bit_count()
3
bit_length()

Number of bits necessary to represent self in binary.

>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
conjugate()

Returns self, the complex conjugate of any int.

class denominator

the denominator of a rational number in lowest terms

class imag

the imaginary part of a complex number

is_integer()

Returns True. Exists for duck type compatibility with float.is_integer.

class numerator

the numerator of a rational number in lowest terms

class real

the real part of a complex number

to_bytes()

Return an array of bytes representing an integer.

length

Length of bytes object to use. An OverflowError is raised if the integer is not representable with the given number of bytes. Default is length 1.

byteorder

The byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder’ as the byte order value. Default is to use ‘big’.

signed

Determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.

classmethod __signature__()
__deepcopy__(memo)
__copy__()
name()

The name of the Enum member.

value()

The value of the Enum member.