-
Notifications
You must be signed in to change notification settings - Fork 12
/
README
41 lines (26 loc) · 1.56 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Pizco: a Python library to communicate with remote objects
==========================================================
Pizco is Python module/package that allows python objects to communicate.
Objects can be exposed to other process in the same computer or over the network,
allowing clear separation of concerns, resources and permissions.
Pizco supports calling methods from remote objects and also
accessing their attributes, dictionary attributes and properties. Most importantly,
using a Qt-like (and Qt compatible!) signal and slot mechanism you can easily
register notifications.
As ZMQ is used as the transport layer, communication is fast and efficient,
and different protocols are supported. It has a complete test coverage.
It runs in Python 3.2+ and requires PyZMQ_. It is licensed under BSD.
Design principles
-----------------
- Reusable Agent class as communicating object for both Proxy and Server.
- ZMQ REP/REQ to handle sync access to objects.
- ZMQ PUB/SUB for notifications and async operations.
- PyQt-like signal and slots callbacks, compatible with PyQt.
- Transparent handling of methods that return concurrent.Futures.
- *Soon*: Asynchronous and batched operation on remote objects.
- Small codebase: small and easy to maintain codebase with a flat hierarchy.
It is a single stand-alone module that can be installed as a package or added
side by side to your project.
- *Soon*: Python 2 and 3: A single codebase that runs unchanged in Python 2.6+ and Python 3.0+.
.. _PyZMQ: https://github.com/zeromq/pyzmq
.. _Pyro: http://packages.python.org/Pyro4/