skip to navigation
skip to content

baratine 0.9.0

Python client for Baratine

This is a Python client for Baratine.

import baratine

# Python interface for your Baratine service
class CounterService:
    def addAndGet(value):
    def incrementAndGet():
    def get():

client = baratine.BaratineClient('')

# create a proxy for the remote service
counter = client._lookup('/counter/123')._as(CounterService)

# now call your service using your API
# the library supports all the good python features like default args and named args
result = counter.addAndGet(2222)

File Type Py Version Uploaded on Size
baratine-0.9.0-py3-none-any.whl (md5) Python Wheel py3 2015-07-18 7KB
baratine-0.9.0.tar.gz (md5) Source 2015-07-18 4KB