X-Git-Url: http://dolda2000.com/gitweb/?p=pdm.git;a=blobdiff_plain;f=pdm%2F__init__.py;h=383b2e1648cc41cebf64af85a3b44ac2e6ed4cd4;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hb=6fde0e19d966a3d83f837a035d05e2afbc20e010;hpb=c51579310ba59ebc5734860944df96f36a9477bf diff --git a/pdm/__init__.py b/pdm/__init__.py index e69de29..383b2e1 100644 --- a/pdm/__init__.py +++ b/pdm/__init__.py @@ -0,0 +1,31 @@ +"""Python Daemon Management + +This package aids in inspecting and managing daemon processes. A +program intended for running as a daemon may create PDM listeners, to +which PDM clients may connect in order to interact with the +process. + +This package contains the following modules: + + * srv -- Server module + * cli -- Client module + * perf -- Library for implementing object for the PERF protocol + +The protocol allows multiple management subprotocols for different +modes of operation. Currently, the following two management protocols +are supported. + + * The REPL protocol implements a simple read-eval-print loop which + accepts arbitrary Python code, executes it in the daemon process, + and returns its replies, all in text form. The protocol is simple, + generic, and has few failure modes, but is hardly suitable for + programmatic interaction. See the documentation for pdm.srv.repl + and pdm.cli.replclient for further details. + + * The PERF protocol is intended for programmatic interaction with the + daemon process. Various Python modules may expose objects that + implement one or several of a few pre-defined interfaces that allow + for various forms of inspection and management of the program + state. See the documentation for pdm.srv.perf and + pdm.cli.perfclient for further details. +"""