Module Import alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str orelse If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str TryExcept body With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameStore body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Return ListComp NameLoad comprehension NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad CompareNotEq AttributeLoad NameLoad attr Str decorator_list If CompareEq NameLoad Str body For TupleStore NameStore NameStore NameStore Call NameLoad Call NameLoad body Print BinOpMod Str TupleLoad NameLoad NameLoad NameLoad
N/A N/A glob N/A os serial.tools list_ports_common SysFS N/A N/A list_ports_common ListPortInfo N/A N/A Wrapper for easy sysfs access and device info __init__ N/A N/A self device N/A N/A N/A N/A N/A N/A super SysFS self __init__ device N/A N/A self name N/A N/A N/A os path basename device N/A N/A self usb_device_path None N/A N/A N/A N/A os path exists N/A /sys/class/tty/%s/device N/A N/A self name N/A N/A N/A self device_path N/A N/A N/A os path realpath N/A /sys/class/tty/%s/device N/A N/A self name N/A N/A self subsystem N/A N/A N/A os path basename N/A N/A N/A os path realpath N/A N/A N/A os path join N/A self device_path subsystem N/A N/A N/A self device_path None N/A N/A self subsystem None N/A N/A N/A self subsystem usb-serial N/A N/A N/A self usb_device_path N/A N/A N/A os path dirname N/A N/A N/A os path dirname N/A self device_path N/A N/A N/A N/A self subsystem usb N/A N/A N/A self usb_device_path N/A N/A N/A os path dirname N/A self device_path N/A N/A N/A self usb_device_path None N/A N/A N/A self usb_device_path None N/A N/A N/A self vid N/A int N/A N/A self read_line N/A self usb_device_path idVendor 16 N/A N/A self pid N/A int N/A N/A self read_line N/A self usb_device_path idProduct 16 N/A N/A self serial_number N/A N/A self read_line N/A self usb_device_path serial N/A N/A self location N/A N/A N/A os path basename N/A self usb_device_path N/A N/A self manufacturer N/A N/A self read_line N/A self usb_device_path manufacturer N/A N/A self product N/A N/A self read_line N/A self usb_device_path product N/A N/A self interface N/A N/A self read_line N/A self device_path interface N/A N/A N/A self subsystem N/A usb usb-serial N/A N/A N/A N/A self apply_usb_info N/A N/A N/A N/A self subsystem pnp N/A N/A N/A self description N/A self name N/A N/A self hwid N/A N/A self read_line N/A self device_path id N/A N/A N/A N/A self subsystem amba N/A N/A N/A self description N/A self name N/A N/A self hwid N/A N/A N/A os path basename N/A self device_path N/A read_line N/A N/A self N/A args N/A N/A         Helper function to read a single line from a file.
        One or more parameters are allowed, they are joined with os.path.join.
        Returns None on errors..
         N/A N/A N/A N/A open N/A N/A N/A os path join args f N/A N/A line N/A N/A N/A N/A f readline strip N/A line N/A N/A N/A IOError N/A N/A None N/A N/A comports N/A N/A N/A N/A N/A devices N/A N/A glob glob /dev/ttyS* N/A N/A N/A devices extend N/A N/A glob glob /dev/ttyUSB* N/A N/A N/A devices extend N/A N/A glob glob /dev/ttyACM* N/A N/A N/A devices extend N/A N/A glob glob /dev/ttyAMA* N/A N/A N/A devices extend N/A N/A glob glob /dev/rfcomm* N/A N/A info N/A info N/A N/A SysFS d N/A d devices N/A N/A info subsystem platform N/A N/A N/A __name__ __main__ N/A N/A N/A port desc hwid N/A sorted N/A comports N/A N/A N/A %s: %s [%s] N/A port desc hwid