Skip to content

Commit af52622

Browse files
authored
Add interface modules to __all__ (#1568)
1 parent 1f2f29c commit af52622

File tree

13 files changed

+61
-8
lines changed

13 files changed

+61
-8
lines changed

can/interfaces/ics_neovi/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"ICSInitializationError",
77
"ICSOperationError",
88
"NeoViBus",
9+
"neovi_bus",
910
]
1011

1112
from .neovi_bus import ICSApiError, ICSInitializationError, ICSOperationError, NeoViBus

can/interfaces/ixxat/__init__.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@
55
"""
66

77
__all__ = [
8-
"get_ixxat_hwids",
98
"IXXATBus",
9+
"canlib",
10+
"canlib_vcinpl",
11+
"canlib_vcinpl2",
12+
"constants",
13+
"exceptions",
14+
"get_ixxat_hwids",
15+
"structures",
1016
]
1117

1218
from can.interfaces.ixxat.canlib import IXXATBus

can/interfaces/kvaser/__init__.py

+10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
"""
22
"""
33

4+
__all__ = [
5+
"CANLIBInitializationError",
6+
"CANLIBOperationError",
7+
"KvaserBus",
8+
"canlib",
9+
"constants",
10+
"get_channel_info",
11+
"structures",
12+
]
13+
414
from can.interfaces.kvaser.canlib import *

can/interfaces/neousys/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
""" Neousys CAN bus driver """
22

3-
__all__ = ["NeousysBus"]
3+
__all__ = [
4+
"NeousysBus",
5+
"neousys",
6+
]
47

58
from can.interfaces.neousys.neousys import NeousysBus

can/interfaces/pcan/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
__all__ = [
55
"PcanBus",
66
"PcanError",
7+
"basic",
8+
"pcan",
79
]
810

911
from can.interfaces.pcan.pcan import PcanBus, PcanError
+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
"""
22
"""
33

4-
__all__ = ["SeeedBus"]
4+
__all__ = [
5+
"SeeedBus",
6+
"seeedstudio",
7+
]
58

69
from can.interfaces.seeedstudio.seeedstudio import SeeedBus

can/interfaces/serial/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
"""
22
"""
33

4-
__all__ = ["SerialBus"]
4+
__all__ = [
5+
"SerialBus",
6+
"serial_can",
7+
]
58

69
from can.interfaces.serial.serial_can import SerialBus

can/interfaces/socketcan/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"CyclicSendTask",
77
"MultiRateCyclicSendTask",
88
"SocketcanBus",
9+
"constants",
10+
"socketcan",
11+
"utils",
912
]
1013

1114
from .socketcan import CyclicSendTask, MultiRateCyclicSendTask, SocketcanBus

can/interfaces/socketcand/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
http://www.domologic.de
77
"""
88

9-
__all__ = ["SocketCanDaemonBus"]
9+
__all__ = [
10+
"SocketCanDaemonBus",
11+
"socketcand",
12+
]
1013

1114
from .socketcand import SocketCanDaemonBus

can/interfaces/systec/__init__.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1-
__all__ = ["UcanBus"]
1+
__all__ = [
2+
"UcanBus",
3+
"constants",
4+
"exceptions",
5+
"structures",
6+
"ucan",
7+
"ucanbus",
8+
]
29

310
from can.interfaces.systec.ucanbus import UcanBus
+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
"""A module to allow CAN over UDP on IPv4/IPv6 multicast."""
22

3-
__all__ = ["UdpMulticastBus"]
3+
__all__ = [
4+
"UdpMulticastBus",
5+
"bus",
6+
"utils",
7+
]
48

59
from .bus import UdpMulticastBus

can/interfaces/usb2can/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
__all__ = [
55
"Usb2CanAbstractionLayer",
66
"Usb2canBus",
7+
"serial_selector",
8+
"usb2canabstractionlayer",
9+
"usb2canInterface",
710
]
811

912
from .usb2canabstractionlayer import Usb2CanAbstractionLayer

can/interfaces/vector/__init__.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33

44
__all__ = [
5-
"get_channel_configs",
65
"VectorBus",
76
"VectorBusParams",
87
"VectorCanFdParams",
@@ -11,6 +10,12 @@
1110
"VectorError",
1211
"VectorInitializationError",
1312
"VectorOperationError",
13+
"canlib",
14+
"exceptions",
15+
"get_channel_configs",
16+
"xlclass",
17+
"xldefine",
18+
"xldriver",
1419
]
1520

1621
from .canlib import (

0 commit comments

Comments
 (0)