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 gramme

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.2.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file gramme-0.1.2.tar.gz.

File metadata

  • Download URL: gramme-0.1.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gramme-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3b541f759bceeefe84fa8971c4620998dc56fe97cb5f3b4a26b7679f4069cf1a
MD5 84a5254839ea1253890317d8adb0d089
BLAKE2b-256 78f69a010336749a1c9e8fbc9418507a56b373f83564fd71c77beda6486dfb9e

See more details on using hashes here.

Supported by

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