API reference

For a general library overview, read Architecture. Navigation resources:

pycyphal root module

Submodule import policy

The following submodules are auto-imported when the root module pycyphal is imported:

Submodule pycyphal.application is not auto-imported because in order to have it imported the DSDL-generated package uavcan containing the standard data types must be compiled first.

Log level override

The environment variable PYCYPHAL_LOGLEVEL can be set to one of the following values to override the library log level:

  • CRITICAL

  • FATAL

  • ERROR

  • WARNING

  • INFO

  • DEBUG

pycyphal.CYPHAL_SPECIFICATION_VERSION = (1, 0)

Version of the Cyphal protocol implemented by this library, major and minor. The corresponding field in uavcan.node.GetInfo.Response is initialized from this value, see pycyphal.application.make_node().

Submodules