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:
identifier string name
the numpy array element type (dtype) in its string representation
numpy array shape encoded as a binary numpy.int32 array
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
Metadata
Release files for zmqnumpy 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zmqnumpy-0.1.tar.gz | 3.1 kB | Without provenance | Details for zmqnumpy-0.1.tar.gz |
Release files / zmqnumpy-0.1.tar.gz
| Download URL | zmqnumpy-0.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0aa74ecb78ce447124d34222437db19862895287bcdbd0ec166cd9bedb605667
|
|
BLAKE2b-256 checksum How to use checksums |
b1eb19c027d23915a1d5a189116df4d873cd56018d55bbc01e639811e5d943d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for zmqnumpy 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.