Uploaded image for project: 'Apache PLC4X'
  1. Apache PLC4X
  2. PLC4X-251

PLC4PY -> Boostrap Pluggy / Entry point / Extensions for driver discovery and loading

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              otto Otto Fowler
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: