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.1a2.tar.gz
.
File metadata
- Download URL: ductworks-0.0.1a2.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc9f73436d7428a3ebc63ac99ed3677db42108dbec88b43e7a822370bd055aee |
|
MD5 | 5fadeb0228985f1a24b65ac2994d40a1 |
|
BLAKE2b-256 | 1f8d5b1872e63567c34af20601c7dbe6be39fd9ff9f9b94cf069d52252636ec1 |