Skip to main content

Communicate Pandas DataFrame over ZeroMQ connection

Project description

pandas-zmq

Communicate Pandas DataFrame over ZeroMQ connection

API

send_dataframe(socket, dataframe, secret='', alg='sha256', flags=0)
recv_dataframe(socket, secret='', alg='sha256', flags=0)

Server

import pandas_zmq

# ...
pandas_zmq.send_dataframe(socket, df)

Client

import pandas_zmq

# ...
df = pandas_zmq.recv_dataframe(socket)

Security

WARNING: There are reported security issues with pickle, which is the backend serialization for this feature. A signature using a shared secret and a configurable hash algorithm has been added to mitigate this risk which will attempt to verify the data has not been altered. See pickle documentation.

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

pandas-zmq-0.0.3.tar.gz (2.1 kB view hashes)

Uploaded Source

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