python美化tcp服务器
pybeautifier的Python项目详细描述
#基于autopep8、yapf、isort的python美化tcp服务器。
目前只支持python3.3+。
它的性能要好得多(大约300毫秒)。
客户端尚未合并。
另请参见:https://github.com/guyskk/atom beautiffy
登录到/tmp/pybeautifier xx.log
it将监听tcp://127.0.0.1:36805
start at boot via systemd(ubuntu16或arch linux):
$cp pybeautifier.service/usr/lib/systemd/system/
$systemctl startpybeautifier
$systemctl启用pybeautifier
#格式化程序
]
}
响应(json):
{
‘错误’:‘错误消息’,
‘数据’:‘格式化文本’
}
目前只支持python3.3+。
它的性能要好得多(大约300毫秒)。
客户端尚未合并。
另请参见:https://github.com/guyskk/atom beautiffy
登录到/tmp/pybeautifier xx.log
it将监听tcp://127.0.0.1:36805
start at boot via systemd(ubuntu16或arch linux):
$systemctl startpybeautifier
$systemctl启用pybeautifier
#格式化程序
]
}
响应(json):
{
‘错误’:‘错误消息’,
‘数据’:‘格式化文本’
}