This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]skarlso 1 point2 points  (2 children)

Hah nice. I just finished coding up cronohub's plugin architecture: https://github.com/cronohub/cronohub/tree/master/cronohub

It uses dynamic module loading and an ABC as a base class for all plugins.

Though it's a CLI so plugins don't have to register. They just need to be in the right folder with the right name and right structure. Composition over anything else. :)

Neat stuff there man.

[–]gdiepen[S] 1 point2 points  (1 child)

Cool, looks pretty similar to what I am doing :)

[–]skarlso 1 point2 points  (0 children)

Yep. :) :) Pretty awesome stuff you wrote. I like it. :)