This package provides a backport of the Python 3.8's shared_memory module that works for 3.6 and 3.7. This is based off dillonlaird's Shared Numpy array but is leaner.
To install run pip install hub-shm
.
Installation will only work on Python 3.6.x and 3.7.x.
import hub_shm as shm
You can then access shm.SharedMemory
and shm.ShareableList
which are the same as the
ones in Python 3.8's shared_memory
module.