hdf5storage icon indicating copy to clipboard operation
hdf5storage copied to clipboard

Adding support for 3rd party packages providing marshallers as plugins

Open frejanordsiek opened this issue 7 years ago • 1 comments

One major missing feature of hdf5storage has been that marshallers for any additional types had to be provided by the user by making a MarshallerCollection with the additional marshallers passed manually and then pass that to Options or through the keyword arguments of the various functions. This is enough to allow packages to use hdf5storage for their own types underneath the hood, but not for users to get access to the same marshallers when using hdf5storage directly.

Allowing other python packages to specify plugin marshallers via entrypoints in their setup.py makes it easier for users to read and write such types directly and makes it easier to extend hdf5storage.

frejanordsiek avatar Oct 15 '17 18:10 frejanordsiek

Added initial support to master branch in commit 817da0b . There is still more work to be done to round it out and document it.

frejanordsiek avatar Oct 15 '17 18:10 frejanordsiek