Spans is a pure Python implementation of PostgreSQL's range types.