【文件属性】:
文件名称:serf-python:``self''(http的python客户端库
文件大小:36KB
文件格式:ZIP
更新时间:2021-05-15 23:32:02
Python
python的农奴客户端
serf-python是Python客户serf (python3.x还没有)。
serf是简单轻巧的集群软件,您可以轻松地为自己的应用程序创建集群。 有关serf更多详细信息,请访问 。 serf还处于发展初期,但已经具有生产环境所需的功能。
安装
$ pip install serf-python
或从来源。
$ git clone git@github.com:spikeekips/serf-python.git
$ cd serf-python
$ python setup.py install
用法
serf提供的命令进行通信serf剂通RPC,基于msgpack 。 自然, serf-python使用RPC协议。 serf-python支持这些serf命令,
握手
认证
事件
强制离开
加入
成员
溪流
监视器
停止
离开
询问
回应
ser
【文件预览】:
serf-python-master
----LICENSE.txt(16KB)
----src()
--------serf()
----.travis.yml(144B)
----test()
--------test_context_manager.py(443B)
--------test_command_respond.py(2KB)
--------test_command_stop.py(797B)
--------test_request.py(3KB)
--------_base.py(1KB)
--------test_command_query.py(5KB)
--------test_command_join.py(2KB)
--------test_command_leave.py(525B)
--------test_command_event.py(3KB)
--------test_base.py(306B)
--------test_stop_receive_data.py(2KB)
--------test_command_force_leave.py(1KB)
--------test_command_members.py(3KB)
--------test_command_monitor.py(3KB)
--------test_command_auth.py(4KB)
--------test_common.py(4KB)
--------test_command_handshake.py(3KB)
--------test_command_stream.py(3KB)
----setup.py(658B)
----README.md(16KB)
----.gitignore(341B)