baratine 0.9.0

Last updated:

0 purchases

baratine 0.9.0 Image
baratine 0.9.0 Images
Add to Cart

Description:

baratine 0.9.0

This is a Python client for Baratine.
import baratine

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

client = baratine.BaratineClient('http://127.0.0.1:8085/s/pod')

# 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)

print(result)

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.