(Untitled)

There are a few small pieces of code that I've written that I thought might maybe be useful enough to put up somewhere as free software. I've put it off for years, but now I've got a start on it. Some of them could use some documentation, but you might never see them if I wait to finish that. Enjoy...


The following are engineering-related tools I've developed to deal with low-level bit streams:

CrcMoose

This Python module can be used to easily define arbitrary Cyclic Redundancy Check functions given a set of defining parameters. Several common algorithms are predefined. It is likely too slow to be used in a general application, but it is good for experimentation, prototyping, verifying other implementations, and so on.

I've been sitting on this code since 2005 (shame, shame), and now that I'm making it public (June 2007) I see there's another Python CRC package called pycrc that appears to have some overlap in functionality. It's more ambitious since it supports C code generation and has a command line interface. It certainly looks to be worth checking out. It seems to have been influenced by crcmodel.c ("Rocksoft^tm Model CRC Algorithm") as has mine, and unlike on my site, this bit of information and more are actually documented.

LfsrToys

Python iterators that implement Linear-Feedback Shift Registers (LFSR) and scramblers.

IterBits

Utilities for using Python iterators with bit streams.


Other, miscellaneous packages:

daemon

This stand-alone Python module allows a program to run as a background "daemon" process detached from the console on unix-like systems. I wrote this years ago when I couldn't find an existing stand-alone package to do the job. Features:

Maybe it's a simple thing, but I still think it is nice to have it in a module.

tftp

A TFTP client in a pure-Python module.


Ray Burr <ryb@nightmare.com>

Public Key: 87A5 C961 E030 5EB2 1B43 E733 436D 1C0A FFC5 4610