🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

gramme

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gramme

Elegant UDP messaging

0.1.2
PyPI
Maintainers
1

====== gramme

A elegant way to pass volatile data around over UDP (datagrammes) <https://en.wikipedia.org/wiki/User_Datagram_Protocol>_ serialized with msgpack <http://msgpack.org/>_

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts