This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python client for Baratine

Project Description

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)
Release History

Release History

This version
History Node

0.9.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
baratine-0.9.0-py3-none-any.whl (7.6 kB) Copy SHA256 Checksum SHA256 py3 Wheel Jul 18, 2015
baratine-0.9.0.tar.gz (4.7 kB) Copy SHA256 Checksum SHA256 Source Jul 18, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting