SQL Transactions (sort of) for Python (queue up operations and either abort or apply-all.)