Skip to main content

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:

  1. fix a bug that did not pass dtype argument to downstream calls
  2. reformat the code using black

Project details


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)

Uploaded Source

Built Distribution

shmarray-0.0.1-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page