Skip to main content

gevent-cooperative child processes and inter-process communication.

Project description

What is gipc?

Usage of Python’s multiprocessing package in the context of a gevent-powered application may raise problems and most likely breaks the application in various subtle ways.

gipc (pronunciation “gipsy”) is developed with the motivation to solve many of these issues transparently. With gipc, multiprocessing.Process-based child processes can safely be created anywhere within your gevent-powered application. The API of multiprocessing.Process objects is provided in a gevent-cooperative fashion. Furthermore, gipc comes up with a pipe-based transport layer for gevent-cooperative inter-process communication and useful helper constructs. gipc is lightweight and simple to integrate.

What are the boundary conditions?

Currently, gipc is developed against gevent 1.0. It is tested on CPython 2.6 & 2.7 on Linux as well as on Windows. Python 3 support will be ensured as soon as gevent officially supports it.

Where are documentation and changelog?

Where to download gipc?

How can the unit tests be run?

If you run into troubles with gipc, it is a good idea to run the unit test suite under your conditions. gipc’s unit tests are written for pytest. With gipc/test (included in the release) being the current working directory, I usually run tests like this:

$ py.test -v

How is code audit perfomed?

I use pep8 and pylint. Have a look at audit.sh in the code repository. Unit test code coverage analysis requires coverage and pytest-cov. audit.sh leaves behind a coverage HTML report in the coverage_html directory.

Contact & help

Your feedback and questions are highly appreciated. For now, please contact me via mail at jgehrcke@googlemail.com or use the Bitbucket issue tracker.

Author & license

gipc is written and maintained by Jan-Philip Gehrcke. It is licensed under an MIT license (see LICENSE file).

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

gipc-0.5.0.zip (28.8 kB view details)

Uploaded Source

File details

Details for the file gipc-0.5.0.zip.

File metadata

  • Download URL: gipc-0.5.0.zip
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gipc-0.5.0.zip
Algorithm Hash digest
SHA256 ec2eaa492bb0ce6c0516c51bef817f51fcfffda2dc53de531321dbb37f2f8321
MD5 3e920f19be032039646620fae16820b3
BLAKE2b-256 297f191d6720aba1ccebaa4293bc3603d133b4a9448a3c928f3a38484c1d7435

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page