execnet: Distributed Python deployment and communication

home |  install |  examples |  basic API |  support 

Navigation

  • index
  • next |
  • previous |
  • Info in a nutshell »

Previous topic

Info in a nutshell

Next topic

basic local and remote communication

Quick search

examplesΒΆ

Note: all examples with >>> prompts are automatically tested.

  • basic local and remote communication
    • Execute source code in subprocess, communicate through a channel
    • remote-exec a function (avoiding inlined source part I)
    • remote-exec a module (avoiding inlined source part II)
    • Compare current working directories
    • Get information from remote ssh account
    • Use a callback instead of receive() and wait for completion
    • Sending channels over channels
    • a simple command loop pattern
    • Instantiate gateways through sockets
    • Receive file contents from remote SSH account
  • Managing multiple gateways and clusters
    • Usings Groups for managing multiple gateways
    • Assigning Gateway IDs
    • Getting (auto) IDs before instantiation
    • execnet.makegateway uses execnet.default_group
    • Robust Termination of ssh/popen processes
    • Using Groups to manage a certain type of gateway
  • Managing Proxyed gateways
    • Simple Proxying
  • advanced (multi) channel communication
    • MultiChannel: container for multiple channels
    • receive results from sub processes with a Queue
    • Working asynchronously/event-based with channels
    • robustly receive results and termination notification
    • saturate multiple Hosts and CPUs with tasks to process
  • Connecting different Python interpreters
    • Dumping and loading values across interpreter versions
    • Connect to Python2/Numpy from Python3
    • Reconfiguring the string coercion between python2 and python3
    • Work with Java objects from CPython
    • Work with C# objects from CPython
  • Debugging execnet / Wire messages

Navigation

  • index
  • next |
  • previous |
  • Info in a nutshell »
© Copyright 2012, holger krekel and others. Created using Sphinx 1.6.5.