Psycopg2 support for the Spans library