Module soitool.enumerates
Enumerates used by several files.
Expand source code
"""Enumerates used by several files."""
from enum import Enum
class ModuleType(Enum):
"""Enumerate with types of modules."""
MAIN_MODULE = 0
ATTACHMENT_MODULE = 1
class CodebookSort(Enum):
"""Enumerate with ways to sort codebook."""
WORD = 0
CODE = 1
Classes
class CodebookSort (value, names=None, *, module=None, qualname=None, type=None, start=1)
-
Enumerate with ways to sort codebook.
Expand source code
class CodebookSort(Enum): """Enumerate with ways to sort codebook.""" WORD = 0 CODE = 1
Ancestors
- enum.Enum
Class variables
var CODE
-
Enumerate with ways to sort codebook.
var WORD
-
Enumerate with ways to sort codebook.
class ModuleType (value, names=None, *, module=None, qualname=None, type=None, start=1)
-
Enumerate with types of modules.
Expand source code
class ModuleType(Enum): """Enumerate with types of modules.""" MAIN_MODULE = 0 ATTACHMENT_MODULE = 1
Ancestors
- enum.Enum
Class variables
var ATTACHMENT_MODULE
-
Enumerate with types of modules.
var MAIN_MODULE
-
Enumerate with types of modules.