Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18003 > unrolled thread

Daemon management

Started byFredrik Tolf <fredrik@dolda2000.com>
First post2011-12-27 02:43 +0100
Last post2011-12-27 11:01 -0800
Articles 4 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Daemon management Fredrik Tolf <fredrik@dolda2000.com> - 2011-12-27 02:43 +0100
    Re: Daemon management Miki Tebeka <miki.tebeka@gmail.com> - 2011-12-27 11:01 -0800
      Re: Daemon management Fredrik Tolf <fredrik@dolda2000.com> - 2011-12-27 22:52 +0100
    Re: Daemon management Miki Tebeka <miki.tebeka@gmail.com> - 2011-12-27 11:01 -0800

#18003 — Daemon management

FromFredrik Tolf <fredrik@dolda2000.com>
Date2011-12-27 02:43 +0100
SubjectDaemon management
Message-ID<mailman.4122.1324950245.27778.python-list@python.org>
Dear list,

Lately, I've had a personal itch to scratch, in that I run a couple of 
Python programs as daemons, and sometimes want to inspect or alter them in 
ad-hoc ways, or other times need to do things to them that are less 
ad-hoc in nature, but nevertheless lack a natural user interface.

In order to solve that problem, I wrote a small library to allow the 
daemon to simply listen to some socket and accept arbitrary, but easily 
definable, commands. It also provides a "remote REPL" to allow me to run 
arbitrary Python code interactively in the context of the daemon.

I was actually a bit surprised that I couldn't find any obvious 
existing solution to the problem, so I'm writing this message in order 
to share mine, just in case anyone else would happen to have the same 
problem as I had and doesn't want to reinvent the wheel yet again:

<http://www.dolda2000.com/~fredrik/pdm/>

Humbly,

Fredrik Tolf

[toc] | [next] | [standalone]


#18045

FromMiki Tebeka <miki.tebeka@gmail.com>
Date2011-12-27 11:01 -0800
Message-ID<25792721.106.1325012462924.JavaMail.geo-discussion-forums@yqbl25>
In reply to#18003
What was the term you used to search? Since http://pypi.python.org/pypi/ingress/0.1.1 seems to fit your description.

[toc] | [prev] | [next] | [standalone]


#18062

FromFredrik Tolf <fredrik@dolda2000.com>
Date2011-12-27 22:52 +0100
Message-ID<mailman.4157.1325022724.27778.python-list@python.org>
In reply to#18045
On Tue, 27 Dec 2011, Miki Tebeka wrote:
> What was the term you used to search? Since http://pypi.python.org/pypi/ingress/0.1.1 seems to fit your description.

Not quite, though. It (AFAICT, at least) only provides the REPL part, with 
no way to construct a more program-friendly interface.

--

Fredrik Tolf

[toc] | [prev] | [next] | [standalone]


#18046

FromMiki Tebeka <miki.tebeka@gmail.com>
Date2011-12-27 11:01 -0800
Message-ID<mailman.4148.1325012466.27778.python-list@python.org>
In reply to#18003
What was the term you used to search? Since http://pypi.python.org/pypi/ingress/0.1.1 seems to fit your description.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web