Defining a new publisherΒΆ

Additional publishers can be added to doiget-tdm by those with knowledge of the Python programming language. A new publisher is created by describing a class that inherits from the doiget_tdm.publisher.Publisher abstract base class (ABC). A directory containing the Python source file(s) is passed to doiget-tdm via the extra_handlers_path option described in Configuration.

The best way to begin developing code for a new publisher is to read through the code for the built-in publishers. This code is contained within the src/doiget_tdm/publishers directory in the source code (browseable on Github).