跳转到主要内容

slacker RPC的Python客户端

项目描述

https://img.shields.io/pypi/v/slacker-python.svg?maxAge=2592000 https://img.shields.io/pypi/l/slacker-python.svg?maxAge=2592000 https://img.shields.io/pypi/pyversions/slacker-python.svg?maxAge=2592000

这是slacker RPC的Python客户端。

此项目仍在开发中。

安装

pip安装slacker-python

用法

from slacker.geventbackend import Client
from slacker.proxy import Proxy

c = Client("127.0.0.1:2104")
p = Proxy(c, "slacker.example.api")

## remote function echo
p.echo("hello")

## remote function rand-ints
p.call("rand-ints", 40)

许可证

此软件包根据MIT许可证开源。

支持者

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面