range_set (pypi): Efficient storage for sets of mostly-consecutive integers
Keywords: set