ptypy.io.interaction#
Interaction module
Provides the server and a basic client to interact with it.
This file is part of the PTYPY package.
- copyright:
Copyright 2014 by the PTYPY team, see AUTHORS.
- license:
see LICENSE for details.
Functions
|
|
|
Generate a random ID string made of capital letters and digits. |
|
Test if s behaves like a string. |
|
Takes an object decoded by JSON and replaces the arrays where they should be. |
|
Receive a JSON object, taking care of numpy arrays |
|
Send the given object using JSON, taking care of numpy arrays. |
Classes
|
Basic but complete client to interact with the server. |
|
Custom JSON Encoder class that take out numpy arrays from a structure and replace them with a code string. |
|
Main ZMQ server class. |