Elegant UDP messaging
Switch branches/tags
Nothing to show
Clone or download
waawal Merge pull request #2 from bitdeli-chef/master
Add a Bitdeli Badge to README
Latest commit 0f0ae74 Feb 3, 2014
Permalink
Failed to load latest commit information.
MANIFEST.in adding manifest for pkg Jul 2, 2013
README.rst Add a Bitdeli badge to README Feb 3, 2014
gramme.py making transport private Jul 5, 2013
setup.py preparing for 0.2.0 Jul 9, 2013

README.rst

gramme

pypi version

A elegant way to pass volatile data around over UDP (datagrammes) serialized with msgpack

Example Server

import gramme

@gramme.server(3030)
def my_awsome_data_handler(data):
    print data

Example Client

import gramme

client = gramme.client(host="132.23.x.x", port=3030)

some_data = {'key': 'value'}
client.send(some_data)

more_data = ['i am a list', 1, {'hello': 'there!'}]
client.send(more_data)

Installation

Install gramme with pip:

$ pip install gramme

License

BSD

Bitdeli badge