nats.py2:用于 NATS 的基于 Tornado 的 Python 2 客户端

时间:2021-05-29 23:07:01
【文件属性】:
文件名称:nats.py2:用于 NATS 的基于 Tornado 的 Python 2 客户端
文件大小:72KB
文件格式:ZIP
更新时间:2021-05-29 23:07:01
nats tornado python2 Python NATS - 基于 Tornado 的 Python 2 客户端 用于Python 异步客户端。 支持的平台 应该与使用 (小于 6.0)的兼容。 对于 Python 3,请检查 入门 pip install nats-client 基本用法 import tornado . ioloop import tornado . gen import time from nats . io . client import Client as NATS @ tornado . gen . coroutine def main (): nc = NATS () # Establish connection to the server. yield nc . connect ( "nats://demo.nats.io:4222" ) @ tornado . gen
【文件预览】:
nats.py2-master
----MANIFEST.in(25B)
----nats()
--------protocol()
--------__init__.py(627B)
--------io()
----todo.md(665B)
----script()
--------install_gnatsd.sh(528B)
--------test.sh(119B)
----requirements.txt(18B)
----GOVERNANCE.md(231B)
----examples()
--------clustered-example.py(2KB)
--------advanced-example.py(2KB)
--------nats-sub()
--------tls.py(3KB)
--------wildcard.py(692B)
--------nats-pub()
--------example.py(2KB)
--------drain-example.py(2KB)
----benchmark()
--------parser_perf.py(2KB)
--------pub_perf.py(3KB)
--------sub_perf.py(3KB)
--------latency_perf.py(2KB)
--------pub_sub_perf.py(3KB)
----.travis.yml(270B)
----LICENSE(11KB)
----setup.py(834B)
----tests()
--------nuid_test.py(2KB)
--------configs()
--------test.py(1KB)
--------client_test.py(92KB)
--------__init__.py(1B)
--------protocol_test.py(5KB)
----MAINTAINERS.md(425B)
----.gitignore(122B)
----readme.md(8KB)

网友评论