开发者

Web control center with Python

I'd like to create some web based control center where I can start processes and watch statistics, logs and outputs. Also I would like to run something like an interactive Python console on the webpage.

I'd don't know any web development yet, but I know Python. Something Python based would be nice.

Could you please suggest which tools and methods I should learn to implement this? Ideally m开发者_开发问答inimal effort to achieve first results.


If you need a custom tool for your specific needs, you might want to develop your own small Django based wep app and use celery to spawn managed tasks. You can store your log in files or in models. This will probably require a lot of effort if you are new to web development....

If you want to cut programming time and would like to start with a generic solution, you might be able to start with this: http://code.google.com/p/python-loggingserver/

Some other non-python options are cacti or munin

Update:

See also: DjangoTaskScheduler

A web based python console is a very tricky option and considered as a risky and non standard addition. You should consider this thoroughly because it might have security and stability implications on your server and apps. If you do decide to use one, you can check out the links below:

  • https://github.com/sympy/sympy-live
  • AJAX console window with ANSI/VT100 support?

The probable alternative would probably be ssh (see also: http://www-personal.umich.edu/~mressl/webshell/ )


You want Sage Math. It does almost everything you have described through a web interface.

Sage math would be the main focus of the web interface. If you just want to embed a python shell, I think ipython would A good place to start, but you would have a lot more development to do to get where you want to go.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜