You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are actively using python-can and it's a core library for our CANsub CAN interface end users.
However, we believe the library could become cleaner and more scalable by doing a one-time restructuring that streamlines the library towards the plugin interface route - including for existing HW interfaces.
Our suggestion would be the below restructuring:
Move python-can into a GitHub org, e.g. github.com/python-can
Each HW interface (excl virtual) moves to its own plugin repo
Every interface is now consistently a plugin
If needed, python-can could by default install very popular interfaces
Docs/README would list all interfaces in one table
Current maintainers are admins of all the new repos
We think this would have multiple benefits:
Inclusion depends on usage/activity (not on when the interface was added)
HW interface issues/PRs/CI move to the interface repos
A HW interface can ship a fix without waiting for a python-can release
Manufacturers can maintain their own interfaces directly
We would be happy to contribute to this restructuring work from our side at CSS Electronics. Let us know your thoughts.
Since the plugin interface already exists in python-can (plugin interface documentation), the main benefits of moving hardware interfaces out of the core python-can repository would be:
Inclusion depends on usage/activity (not on when the interface was added)
HW interface issues/PRs/CI move to the interface repos (already supported)
A HW interface can ship a fix without waiting for a python-can release (already supported)
Manufacturers can maintain their own interfaces directly (already supported)
Users and products could install only the interfaces they actually need, avoiding unnecessary interface code and dependencies.
For example, CSS Electronics could ship a python-can-based solution without including any Vector-specific interface code or dependencies.
Keeping interfaces in python-can simplifies installation, compatibility testing, and discovery. Moving them out allows interfaces to evolve, release, and manage dependencies independently, but requires stronger compatibility contracts and coordination between python-can and the interface packages.
@pierreluctg thanks for your inputs - my initial issue could have been more specific; I was referring to 'core' hardware interfaces in my outline - e.g. PEAK, Kvaser, Ixxat etc. These HW interfaces currently drive a significant double-digit share of commits/issues in python-can - as well as requests for pushing new releases to fix interface specific issues.
So the three bullets you dashed out do still apply to those core interfaces, in my view - and by cleaning this up, the python-can project as a whole would become much more streamlined in our opinion, essentially making those 'core' interfaces operate in the exact same way as the newer 'plugin' interfaces.
Activity
pierreluctg commentedon Nov 30, 2026
Since the plugin interface already exists in
python-can(plugin interface documentation), the main benefits of moving hardware interfaces out of the corepython-canrepository would be:HW interface issues/PRs/CI move to the interface repos(already supported)A HW interface can ship a fix without waiting for a python-can release(already supported)Manufacturers can maintain their own interfaces directly(already supported)For example, CSS Electronics could ship a
python-can-based solution without including any Vector-specific interface code or dependencies.Keeping interfaces in
python-cansimplifies installation, compatibility testing, and discovery. Moving them out allows interfaces to evolve, release, and manage dependencies independently, but requires stronger compatibility contracts and coordination betweenpython-canand the interface packages.MatinF commentedon Dec 1, 2026
@pierreluctg thanks for your inputs - my initial issue could have been more specific; I was referring to 'core' hardware interfaces in my outline - e.g. PEAK, Kvaser, Ixxat etc. These HW interfaces currently drive a significant double-digit share of commits/issues in python-can - as well as requests for pushing new releases to fix interface specific issues.
So the three bullets you dashed out do still apply to those core interfaces, in my view - and by cleaning this up, the python-can project as a whole would become much more streamlined in our opinion, essentially making those 'core' interfaces operate in the exact same way as the newer 'plugin' interfaces.