mqtt-tools / mqttwarn

A highly configurable MQTT message router, where the routing targets are notification plugins, primarily written in Python.
https://mqttwarn.readthedocs.io/
Eclipse Public License 2.0
950 stars 183 forks source link

Use `dynamic-imports` for loading Python code at runtime #688

Open amotl opened 6 months ago

amotl commented 6 months ago

I just discovered this sweet library by @djkelleher: https://github.com/djkelleher/dynamic-imports. It could be used to replace the custom code currently used for plugin loading. 💯