Skip to main content
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 notifications

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 the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ampy-1.2.6.tar.gz (35.2 kB) Copy SHA256 hash SHA256 Source None Apr 2, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page