nodenet

an asynchronous node-based UDP networking library


Keywords
node, network, UDP, asynchronous
License
Other
Install
pip install nodenet==0.1.0

Documentation

nodenet

Build Status

nodenet is an asynchronous, event-driven, node-based UDP networking library for python.

This is still a work in progress. Read the TODO section.

'node-based'?

(No, I don't mean node.js.)

nodenet is centered around nodes rather than clients and servers. Each node is bound to a port and can connect to an arbitrary number of other nodes, and all of them can exchange messages in the form of 'events'. All that a node actually is is an extension of pyuv's UDP handler.

Docs

API

Read the dosctrings (help(nodenet)).

Events

Read the wiki for information on the events emitted by a Node object.

Installation

$ easy_install nodenet

or

$ git clone http://github.com/AjayMT/nodenet.git && cd nodenet
$ python setup.py install

Running tests

$ ./test

TODO

  • better docs
  • better tests
  • python 3 support, maybe use asyncio instead of pyuv

License

MIT License. See ./LICENSE for details.