This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

numpy array over zmq sockets

Project Description

Zmqnumpy module implements a series of functions used to exchange numpy ndarrays between U{zeromq<http://www.zeromq.org>} sockets. Serializtion of numpy arrays happens using the numpy.ndarray.tostring method which preserves portability to standard C binary format, enabling data exchange with different programming languages. A very simple protocol is defined in order to exchange array data, the multipart messages will be composed of:

  1. identifier string name
  2. the numpy array element type (dtype) in its string representation
  3. numpy array shape encoded as a binary numpy.int32 array
  4. the array data encoded as string using numpy.ndarray.tostring()

This protocol guarantees that numpy array can be carried around and recostructed uniquely without errors on both ends of a connected pair enabling an efficient interchange of data between processes and nodes.

@author: Marco Bartolini @contact: marco.bartolini@gmail.com @version: 0.1

Release History

Release History

This version
History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
zmqnumpy-0.1.tar.gz (3.1 kB) Copy SHA256 Checksum SHA256 Source Sep 12, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting