Welcome to pyxs’s documentation!

pyxs

Pure Python bindings for communicating with XenStore. Currently two backend options are available:

Which backend is used is determined by the arguments used for Client initialization, for example the following code creates a Client instance, working over a Unix socket:

>>> Client(unix_socket_path="/var/run/xenstored/socket")
<pyxs.client.Client object at 0xb74103cc>
>>> Client()
<pyxs.client.Client object at 0xb74109cc>

Use xen_bus_path argument to initialize a Client, communicating with XenStore over XenBus:

>>> Client(xen_bus_path="/proc/xen/xenbus")
<pyxs.client.Client object at 0xb7410d2c>
copyright:
  1. 2011 by Selectel, see AUTHORS for more details.
license:

LGPL, see LICENSE for more details.

Contents:

Indices and tables