Python wrappers (using swig) for a subset (RTCM only) of RTKLIB C library.
sudo yum install swig
make all
>>> import pyrtcm
>>> rtcm = pyrtcm.rtcm_t()
>>> pyrtcm.init_rtcm(rtcm)
1
>>> data = open('1004_msg.bin', 'rb').read()
>>> pyrtcm.load_data(data, rtcm)
>>> print(rtcm.msgtype)
RTCM3: type=1004 len=168