sdr: added python and swig support