Skip to main content

Elegant UDP messaging

Project description

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

Example Server

from gramme import server

@server(3030)
def handler(data)
    print data

Example Client

from gramme import client

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

some_data = {'i am': 'a dict'}

clnt.send(some_data)

Installation

Install gramme with pip:

$ pip install greenbalance

License

BSD

Project details


Download files

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

Source Distribution

gramme-0.1.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page