Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ductworks-0.0.1a2.tar.gz (7.3 kB view details)

Uploaded Source

File details

Details for the file ductworks-0.0.1a2.tar.gz.

File metadata

File hashes

Hashes for ductworks-0.0.1a2.tar.gz
Algorithm Hash digest
SHA256 dc9f73436d7428a3ebc63ac99ed3677db42108dbec88b43e7a822370bd055aee
MD5 5fadeb0228985f1a24b65ac2994d40a1
BLAKE2b-256 1f8d5b1872e63567c34af20601c7dbe6be39fd9ff9f9b94cf069d52252636ec1

See more details on using hashes here.

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