Python remote objects with ZMQ
Project description
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 not only support calling methods from remote objects but 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+.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Pizco-0.1.tar.gz
.
File metadata
- Download URL: Pizco-0.1.tar.gz
- Upload date:
- Size: 42.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d89c8c50990b785c046beeeded3a808d0ed82f111937eff505fe3555ad957fc1 |
|
MD5 | d36b4f2d6793bba3d9af73bfd29f799c |
|
BLAKE2b-256 | 9dd38fcdba29dfb3ba55ad32bd310f751bf84e19d76e8f06623cd0b44e548c29 |