pydbc package¶
Subpackages¶
- pydbc.api package
- Submodules
- pydbc.api.attribute module
- pydbc.api.base module
- pydbc.api.db module
- pydbc.api.encoding module
- pydbc.api.envvar module
- pydbc.api.frame module
- pydbc.api.limits module
- pydbc.api.message module
- pydbc.api.node module
- pydbc.api.schtable module
- pydbc.api.signal module
- pydbc.api.valuetable module
- Module contents
- pydbc.asam package
- pydbc.cgen package
- pydbc.cli package
- pydbc.db package
- pydbc.py3 package
- Submodules
- pydbc.py3.dbcLexer module
- pydbc.py3.dbcListener module
- pydbc.py3.dbcParser module
- pydbc.py3.dbcVisitor module
- pydbc.py3.ldfLexer module
- pydbc.py3.ldfListener module
- pydbc.py3.ldfParser module
- pydbc.py3.ldfVisitor module
- pydbc.py3.ncfLexer module
- pydbc.py3.ncfListener module
- pydbc.py3.ncfParser module
- pydbc.py3.ncfVisitor module
- Module contents
- pydbc.scripts package
Submodules¶
pydbc.dbcListener module¶
-
class
pydbc.dbcListener.
DbcListener
¶ Bases:
pydbc.parser.BaseListener
-
exitAccessNodes
(ctx)¶
-
exitAttributeDefault
(ctx)¶
-
exitAttributeDefaults
(ctx)¶
-
exitAttributeDefinition
(ctx)¶
-
exitAttributeDefinitions
(ctx)¶
-
exitAttributeValue
(ctx)¶
-
exitAttributeValueForObject
(ctx)¶
-
exitAttributeValueType
(ctx)¶
-
exitAttributeValues
(ctx)¶
-
exitBitTiming
(ctx)¶
-
exitCategories
(ctx)¶
-
exitCategory
(ctx)¶
-
exitCategoryDefinition
(ctx)¶
-
exitCategoryDefinitions
(ctx)¶
-
exitComment
(ctx)¶
-
exitComments
(ctx)¶
-
exitDbcfile
(ctx)¶
-
exitEnvironmentVariable
(ctx)¶
-
exitEnvironmentVariableData
(ctx)¶
-
exitEnvironmentVariables
(ctx)¶
-
exitEnvironmentVariablesData
(ctx)¶
-
exitMessage
(ctx)¶
-
exitMessageTransmitter
(ctx)¶
-
exitMessageTransmitters
(ctx)¶
-
exitMessages
(ctx)¶
-
exitMultiplexerIndicator
(ctx)¶
-
exitNewSymbols
(ctx)¶
-
exitNodes
(ctx)¶
-
exitReceiver
(ctx)¶
-
exitRelativeAttributeDefault
(ctx)¶
-
exitRelativeAttributeDefaults
(ctx)¶
-
exitRelativeAttributeDefinition
(ctx)¶
-
exitRelativeAttributeDefinitions
(ctx)¶
-
exitRelativeAttributeValueForObject
(ctx)¶
-
exitRelativeAttributeValues
(ctx)¶
-
exitSignal
(ctx)¶
-
exitSignalExtendedValueType
(ctx)¶
-
exitSignalExtendedValueTypeList
(ctx)¶
-
exitSignalGroup
(ctx)¶
-
exitSignalGroups
(ctx)¶
-
exitSignalType
(ctx)¶
-
exitSignalTypes
(ctx)¶
-
exitSpecializedValueDescription
(ctx)¶
-
exitTransmitter
(ctx)¶
-
exitValueDescription
(ctx)¶
-
exitValueDescriptions
(ctx)¶
-
exitValueTable
(ctx)¶
-
exitValueTables
(ctx)¶
-
exitVersion
(ctx)¶
-
-
pydbc.dbcListener.
extractAccessType
(value)¶
-
pydbc.dbcListener.
validateMultiplexerIndicatior
(value)¶
pydbc.exceptions module¶
-
exception
pydbc.exceptions.
DuplicateKeyError
¶ Bases:
Exception
-
exception
pydbc.exceptions.
RangeError
¶ Bases:
Exception
pydbc.ldfListener module¶
-
class
pydbc.ldfListener.
LdfListener
¶ Bases:
pydbc.parser.BaseListener
-
exitAscii_value
(ctx)¶
-
exitAttributes_def
(ctx)¶
-
exitBcd_value
(ctx)¶
-
exitChannel_name_def
(ctx)¶
-
exitCommand
(ctx)¶
-
exitConfigurable_frame
(ctx)¶
-
exitConfigurable_frames
(ctx)¶
-
exitConfiguration
(ctx)¶
-
exitConfiguration_item
(ctx)¶
-
exitDiag_frame_def
(ctx)¶
-
exitDiag_frame_item
(ctx)¶
-
exitDiagnostic_item
(ctx)¶
-
exitDiagnostic_signal_def
(ctx)¶
-
exitEvent_triggered_frame_def
(ctx)¶
-
exitEvent_triggered_frame_item
(ctx)¶
-
exitFrame_def
(ctx)¶
-
exitFrame_item
(ctx)¶
-
exitFrame_signal
(ctx)¶
-
exitInit_value
(ctx)¶
-
exitInit_value_array
(ctx)¶
-
exitInit_value_scalar
(ctx)¶
-
exitLin_description_file
(ctx)¶
-
exitLin_file_revision_def
(ctx)¶
-
exitLin_language_version_def
(ctx)¶
-
exitLin_protocol_version_def
(ctx)¶
-
exitLin_speed_def
(ctx)¶
-
exitLogical_value
(ctx)¶
-
exitNode_attribute
(ctx)¶
-
exitNode_attributes_def
(ctx)¶
-
exitNode_composition_def
(ctx)¶
-
exitNode_def
(ctx)¶
-
exitPhysical_range
(ctx)¶
-
exitSchedule_table_command
(ctx)¶
-
exitSchedule_table_def
(ctx)¶
-
exitSchedule_table_entry
(ctx)¶
-
exitSignal_def
(ctx)¶
-
exitSignal_encoding_entry
(ctx)¶
-
exitSignal_encoding_type_def
(ctx)¶
-
exitSignal_encoding_value
(ctx)¶
-
exitSignal_group
(ctx)¶
-
exitSignal_group_item
(ctx)¶
-
exitSignal_groups_def
(ctx)¶
-
exitSignal_item
(ctx)¶
-
exitSignal_representation_def
(ctx)¶
-
exitSignal_representation_entry
(ctx)¶
-
exitSporadic_frame_def
(ctx)¶
-
exitSporadic_frame_item
(ctx)¶
-
pydbc.logger module¶
pydbc.msdao module¶
pydbc.ncfListener module¶
-
class
pydbc.ncfListener.
NcfListener
¶ Bases:
pydbc.parser.BaseListener
-
exitAscii_value
(ctx)¶
-
exitBcd_value
(ctx)¶
-
exitBitrate
(ctx)¶
-
exitBitrate_definition
(ctx)¶
-
exitDiagnostic_definition
(ctx)¶
-
exitEncoding_definition
(ctx)¶
-
exitEncoding_definition_entry
(ctx)¶
-
exitFrame_definition
(ctx)¶
-
exitFrame_kind
(ctx)¶
-
exitFrame_name
(ctx)¶
-
exitFrame_properties
(ctx)¶
-
exitFree_text_definition
(ctx)¶
-
exitFunction_id
(ctx)¶
-
exitGeneral_definition
(ctx)¶
-
exitInit_value
(ctx)¶
-
exitInit_value_array
(ctx)¶
-
exitInit_value_scalar
(ctx)¶
-
exitLanguage_version
(ctx)¶
-
exitLogical_value
(ctx)¶
-
exitMax_value
(ctx)¶
-
exitMin_value
(ctx)¶
-
exitNode_definition
(ctx)¶
-
exitNode_name
(ctx)¶
-
exitOffset
(ctx)¶
-
exitPhysical_range
(ctx)¶
-
exitProtocol_version
(ctx)¶
-
exitPublished_signal
(ctx)¶
-
exitScale
(ctx)¶
-
exitSignal_definition
(ctx)¶
-
exitSignal_definition_entry
(ctx)¶
-
exitSignal_encoding_type_name
(ctx)¶
-
exitSignal_encoding_value
(ctx)¶
-
exitSignal_name
(ctx)¶
-
exitSignal_properties
(ctx)¶
-
exitSignal_value
(ctx)¶
-
exitSingle_frame
(ctx)¶
-
exitStatus_management
(ctx)¶
-
exitSupplier_id
(ctx)¶
-
exitText_info
(ctx)¶
-
exitToplevel
(ctx)¶
-
exitVariant_id
(ctx)¶
-
pydbc.parser module¶
-
class
pydbc.parser.
BaseListener
¶ Bases:
antlr4.tree.Tree.ParseTreeListener
-
debug
(msg, location=None)¶
-
error
(msg, location=None)¶
-
exitFloatValue
(ctx)¶
-
exitIdentifierValue
(ctx)¶
-
exitIntValue
(ctx)¶
-
exitNumber
(ctx)¶
-
exitStringValue
(ctx)¶
-
getList
(attr)¶
-
getTerminal
(attr)¶
-
info
(msg, location=None)¶
-
logger
= <pydbc.logger.Logger object>¶
-
value
= []¶
-
warn
(msg, location=None)¶
-
-
class
pydbc.parser.
ParserWrapper
(grammarName, startSymbol, listener=None)¶ Bases:
object
-
numberOfSyntaxErrors
¶
-
parse
(input, trace=False)¶
-
parseFromFile
(fileName, encoding='latin-1', trace=False)¶
-
parseFromString
(buf, encoding='latin-1', trace=False)¶
-
static
stringStream
(fname, encoding='latin-1')¶
-
-
pydbc.parser.
dump
(tree, level=0)¶
-
pydbc.parser.
indent
(level)¶
pydbc.plugin module¶
pydbc.template module¶
-
pydbc.template.
callDef
(template, definition, *args, **kwargs)¶
-
pydbc.template.
indentText
(text, leftmargin=0)¶
-
pydbc.template.
renderTemplate
(filename, namespace={}, leftMargin=0, rightMargin=80, formatExceptions=False, encoding='utf-8')¶
-
pydbc.template.
renderTemplateFromText
(tmpl, namespace={}, leftMargin=0, rightMargin=80, formatExceptions=True, encoding='utf-8')¶
pydbc.types module¶
-
class
pydbc.types.
AddressBaseType
¶ Bases:
object
-
class
pydbc.types.
AttributeType
¶ Bases:
enum.IntEnum
An enumeration.
-
ENV_VAR
= 3¶
-
MESSAGE
= 1¶
-
NETWORK
= 4¶
-
NODE
= 0¶
-
REL_ENV_VAR
= 7¶
-
REL_NODE
= 5¶
-
REL_SIGNAL
= 6¶
-
SIGNAL
= 2¶
-
-
class
pydbc.types.
CANAddress
(rawId)¶ Bases:
pydbc.types.AddressBaseType
-
class
pydbc.types.
CategoryType
¶ Bases:
enum.IntEnum
An enumeration.
-
ENV_VAR
= 2¶
-
MESSAGE
= 1¶
-
NODE
= 0¶
-
-
class
pydbc.types.
EnvVarAccessType
¶ Bases:
enum.IntEnum
An enumeration.
-
READ
= 1¶
-
READ_WRITE
= 3¶
-
UNRESTRICTED
= 0¶
-
WRITE
= 2¶
-
-
class
pydbc.types.
EnvVarType
¶ Bases:
enum.IntEnum
An enumeration.
-
DATA
= 3¶
-
FLOAT
= 1¶
-
INT
= 0¶
-
STRING
= 2¶
-
-
class
pydbc.types.
J1939Address
(rawId)¶ Bases:
pydbc.types.AddressBaseType
-
class
pydbc.types.
MultiplexingType
¶ Bases:
enum.IntEnum
An enumeration.
-
DEPENDENT
= 2¶
-
MULTIPLEXOR
= 1¶
-
NONE
= 0¶
-
-
class
pydbc.types.
SignalType
¶ Bases:
enum.IntEnum
An enumeration.
-
FLOAT32
= 1¶
-
FLOAT64
= 2¶
-
SINT
= 0¶
-
UINT
= 8¶
-
pydbc.utils module¶
-
exception
pydbc.utils.
CommandError
¶ Bases:
Exception
-
class
pydbc.utils.
StructureWithEnums
¶ Bases:
_ctypes.Structure
Add missing enum feature to ctypes Structures.
-
pydbc.utils.
createStringBuffer
(*args)¶ Create a string with file-like behaviour (StringIO on Python 2.x).
-
pydbc.utils.
cygpathToWin
(path)¶
-
pydbc.utils.
flatten
(*args)¶
-
pydbc.utils.
fold_equal
(str1, str2)¶
-
pydbc.utils.
nfc_equal
(str1, str2)¶
-
pydbc.utils.
runCommand
(cmd)¶
-
pydbc.utils.
runningOnTravis
()¶
-
pydbc.utils.
slicer
(iterable, sliceLength, converter=None)¶