Skip to main content

Coordinate state & timing of multiple processes.

Project description

Python Synchronisation Queue

This is a multiprocessing data structure that coordinates a set of child processes in two senses.

  1. Data - Any connected process can add data to the queue
    for all others to read.
  2. Time - Processes can wait on the queue for new data to
    be added by any other.

Every process that connects to the same queue is both a reader and writer i.e. it is both a producer and a consumer. But a piece of data is not removed from the queue until every connected process has had a chance to read it. Hence, one process can signal all of the others to respond to the same information.

PyPI package at pypi.org/project/pysyncq

Online documentation at pysyncq.readthedocs.io

GitHub project at github.com/jsdpag/pysyncq

  • See docs/_build/html/index.html for basic API documentation.
  • See pysyncq/tests/demo.py for a simple demonstration of
    basic timing signals and message passing between processes.
  • See pysyncq/tests/benchmark.py for a simple benchmarking of the message transfer time from a sender to a reader.

Developed by:

0.0.1 - Support for spawn as well as fork child process starting methods. 0.0.0 - Initial release. Functional on Linux.

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

pysyncq-0.0.1.tar.gz (26.8 kB view details)

Uploaded Source

File details

Details for the file pysyncq-0.0.1.tar.gz.

File metadata

  • Download URL: pysyncq-0.0.1.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pysyncq-0.0.1.tar.gz
Algorithm Hash digest
SHA256 470c1657106dd546c7a95f1e88d1f67d16b5abd977417c79f0d084530fec1c8a
MD5 33056fb27996b16c45e66347404a93c8
BLAKE2b-256 28086b967cf7cb561e974b864ae6d10e245a6ffa1d85e9646e0a6fe32bc01830

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