Skip to content

waawal/gramme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages