pyrokinetics.plugins.register_file_reader_plugins

pyrokinetics.plugins.register_file_reader_plugins#

pyrokinetics.plugins.register_file_reader_plugins(group_name, Readable)[source]#

Defines an entry point group for classes that implement the FileReader and registers any user-defined plugins with that group.

Parameters:
  • group_name (str) – The name of the entry points group. This will be prepended with "pyrokinetics." if it is not already.

  • Readable (Type[ReadableFromFile]) – The type of class returned by the registered file readers.

Return type:

None