python client for slacker
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
slacker
.gitignore
README.rst
example.py
setup.py

README.rst

slacker-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

Python client of the slacker RPC.

This project is still working in progress.

Installation

pip install slacker-python

Usage

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)

License

This package is open sourced under MIT License.