protlib icon indicating copy to clipboard operation
protlib copied to clipboard

Easily implement binary network protocols

protlib makes it easy to implement binary network protocols. It uses the struct and SocketServer modules from the standard library. It provides support for default and constant struct fields, nested structs, arrays of structs, better handling for strings and arrays, struct inheritance, and convenient syntax for instantiating and using your custom structs.

protlib supports Python 2.6 and 2.7 as well as Python 3.2 and later.

protlib is free for use under the BSD license. See the LICENSE.txt file in this directory for details.

Full documentation for protlib can be found in the docs/ folder or online at http://pythonhosted.org/protlib/