Functions are provided for encoding and decoding according to the basic COBS method. The COBS variant "Zero Pair Elimination" (ZPE) is not implemented. A pure Python implementation and a C extension implementation are provided. If the C extension is not available for some reason, the pure Python version will be used. The C extension seems to work in Python 2.4 and 2.5. However, it has not been tested much. There is no pure Python implementation for these versions. The unit test file in the test directory also does not run under Python 2.4 and 2.5. I don’t know how much interest there is for these older Python versions. Please let me know if you would like support for these older Python versions to be improved.