Conversion between [num-rational](https://github.com/rust-num/num-rational) and Python's fractions.Fraction.