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!

Ampy - The pure-Python AMP library

Project Description

Ampy, the pure-Python AMP client and server

Ampy is an AMP library that provides a syncronous, blocking interface for making AMP calls (client interface).

It also provides an asyncore-based asynchronous API for making non-blocking servers and clients.

Synchronous Client Example:

from ampy import ampy

class Sum(ampy.Command):
    arguments = [('a', ampy.Integer()), ('b', ampy.Integer())]
    response = [('total', ampy.Integer())]

proxy = ampy.Proxy('localhost', 1234)
proxy.connect()
result = proxy.callRemote(Sum, a=5, b=10)
print "TOTAL:", result['total']
Release History

Release History

This version
History Node

1.2.6

History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

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
ampy-1.2.6.tar.gz (35.2 kB) Copy SHA256 Checksum SHA256 Source Apr 2, 2013

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