[ 
https://issues.apache.org/jira/browse/PLC4X-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17260487#comment-17260487
 ] 

Otto Fowler commented on PLC4X-251:
-----------------------------------

I have not been able to get started on this.

I have unassigned it so that someone else would take it if they wanted to start 
now.

I *think* that maybe implementing the first driver ( or the interfaces and 
support classes ) for the first driver and hard coding it would be a good way 
to start.  We can then quantify the pluggable parts and implement.
As it is, to do this now you would have to both create the interfaces and write 
the pluggy stuff.

> PLC4PY -> Boostrap Pluggy / Entry point / Extensions for driver discovery and 
> loading
> -------------------------------------------------------------------------------------
>
>                 Key: PLC4X-251
>                 URL: https://issues.apache.org/jira/browse/PLC4X-251
>             Project: Apache PLC4X
>          Issue Type: New Feature
>            Reporter: Otto Fowler
>            Priority: Major
>
> Python does not have the service provider API like java for loading drivers, 
> but setup tools does support declarative methods to register plugins.
> Along with the pluggy project, this will give the ability to load drivers as 
> plugins.
> This is also supported by poetry.
> This will allow 3rd parties to provide driver support ( or other extensions 
> should we want to support them ) just through their installations.
> We will need a follow on to document writing an external package and 
> supporting this.
> https://cwiki.apache.org/confluence/display/PLC4X/Project+Setup
> https://dev.to/demianbrecht/entry-points-in-python-34i3
> https://docs.pytest.org/en/latest/writing_plugins.html#pip-installable-plugins
> https://python-poetry.org/docs/pyproject/#plugins



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to