Python interval and interval set implementation
An Interval represents a continuous range of values. An IntervalSet is like the built-in set class, only it can also contain sets of Interval objects.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.