Extended Threading

Home Pen & Paper Gaming VAR D&D/D20 Programming C SYSOPT GDHLS Python Py-Modularapp Extended Threading Py-Streamer

This is a message formatting library. It is designed to format the storage or transmission of binary or text data in a simple to parse (for computers) format. The goal is to be lighter weight than XML or other similarly used formats, and to have trivial implementations.

All the functions are documented in their python strings, but the basic functions are "reading" and "writing" streams. When writing streams, a new stream can be created, or data can be appended/prepended to an existing stream. When reading a stream, a data structure, based on the stream, is generated. Streams store variable names, data types and data values. Streams can also store unknown data types - either as dictionaries, or if a serialize/unserialize function is provided.

downloads: This module is public domain.

(C) 2007 S James S Stapleton