Hedge - python module covering functionality of "hedge" structure