1👍
there is a package called django-picklefield I had used that for the same purpose to store NumPy in Django models.
this package will save pickles as blobs in the database.
if the h5 data file is binary too you can use this package with a little modification.
another way is you can store your data in a pickle file instead of h5 its a bit faster than h5 too
👤Xeus
Source:stackexchange.com