← Back to team overview

rohc team mailing list archive

Experimental Python Extension

 

Disclaimer, this is not in any shape or form an official Python binding
of the ROHC library.... for that please see the following bug report:
https://bugs.launchpad.net/rohc/+bug/804542

I wrote this code early this year for a series of tests and experiments
and wanted to share it in case anyone else can find use in it.  It is an
experimental Python extension written in C that wraps the ROHC library
into a Python object, allowing for packets to be compressed and
decompressed in Python.  It has a slightly simpler API than the normal
ROHC library and leverages Python exceptions to be as verbose as
possible when errors are encountered.  It has been used stably with IPv6
traffic, but as always, there may be undiscovered issues or bugs.

The code can be found at:
https://github.com/jishac/rohc_python

It is being released under the same license as the ROHC library.

Thanks,

-Joseph


Follow ups