A simple IPC library for less simple situations.
Project description
Ductworks is an IPC library for Python, similar to the Pipe object from the multiprocessing library. Like Pipe, ductworks exposes a MessageDuct API with very simple send and receive semantics for end users (no worrying about streams, each send call corresponds to one recv call), while easily allowing for more flexible usage like having a communication channel between a parent python process and a python process in a child subprocess (separated by both fork(2) and exec(2)). As well ductworks allows users to freely choose their serialization library (and uses JSON by default) and uses regular BSD sockets; this makes connecting up programs in different languages (or even on different systems) relatively straightforward. Ductworks aims to make it simple to get socket pairs, when inheriting a anonymous socket pair is difficult or outright infeasible, and to make IPC easier and less stressful.
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 ductworks-0.0.1a3.tar.gz
.
File metadata
- Download URL: ductworks-0.0.1a3.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0547efb1b6a81b55958cabc28d63a510696e3d6b1aaf3d854c1e94089887295f |
|
MD5 | 0e9100529714bdf17fc86b4a88597ae4 |
|
BLAKE2b-256 | fdce1670d4ff68f2771808cbe88649eb1421f24ad1f61298852c3f85b47ab951 |