V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
livevilwt
V2EX  ›  Python

用 Python 写了个远程执行命令的工具,求建议

  •  
  •   livevilwt · 2017-02-25 20:18:47 +08:00 · 2637 次点击
    这是一个创建于 2617 天前的主题,其中的信息可能已经有所发展或是发生改变。

    闲着没事写了个轻量的远程命令执行的小工具,没什么头绪了,求前辈们给点意见或者方向,地址: https://github.com/tonnie17/flowlight ,轻喷...

    7 条回复    2017-02-26 11:20:36 +08:00
    liyu4
        1
    liyu4  
       2017-02-25 21:13:48 +08:00 via iPhone
    问题在哪?
    livevilwt
        2
    livevilwt  
    OP
       2017-02-25 21:17:56 +08:00
    @liyu4 我想做成一个方便调试集群的东西,怎么提高在实际开发中的实用性?
    littlewey
        3
    littlewey  
       2017-02-26 00:24:39 +08:00 via iPhone
    看看 ansible ?
    popil1987
        4
    popil1987  
       2017-02-26 08:26:36 +08:00 via Android
    Fabric 就行了
    tairan2006
        5
    tairan2006  
       2017-02-26 10:31:48 +08:00
    多看看轮子 再造轮子
    livevilwt
        6
    livevilwt  
    OP
       2017-02-26 11:17:05 +08:00   ❤️ 1
    @littlewey @popil1987 @tairan2006 感谢各位建议, ansible 和 Fabric 都用过,有很多功能都用不上,其实目的不在于造轮子,而是方便在自己工作上使用,想着封装 paramiko 定制一个更易用的东西
    gwind
        7
    gwind  
       2017-02-26 11:20:36 +08:00
    saltstack 值得看下

    如果还想 hacking , 可以看看 ZeroMQ 的网络编程相关

    btw, 没有头绪,最好先定几个”需求场景”,再去 start coding
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1714 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 16:53 · PVG 00:53 · LAX 09:53 · JFK 12:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.