gipc /

Filename Size Date modified Message
docs
examples
gipc
test
0 B
1.7 KB
16.8 KB
1.2 KB

What can gipc do for you?

With gipc (pronunciation “gipsy”) child processes and gevent can easily be used within one Python application. gipc provides gevent-aware multiprocessing.Process-based child processes and gevent-cooperative inter-process communication.

Isn't this achievable with just gevent+multiprocessing?

Yes, but it requires care: On Unix, child process creation via Python's multiprocessing package in the context of gevent might yield an undesired event loop state in the child and most likely breaks your application in some way. Furthermore, blocking method calls such as join() on a multiprocessing.Process or the send()/recv() methods on a multiprocessing.Connection are not gevent-cooperative. gipc overcomes these challenges for you in a straight-forward fashion and allows for simple integration of child processes in your application -- on POSIX-compliant systems as well as on Windows.

Documentation

The documentation with API details, installation instructions, requirements, and code examples can be found at http://gehrcke.de/gipc.

Availability

Releases are available at PyPI. The development version can be received from the mercurial repository at bitbucket.

Author & license

gipc is written and maintained by Jan-Philip Gehrcke and is licensed under the Apache License 2.0.

Contact

Your feedback is highly appreciated. You can contact me at jgehrcke@googlemail.com.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.