Skip to main content

Just the `zro.Proxy` class extracted from `mpeconfig`, with `zmq` as a dependency.

Project description

np_zro

For use on internal Allen Institute network

Python Versions

Just the zro.Proxy class extracted from mpeconfig, with zmq as a dependency.

Install

python -m pip install --extra-index-url https://pypi.org/simple np_zro

Basic usage

Proxy.__getattr__ and Proxy.__setattr__ are forwarded to remote zmq object:

>>> from np_zro import Proxy

>>> camstim_agent = Proxy('w10sv111814', port=5000, serialization='json') # BTVTest.1-Stim
>>> camstim_agent.mouse_id = '366122'
>>> camstim_agent.mouse_id
'366122'

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

np_zro-0.1.0.post4.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

np_zro-0.1.0.post4-py3-none-any.whl (4.4 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