You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Otto Fowler (Jira)" <ji...@apache.org> on 2020/11/12 12:00:13 UTC
[jira] [Assigned] (PLC4X-251) PLC4PY -> Boostrap Pluggy / Entry
point / Extensions for driver discovery and loading
[ https://issues.apache.org/jira/browse/PLC4X-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Otto Fowler reassigned PLC4X-251:
---------------------------------
Assignee: Otto Fowler
> 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
> Assignee: 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)