A polished shmarray, originated by David Baddeley
Project description
shmarray
shmarray is a shared numpy-array implementation utilizing multiprocessing.sharedctypes. It is a quite useful small library created of David Baddeley. I found it at https://github.com/lucastheis/parallel/blob/master/shmarray.py
Despite its usefulness, it not only does not come with a pip-installable package, but also contains disrepaired bugs.
This repo is created to amend these remedies.
Installation
pip install shmarray
Usage
PS
The code in shmarray.py
is mostly the same as the original, I've only done two things:
- fix a bug that did not pass
dtype
argument to downstream calls - reformat the code using black
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shmarray-0.0.1.tar.gz
(3.8 kB
view hashes)